From claude-code-community-ireland-claude-code-resources
Implements Clerk authentication patterns for Next.js App Router, including middleware, organizations, webhooks, and user sync. Useful when adding sign-in/sign-up flows.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-code-community-ireland-claude-code-resources:clerk-authThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Complete Clerk setup for Next.js 14/15 App Router.
Complete Clerk setup for Next.js 14/15 App Router.
Includes ClerkProvider, environment variables, and basic sign-in/sign-up components.
Key components:
Protect routes using clerkMiddleware and createRouteMatcher.
Best practices:
Access auth state in Server Components using auth() and currentUser().
Key functions:
| Issue | Severity | Solution |
|---|---|---|
| Issue | critical | See docs |
| Issue | high | See docs |
| Issue | high | See docs |
| Issue | high | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
| Issue | medium | See docs |
npx claudepluginhub claude-code-community-ireland/claude-code-resourcesProvides Clerk auth patterns for Next.js App Router including setup, middleware, route protection, and common anti-patterns.
Provides expert patterns for Clerk auth implementation including middleware, organizations, webhooks, and user sync. Activates when authentication, sign in/up, user management, multi-tenancy, SSO, or OAuth are mentioned.
Provides Clerk SDK patterns for Next.js authentication: server auth checks, client hooks, middleware protection, and user data access.