feat: add supabase-cli skill with full CLI command reference #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New
supabase-cliskill covering 121 commands across 9 categories (general, database, migrations, edge functions, project management, secrets/storage, auth/SSO, network/domain, and inspect/diagnostics). Instead of duplicating flag tables that'll go stale, the skill focuses on workflows, decision guidance, and gotchas. Agents can usesupabase <command> --helpfor exact flag syntax.Would love any feedback on this.
What kind of change does this PR introduce?
New feature — adds a
supabase-cliskill.What is the current behavior?
There's no Supabase CLI skill. Agents don't have a structured reference for CLI workflows, decision-making, or common pitfalls.
What is the new behavior?
Adds a
supabase-cliskill with 4 reference files:workflows-common.md— Multi-step workflows for local dev setup, schema changes, migration lifecycle, edge functions, type generation, branching, and CI/CDdecision-guide.md— When to use which command (db pullvsdb diff,db pushvsmigration up,migration downvsdb reset, targeting flags, diff engines, custom domains vs vanity subdomains,--experimentalrequirements)gotchas-pitfalls.md— 14 common pitfalls with incorrect/correct examples (db resetdestroys data,stopdoesn't free disk space, storage requires--experimental, auth schemas excluded fromdb pull, etc.)commands-overview.md— Light listing of all 121 commands grouped by categoryThe skill points agents to
supabase <command> --helpfor exact flag syntax, so it shouldn't go stale as the CLI changes.Follows the Agent Skills Open Standard.
Additional context
I originally built this with full flag tables for every command (2,500 lines, 10 reference files). Realized that just duplicated
--helpfor the most part and would drift over time. Rewrote it to focus on what--helpcan't tell you — now 760 lines across 4 files and a bit leaner.