
Description
clerk-nuxt-patterns is an agent skill that gives an AI coding assistant reference patterns for adding Clerk authentication to a Nuxt 3 app using the @clerk/nuxt package. It covers protecting routes with middleware and clerkMiddleware, using the useAuth and useUser composables in components, checking authentication in server API routes built with Nitro, and writing SSR-safe auth code that behaves correctly during server rendering and client hydration. The skill keeps each topic in its own reference file, so the assistant reads only the part it needs. The trigger phrases include Nuxt auth, the useAuth composable and clerkMiddleware for Nuxt. For plain Vue 3 projects, the skill points to a separate Clerk Vue skill. It is published by Clerk in its skills repository on GitHub. The listing on skills.sh shows about 13,800 installs and 89 GitHub stars, and the security audits show Gen Agent Trust Hub as Pass, Socket as Pass and Snyk as Pass. Install it with npx skills add https://github.com/clerk/skills --skill clerk-nuxt-patterns.…
Highlights
- Route protection with clerkMiddleware
- useAuth and useUser composables
- Auth checks in Nitro server API routes
- SSR-safe patterns for hydration
- Install with npx skills add
Ratings & Reviews
No ratings yet
Be the first to rate clerk-nuxt-patterns.
People also visit
clerk-nuxt-patterns FAQ
What does this skill do?
It gives an AI assistant patterns for adding Clerk sign-in to a Nuxt 3 app, including middleware, composables and server routes.
Which topics does it cover?
Protecting routes with middleware, auth in Nitro server API routes, useAuth and useUser in components, and SSR-safe auth.
What about Vue apps without Nuxt?
The skill points to a separate Clerk Vue skill for plain Vue 3 projects.
How do I install it?
Run npx skills add https://github.com/clerk/skills --skill clerk-nuxt-patterns.
What do the security audits say?
The skill page lists Gen Agent Trust Hub as Pass, Socket as Pass and Snyk as Pass.
How popular is it?
The listing shows about 13.8K installs and 89 GitHub stars for the Clerk skills repository.
What are the best clerk-nuxt-patterns alternatives?
Popular alternatives to clerk-nuxt-patterns include clerk-vue-patterns, clerk-nextjs-patterns and clerk-tanstack-patterns. See all clerk-nuxt-patterns alternatives







