This Claude Code skill provides comprehensive guidance, patterns, and best practices for integrating Clerk authentication into Nuxt 3 applications. It helps developers safely implement route protection middleware, leverage reactive auto-imported composables like useAuth and useUser, secure Nitro server API routes using event.context.auth, and avoid common SSR hydration pitfalls. Ideal for developers building secure web apps with Nuxt and Clerk, it ensures consistent, production-ready, and organization-aware auth configurations.
主要功能
01Step-by-step setup for @clerk/nuxt module and environment variables
02Organization-aware multi-tenant patterns with Clerk's component suite
03SSR-safe usage configurations for useAuth and useUser composables to avoid hydration mismatches
04Route protection patterns using Clerk's built-in Nuxt middleware
0555 GitHub stars
06Server-side authorization guidelines for Nitro server routes using clerkClient
使用场景
01Authorizing API requests inside Nitro server routes
02Securing frontend pages and dashboard panels in a Nuxt 3 application
03Building multi-tenant SaaS applications with Clerk organization switchers and role-based access