auth-patterns
This skill should be used when the user asks about "authentication in Next.js", "NextAuth", "Auth.js", "middleware auth", "protected routes", "session management", "JWT", "login flow", or needs guidance on implementing authentication and authorization in Next.js applications.
Content Preview
--- name: auth-patterns description: This skill should be used when the user asks about "authentication in Next.js", "NextAuth", "Auth.js", "middleware auth", "protected routes", "session management", "JWT", "login flow", or needs guidance on implementing authentication and authorization in Next.js applications. version: 1.0.0 --- # Authentication Patterns in Next.js ## Overview Next.js supports multiple authentication strategies. This skill covers common patterns including NextAuth.js (Auth.
How to Use
Recommended: Install to project (local)
mkdir -p .claude/skills
curl -o .claude/skills/auth-patterns.md \
https://raw.githubusercontent.com/davepoon/buildwithclaude/main/plugins/nextjs-expert/skills/auth-patterns/SKILL.mdSkill is scoped to this project only. Add .claude/skills/ to your .gitignoreif you don't want to commit it.
Alternative: Clone full repo
git clone https://github.com/davepoon/buildwithclaudeThen reference at plugins/nextjs-expert/skills/auth-patterns/SKILL.md
Related Skills
x-api
X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.
x-apiapiauth
by affaan-m · everything-claude-code
clerk-auth
Expert patterns for Clerk auth implementation, middleware, organizations, webhooks, and user sync Use when: adding authentication, clerk auth, user authentication, sign in, sign up.
securityclerkauth
by sickn33 (Antigravity) · antigravity-awesome-skills
nextjs-supabase-auth
Expert integration of Supabase Auth with Next.js App Router Use when: supabase auth next, authentication next.js, login supabase, auth middleware, protected route.
securitynextjssupabaseauth
by sickn33 (Antigravity) · antigravity-awesome-skills
security-hardening
Application security covering input validation, auth, headers, secrets management, and dependency auditing
security-hardeningsecurityhardeningauth
by rohitg00 · awesome-claude-toolkit