Skip to content

feature: development workflows references#39

Merged
Rodriguespn merged 8 commits intofeature/supabase-skillfrom
feature/mcp-agent-references
Feb 16, 2026
Merged

feature: development workflows references#39
Rodriguespn merged 8 commits intofeature/supabase-skillfrom
feature/mcp-agent-references

Conversation

@Rodriguespn
Copy link
Collaborator

@Rodriguespn Rodriguespn commented Feb 9, 2026

Summary

Adds 7 development reference files that define how agents should interact with Supabase instances — which tools to use, correct workflows for local and remote development, and clear boundaries between CLI, psql, MCP, and the SDK. Restructures SKILL.md to load development guidance first.

Development References (7 files)

File Purpose
dev-getting-started.md New project setup, CLI install, Docker prerequisites, first-time init
dev-local-workflow.md Local development cycle: CLI migrations, db reset, psql debugging, type generation
dev-remote-workflow.md Remote project interaction: MCP queries/logs/advisors, CLI for deployment
dev-cli-vs-mcp.md Tool role decision guide — when to use CLI, psql, MCP, or the SDK
dev-cli-reference.md CLI command details, key flags, pitfalls, and decision guides (pull vs diff, push vs up)
dev-mcp-setup.md Supabase remote MCP server configuration, URL parameters, authentication, security rules
dev-mcp-tools.md execute_sql, apply_migration, get_logs, get_advisors — usage, gotchas, and the apply_migration last-resort rule

Tool Role Model

The references establish three distinct tool roles:

  • CLI (npx supabase) — all schema changes, project management, and deployment
  • psql (local) / MCP (remote) — agent database access for debugging and inspection only
  • supabase-js SDK — application database client (all DB interaction in the user's app code)

Schema changes always go through CLI migrations. psql and MCP are never used for DDL or in application code.

SKILL.md Restructuring

  • Development Guidance is now the first section in the body, before the resource tables
  • Points agents to the correct reference file for each decision instead of restating rules inline
  • Development is the first resource section, marked with "(read first)" and a strong directive
  • Every other section (Auth, Database, Edge Functions, etc.) now has a "when to read" intro line
  • description field updated to trigger on development workflow context

@Rodriguespn Rodriguespn self-assigned this Feb 9, 2026
@Rodriguespn Rodriguespn added the new-rule Adding a new rule(s) to a skill label Feb 9, 2026
@Rodriguespn
Copy link
Collaborator Author

@sweatybridge commented on closed PR

just some minor comments. I wonder if we can include supabase test db as one of the skills?

@Rodriguespn Rodriguespn changed the title Feature: mcp + CLI agent references feature: mcp + CLI agent references Feb 10, 2026
@Rodriguespn Rodriguespn force-pushed the feature/supabase-skill branch from 397502e to d097278 Compare February 10, 2026 19:00
@Rodriguespn Rodriguespn force-pushed the feature/mcp-agent-references branch from 3fa27bb to c97bee8 Compare February 12, 2026 16:04
@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (2)
  • !master
  • !main

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/mcp-agent-references

Comment @coderabbitai help to get the list of available commands and usage tips.

@Rodriguespn Rodriguespn force-pushed the feature/mcp-agent-references branch 2 times, most recently from e26e56a to a690112 Compare February 13, 2026 17:17
@Rodriguespn Rodriguespn force-pushed the feature/supabase-skill branch from 5bf5ee3 to 3e05038 Compare February 13, 2026 17:17
@Rodriguespn Rodriguespn force-pushed the feature/mcp-agent-references branch from a690112 to 92568c3 Compare February 16, 2026 09:54
@Rodriguespn Rodriguespn changed the title feature: mcp + CLI agent references feature: development workflows references Feb 16, 2026
@Rodriguespn Rodriguespn force-pushed the feature/supabase-skill branch from 92fcd19 to 6bb9a7c Compare February 16, 2026 15:06
Rodriguespn and others added 8 commits February 16, 2026 15:08
Fix unclosed code block in SKILL.md Supabase Documentation section. Update
dev-mcp-setup.md to remove security rule about restricting MCP features and
add validation-compliant examples. Regenerate AGENTS.md files with new build
system structure (H1 title, Overview section).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Restructures SKILL.md to load development guidance first, updates
dev-cli-reference, dev-cli-vs-mcp, dev-getting-started, dev-local-workflow,
and dev-mcp-tools references with corrected workflows and tool roles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Rodriguespn Rodriguespn force-pushed the feature/mcp-agent-references branch from 92568c3 to e44bc05 Compare February 16, 2026 15:10
@Rodriguespn Rodriguespn merged commit 8e39a3c into feature/supabase-skill Feb 16, 2026
4 checks passed
@Rodriguespn Rodriguespn deleted the feature/mcp-agent-references branch February 16, 2026 15:13
Rodriguespn added a commit that referenced this pull request Feb 20, 2026
* rebase and house keeping

* wip: cli developement guides

* update agents.md

* fix developement workflows

* fix: update SKILL.md, dev-mcp-setup, and rebuild AGENTS.md files

Fix unclosed code block in SKILL.md Supabase Documentation section. Update
dev-mcp-setup.md to remove security rule about restricting MCP features and
add validation-compliant examples. Regenerate AGENTS.md files with new build
system structure (H1 title, Overview section).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: update SKILL.md, development references, and rebuild AGENTS.md

Restructures SKILL.md to load development guidance first, updates
dev-cli-reference, dev-cli-vs-mcp, dev-getting-started, dev-local-workflow,
and dev-mcp-tools references with corrected workflows and tool roles.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* minor changes to mcp setup guide

* update agents.md

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-rule Adding a new rule(s) to a skill

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant