Basic information
About supabase-postgres-best-practices
Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.
supabase-postgres-best-practices is an agent skill in the Data & databases category listed in the AddMCP.net directory, published by supabase / agent-skills. Supported transport: Streamable HTTP. Runtime: TypeScript. License: MIT. The repository has 2,943 GitHub stars. Source code is hosted on github.com. Related topics: ai, ai-agents, Data & databases, databases, skills.
Install supabase-postgres-best-practices
npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practices
Overview
How to use supabase-postgres-best-practices?
npx skills add https://github.com/supabase/agent-skills --skill supabase-postgres-best-practicesWhat it does
- Organized into 8 rule categories prioritized by impact: query performance and connection management (critical), security and RLS, schema design, concurrency, data access patterns, monitoring, and advanced features
- Each rule includes detailed explanations, incorrect vs. correct SQL examples, EXPLAIN output analysis, and performance metrics to guide optimization decisions
- Covers query indexing, connection pooling, Row-Level Security configuration, schema design patterns, locking behavior, and Postgres-specific tuning
- Designed for use during SQL writing, schema design, performance reviews, and database scaling decisions
When to Apply
Reference these guidelines when:
- Writing SQL queries or designing schemas
- Implementing indexes or query optimization
- Reviewing database performance issues
- Configuring connection pooling or scaling
- Optimizing for Postgres-specific features
- Working with Row-Level Security (RLS)
Rule Categories by Priority
| Priority | Category | Impact | Prefix | |----------|----------|--------|--------| | 1 | Query Performance | CRITICAL | query- | | 2 | Connection Management | CRITICAL | conn- | | 3 | Security & RLS | CRITICAL | security- | | 4 | Schema Design | HIGH | schema- | | 5 | Concurrency & Locking | MEDIUM-HIGH | lock- | | 6 | Data Access Patterns | MEDIUM | data- | | 7 | Monitoring & Diagnostics | LOW-MEDIUM | monitor- | | 8 | Advanced Features | LOW | advanced- |
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
Videos
Tutorials, guides, and showcases related to supabase-postgres-best-practices. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In