supabase-reset-test-gen-loop
Installation
SKILL.md
Supabase Reset / Test / Gen Loop
Workflow
- Confirm working directory contains the intended
supabase/config andpackage.json. - Run the loop:
supabase db reset && supabase test db && npm run gen-types- Run this as a single sequential shell command joined with
&&. - Do not split these steps across subagents or run them in parallel.
- If the command fails, read the error output, fix the underlying issue, and rerun the same command.
- Continue until the command completes successfully.
- If the same error repeats after fixes, pause and ask the user for guidance.
Notes
- Use
supabase test db(notsupabase db test) for running pgTAP tests. - If the project requires environment setup (e.g.,
supabase start), ensure it is running before the loop. - Subagents are appropriate only for independent analysis/fix work, not for executing this ordered command chain.
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.
13fetch-rules
Fetch and apply Cursor-style workspace rules supporting all rule formats (.cursor/rules/*.md, *.mdc, AGENTS.md, and legacy .cursorrules).
12create-plan
Create a concise plan. Use when a user explicitly asks for a plan related to a coding task.
12summarize-changes
Summarize code changes by author type and scope. Inputs are author and scope with product plus PR as defaults.
12