auth-setup

Installation
SKILL.md

Set up Supabase Auth: $ARGUMENTS

$ARGUMENTS can include:

  • Framework hint: "nextjs" or "vite" (if omitted, auto-detects from package.json)
  • Providers: "email", "google", "github", "magic-link" (default: email + magic-link)
  • "with-roles" to add role-based access control (user/admin/owner)
  • "minimal" for email-only, no OAuth
  • Empty — auto-detects framework and asks about providers

Before Starting

  1. Read package.json to detect framework (Next.js vs Vite)
  2. Read src/lib/env.ts or .env.example to see existing env var patterns
  3. Check if @supabase/ssr is already installed (grep "@supabase" package.json)
  4. Read src/middleware.ts (Next.js) or src/main.tsx (Vite) for existing setup
  5. Read src/lib/supabase/ if it exists — do not overwrite working clients
  6. Check src/lib/database/schema.ts for existing user/profile tables
Installs
2
GitHub Stars
1
First Seen
Jun 4, 2026
auth-setup — joshuashepherd/my-skills