skills/dolesshq/self-obsolescence/supabase-reset-test-gen-types

supabase-reset-test-gen-types

SKILL.md

Supabase Reset/Test/Gen Types

Workflow

  1. Confirm the working directory is the intended project root:
    • It contains supabase/ configuration.
    • It contains a type-generation script (for example npm run gen-types).
  2. Execute the one-shot command:
supabase db reset --yes && supabase test db && npm run gen-types
  1. If the command succeeds, summarize:
    • database reset succeeded
    • database tests passed
    • types were generated
  2. If any step fails, stop and report the failing command output clearly.

Notes

  • Use --yes to avoid prompts during supabase db reset.
  • Use supabase test db (not supabase db test) for pgTAP tests.
  • If local services are not running, start required Supabase services before retrying.
Weekly Installs
12
First Seen
Feb 8, 2026
Installed on
opencode12
github-copilot12
codex12
kimi-cli12
gemini-cli12
amp12