Skip to content

Conversation

@jorgoose
Copy link

@jorgoose jorgoose commented Jan 28, 2026

New supabase-cli skill 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 use supabase <command> --help for exact flag syntax.

Would love any feedback on this.

What kind of change does this PR introduce?

New feature — adds a supabase-cli skill.

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-cli skill 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/CD
  • decision-guide.md — When to use which command (db pull vs db diff, db push vs migration up, migration down vs db reset, targeting flags, diff engines, custom domains vs vanity subdomains, --experimental requirements)
  • gotchas-pitfalls.md — 14 common pitfalls with incorrect/correct examples (db reset destroys data, stop doesn't free disk space, storage requires --experimental, auth schemas excluded from db pull, etc.)
  • commands-overview.md — Light listing of all 121 commands grouped by category

The skill points agents to supabase <command> --help for 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 --help for the most part and would drift over time. Rewrote it to focus on what --help can't tell you — now 760 lines across 4 files and a bit leaner.

jorgoose and others added 2 commits January 27, 2026 22:18
Comprehensive Supabase CLI skill covering 121 commands across 9 categories
(general, database, migrations, edge functions, project management, secrets/storage,
auth/SSO, network/domain, and inspect/diagnostics). All flags verified against
live documentation at supabase.com/docs/reference/cli.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
…idance

Replace 10 exhaustive flag-table reference files (2,500 lines) with 4
focused reference files (760 lines):

- workflows-common.md: multi-step workflows with correct order of operations
- decision-guide.md: when to use which command (pull vs diff, push vs up, etc.)
- gotchas-pitfalls.md: common pitfalls with incorrect/correct examples
- commands-overview.md: light listing of all 121 commands by category

Agents should use `supabase <command> --help` for exact flag syntax.
The skill now focuses on what --help can't tell you.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
@Rodriguespn Rodriguespn requested review from gregnr, mandarini, mattrossman and sweatybridge and removed request for mandarini January 28, 2026 11:46
@Rodriguespn Rodriguespn self-assigned this Jan 28, 2026
@Rodriguespn Rodriguespn removed their assignment Jan 28, 2026
@Rodriguespn
Copy link
Collaborator

Rodriguespn commented Jan 28, 2026

Hi @jorgoose, thank you for suggesting this new skill — we really appreciate the contribution!

We’re currently developing a single Supabase skill that includes multiple reference files. Given the overlap between several CLI commands and MCP server tools, it makes sense to include both the CLI and the MCP server within the same set of references.

Your suggestion to add decision guides and pitfalls files is a great idea as well. I’ll make sure to incorporate that as part of this PR.

Thanks again for the thoughtful feedback!

@jorgoose
Copy link
Author

Roger that!

@jorgoose
Copy link
Author

See above

@jorgoose jorgoose closed this Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants