clerk-nuxt-patterns
clerk nuxt patterns
What it does
- Composables (useAuth, useUser) — client-side reactive, inside <script setup>
- Server routes (clerkClient) — Nitro server routes, event.context.auth
- Middleware (clerkMiddleware) — auto-registered, use auth().protect() to lock routes
- clerk-setup - Initial Clerk install
- clerk-custom-ui - Custom flows & appearance
- clerk-orgs - B2B organizations
Requirements & configuration
- What Do You Need?
- | Env vars not picked up | Wrong prefix | Nuxt requires NUXTPUBLIC for public, NUXT for server |
Configuration: NUXT_PUBLIC_NUXT_
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
clerk-nuxt-patterns FAQ
What does the clerk-nuxt-patterns skill do?
Nuxt 3 auth patterns with @clerk/nuxt - middleware, composables, server API routes, SSR. Triggers on: Nuxt auth, useAuth composable, clerkMiddleware Nuxt, server API Clerk, Nuxt route protection. Composables (useAuth, useUser) — client-side reactive, inside <script setup> Server routes (clerkClient) — Nitro server routes, event.context.auth
What does clerk-nuxt-patterns require?
What Do You Need? | Env vars not picked up | Wrong prefix | Nuxt requires NUXTPUBLIC for public, NUXT for server | Configuration keys: NUXT_PUBLIC_, NUXT_.
How do I install clerk-nuxt-patterns?
Run: npx -y skills add https://github.com/clerk/skills --skill clerk-nuxt-patterns --agent claude-code — the source lives at github.com/clerk/skills.
Maintain clerk-nuxt-patterns?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/clerk-skills-clerk-nuxt-patterns?ref=badge) npx agentictools info skills/clerk-skills-clerk-nuxt-patterns The second line is the CLI lookup for this page — handy in READMEs and docs.