This walks you through the most common Next.js authentication patterns, with a heavy focus on NextAuth.js v5 (Auth.js). You get working examples for middleware protection, server and client session handling, role-based access control, and the difference between JWT and database sessions. It covers the practical stuff like protecting routes, building sign-in buttons as server actions, and extending session types for custom user data. The code snippets are complete enough to actually use. If you're setting up auth in a Next.js app and want to see the modern patterns side by side, this is a solid reference that'll save you from hunting through docs.
npx -y skills add davepoon/buildwithclaude --skill auth-patterns --agent claude-codeInstalls into .claude/skills of the current project.
Select a file.
prisma/skills
firebase/agent-skills
Dexploarer/hyper-forge
itsmostafa/aws-agent-skills
prisma/skills