|
| 1 | +# Supabase Plugin |
| 2 | + |
| 3 | +The official Supabase plugin for AI coding assistants. One plugin, distributed to all supported platforms simultaneously. |
| 4 | + |
| 5 | +## Supported Platforms |
| 6 | + |
| 7 | +| Platform | Package | Install | |
| 8 | +|---|---|---| |
| 9 | +| [Claude Code](https://claude.ai/code) | [`packages/claude-code`](packages/claude-code) | — | |
| 10 | +| [Cursor](https://cursor.com) | [`packages/cursor`](packages/cursor) | — | |
| 11 | +| [Gemini CLI](https://github.com/google-gemini/gemini-cli) | [`packages/gemini`](packages/gemini) | `gemini extensions install https://github.com/supabase-community/supabase-plugin` | |
| 12 | +| [Codex](https://codex.openai.com) | [`packages/codex`](packages/codex) | — | |
| 13 | + |
| 14 | +## What's Included |
| 15 | + |
| 16 | +Each platform package contains: |
| 17 | + |
| 18 | +- **MCP Server** — Remote connection to the [Supabase MCP server](https://supabase.com/mcp) for project management, SQL execution, migrations, and more |
| 19 | +- **Skills** — Agent skills from [supabase/agent-skills](https://github.com/supabase/agent-skills) including `supabase` and `supabase-postgres-best-practices` |
| 20 | + |
| 21 | +## Development |
| 22 | + |
| 23 | +This repo uses a git submodule for shared agent skills. |
| 24 | + |
| 25 | +After cloning, initialize the submodule: |
| 26 | + |
| 27 | +```bash |
| 28 | +git submodule update --init --recursive |
| 29 | +``` |
| 30 | + |
| 31 | +To update the submodule to the latest agent-skills: |
| 32 | + |
| 33 | +```bash |
| 34 | +git submodule update --remote submodules/agent-skills |
| 35 | +git add submodules/agent-skills |
| 36 | +git commit -m "chore: update agent-skills submodule" |
| 37 | +``` |
| 38 | + |
| 39 | +## Releasing |
| 40 | + |
| 41 | +This repo uses [Release Please](https://github.com/googleapis/release-please) for automated releases. A single release bumps the version in all four platform packages simultaneously. |
| 42 | + |
| 43 | +1. Merge commits with `feat:` or `fix:` prefixes to trigger a release |
| 44 | +2. Release Please opens a release PR with version bump and changelog |
| 45 | +3. Merge the release PR to publish |
| 46 | +4. Four platform archives are uploaded to the GitHub release: |
| 47 | + - `supabase-claude-code-plugin.tar.gz` |
| 48 | + - `supabase-cursor-plugin.tar.gz` |
| 49 | + - `supabase-gemini-extension.tar.gz` |
| 50 | + - `supabase-codex-plugin.tar.gz` |
0 commit comments