This handles the tricky parts of wiring up Supabase authentication in Next.js App Router projects, specifically the server/client boundary issues that trip people up. It's built around @supabase/ssr and focuses on middleware-based route protection, proper token handling, and OAuth callbacks. The skill pushes you toward Server Actions for auth operations and away from common mistakes like calling getSession in Server Components or manually storing tokens. Useful when you're setting up login flows, protected routes, or just need the auth boilerplate done correctly the first time instead of debugging cookie issues at midnight.
npx skills add https://github.com/davila7/claude-code-templates --skill nextjs-supabase-auth