← ClaudeAtlas

supabase-bootstraplisted

Stands up a Supabase project for an AiGNITE mobile app, generates a schema with RLS on by default, verifies table count, produces an API contract document, and writes keys to .env.local in one command. Use this skill whenever the user mentions adding a database, Supabase setup, auth setup, setting up Postgres, adding user accounts, wiring up Supabase, or backing a mobile app with a database, even if they do not name the skill by name.
nuwansamaranayake/AiGNITEClaudeAssets · ★ 0 · API & Backend · score 72
Install: claude install-skill nuwansamaranayake/AiGNITEClaudeAssets
# supabase-bootstrap ## Purpose Take an AiGNITE mobile project from "no backend" to "schema applied, RLS active, contract documented, table count verified" in one run. ## When to trigger Trigger on these user phrases. Match loosely. - "add a database" - "Supabase setup" - "auth setup" - "database for my app" - "set up Postgres" - "add user accounts" - "wire up Supabase" - "stand up the backend" ## Inputs to collect 1. Project name (defaults to the current folder name) 2. Hostinger VPS region nearest users (us-east, us-west, mumbai, frankfurt) 3. Table list with columns (the skill asks for these, or reads them from MVP_SPEC.md if present) 4. Authentication mode (email-password, magic-link, oauth) 5. Optional: 1Password vault name to store keys ## Behavior The skill runs nine steps in order. Each step must pass before the next runs. ### Step 1: Pre-flight - Confirm `supabase` CLI installed. If missing, abort with install instructions. - Confirm project root has `CLAUDE.md` and `.env.local.example`. If missing, suggest running `mobile-app-scaffold` first. ### Step 2: Initialize the project ``` supabase init supabase link --project-ref <ref> ``` If no project exists yet, `supabase projects create <name> --region <region>` runs first. ### Step 3: Generate the schema Read the table list. Render `supabase/migrations/0001_init.sql` from the schema template. Every table gets: - A UUID primary key - A `created_at timestamptz default now()` - A `user_id uuid references