SKILL14.3K installs89

Clerk Astro Patterns

Astro patterns with Clerk — middleware, SSR pages, island components, API routes, static vs SSR rendering. Triggers on: astro clerk, clerk astro middleware, astro protected page, clerk island component, astro API route auth, clerk astro SSR.

Type
Skill
Author
clerk
Category
Frontend
GitHub stars
89
Installs
14.3K
Last updated
October 30, 2026

Install

npx skills add https://github.com/clerk/skills --skill clerk-astro-patterns

Use cases


Frequently Asked Questions

Which Astro pieces does it cover?

Middleware, SSR pages, island components, and API routes.

Does it explain rendering tradeoffs?

Yes, it covers the difference between static and SSR rendering with Clerk.

What if my project uses Nuxt?

A separate skill applies for Nuxt projects.


About this skill

Covers Clerk authentication in Astro: middleware, SSR pages, island components, API routes, and the difference between static and SSR rendering. Use it when protecting Astro pages or adding auth to API routes. For Nuxt projects, a separate skill applies.

Summary written with AI assistance from the project's public description.


Categories


More from clerk


Similar Skills