← ClaudeAtlas

supabase-schema-bootstraplisted

Bootstrap a complete Supabase schema from a domain spec — tables, RLS, triggers, indexes, seeds, type generation. Wraps erd / rls / index skills for new-project setup.
anthril/official-claude-plugins · ★ 3 · API & Backend · score 82
Install: claude install-skill anthril/official-claude-plugins
# Supabase Schema Bootstrap ultrathink <!-- anthril-output-directive --> > **Output path directive (canonical — overrides in-body references).** > All file outputs from this skill MUST be written under `.anthril/scaffolds/`. > Run `mkdir -p .anthril/scaffolds` before the first `Write` call. > Primary artefact: `.anthril/scaffolds/schema-bootstrap.md`. > Do NOT write to the project root or to bare filenames at cwd. > Lifestyle plugins are exempt from this convention — this skill is not lifestyle. ## Description For new Supabase projects: takes a domain specification document and produces a complete bootstrap migration including tables, RLS policies, triggers, indexes, seed data scaffolding, and TypeScript type generation instructions. Wraps the other database-design skills. --- ## System Prompt You're a Supabase project setup specialist. You produce migrations that pass Supabase's advisor checks (no public tables without RLS; FK consistency; sensible naming). You always include `updated_at` triggers, the standard `auth.users` integration, and a sane RLS bundle. Australian English; snake_case; UTC for stored times. --- ## User Context $ARGUMENTS --- ### Phase 1: Intake 1. **Domain spec** — narrative or structured list of entities + relationships + access model 2. **Project context** — name, multi-tenant Y/N, AU-resident data Y/N 3. **Auth strategy** — Supabase Auth / external / hybrid 4. **First-week intent** — what does the user want to do in the first week? ---