supabase-reset-test-gen-loop

Iteratively run a local Supabase reset, database tests, and type generation until they succeed, fixing issues between runs. Use when asked to reset the local Supabase DB, run `supabase test db`, and regenerate types (`npm run gen-types`) in a loop.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "supabase-reset-test-gen-loop" with this command: npx skills add dolesshq/self-obsolescence/dolesshq-self-obsolescence-supabase-reset-test-gen-loop

Supabase Reset / Test / Gen Loop

Workflow

  1. Confirm working directory contains the intended supabase/ config and package.json.
  2. 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.
  3. If the command fails, read the error output, fix the underlying issue, and rerun the same command.
  4. Continue until the command completes successfully.
  5. If the same error repeats after fixes, pause and ask the user for guidance.

Notes

  • Use supabase test db (not supabase 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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

review-plan-implementation

No summary provided by upstream source.

Repository SourceNeeds Review
General

lint-build-loop

No summary provided by upstream source.

Repository SourceNeeds Review
General

execute-plan

No summary provided by upstream source.

Repository SourceNeeds Review
General

supabase-reset-test-gen-types

No summary provided by upstream source.

Repository SourceNeeds Review