supabase-reset-test-gen-types
Installation
SKILL.md
Supabase Reset/Test/Gen Types
Workflow
- 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).
- It contains
- Execute the one-shot command:
supabase db reset --yes && supabase test db && npm run gen-types
- If the command succeeds, summarize:
- database reset succeeded
- database tests passed
- types were generated
- If any step fails, stop and report the failing command output clearly.
Notes
- Use
--yesto avoid prompts duringsupabase db reset. - Use
supabase test db(notsupabase db test) for pgTAP tests. - If local services are not running, start required Supabase services before retrying.
Related skills
More from dolesshq/self-obsolescence
lint-build-loop
Run `npm run lint && npm run build` in a loop, fixing errors until both succeed. Use when the user asks to iterate on lint/build failures.
14review-plan-implementation
Review an implemented .plan.md by executing the instructions in its ## Reviewer Handoff section.
14execute-plan
Execute an existing plan file. Use when a user asks to carry out a .plan.md task list.
13bug-report-root-cause
Produce per-item root cause analysis from bug report input. Inputs source and target where source is pasted file or linear issue and target is env scope.
5test-folder
testing if having a skill folder matters for installation
2test-no-folder
testing if having a skill folder matters for installation
2