askill
supabase-reset-test-gen-loop

supabase-reset-test-gen-loopSafety 70Repository

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.

0 stars
1.2k downloads
Updated 2/24/2026

Package Files

Loading files...
SKILL.md

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
  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.

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

52/100Analyzed 2/20/2026

A functional but minimal skill that provides a clear loop workflow for Supabase reset/test/gen cycles. Well-structured with tags and clear usage trigger. Main weaknesses: highly project-specific (hardcoded commands, assumed project structure), vague on how to actually fix issues when failures occur, and missing common error handling guidance. Could benefit from troubleshooting examples and more generic command placeholders for reusability.

70
65
35
45
55

Metadata

Licenseunknown
Version-
Updated2/24/2026
PublisherdolessHQ

Tags

github-actionstesting