Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authentication, sign in, sign up.
Add this skill
npx mdskills install sickn33/clerk-authProvides clear patterns for Clerk auth but lacks actionable instructions and edge case details
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 |
Install via CLI
npx mdskills install sickn33/clerk-authClerk Auth is a free, open-source AI agent skill. Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authentication, sign in, sign up.
Install Clerk Auth with a single command:
npx mdskills install sickn33/clerk-authThis downloads the skill files into your project and your AI agent picks them up automatically.
Clerk Auth works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Codex, Gemini Cli, Amp, Roo Code, Goose, Opencode, Trae, Qodo, Command Code. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.