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/nextjsin package.json → Clerknext-authin package.json → NextAuth.js@supabase/auth-helpers-nextjsor@supabase/ssr→ Supabase Authfirebase/auth→ Firebase Auth- None → ask the user which to set up