wire-auth

Installation
SKILL.md

Set up auth end-to-end — provider, database sync, row-level security, frontend hooks, and session management. RLS and race conditions are in here, not left as an exercise.

Phase 1: Detect the Stack

Before writing anything, figure out what exists.

1.1 Auth Provider

Check for existing auth:

  • @clerk/nextjs in package.json → Clerk
  • next-auth in package.json → NextAuth.js
  • @supabase/auth-helpers-nextjs or @supabase/ssr → Supabase Auth
  • firebase/auth → Firebase Auth
  • None → ask the user which to set up

1.2 Database

  • @supabase/supabase-js → Supabase (Postgres)
  • @prisma/client → Prisma (check schema.prisma for provider)
  • drizzle-orm → Drizzle
  • mongoose → MongoDB
Related skills

More from tushaarmehtaa/tushar-skills

Installs
5
GitHub Stars
4
First Seen
Mar 8, 2026