supabase-postgres-best-practices▌
sickn33/antigravity-awesome-skills · updated Apr 8, 2026
Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.
Supabase Postgres Best Practices
Comprehensive performance optimization guide for Postgres, maintained by Supabase. Contains rules across 8 categories, prioritized by impact to guide automated query optimization and schema design.
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- |
How to Use
Read individual rule files for detailed explanations and SQL examples:
rules/query-missing-indexes.md
rules/schema-partial-indexes.md
rules/_sections.md
Each rule file contains:
- Brief explanation of why it matters
- Incorrect SQL example with explanation
- Correct SQL example with explanation
- Optional EXPLAIN output or metrics
- Additional context and references
- Supabase-specific notes (when applicable)
Full Compiled Document
For the complete guide with all rules expanded: AGENTS.md
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.5★★★★★51 reviews- ★★★★★Dhruvi Jain· Dec 28, 2024
supabase-postgres-best-practices is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Arjun Srinivasan· Dec 16, 2024
supabase-postgres-best-practices has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Anika Torres· Dec 12, 2024
I recommend supabase-postgres-best-practices for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Chen Gonzalez· Dec 8, 2024
supabase-postgres-best-practices reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Isabella Gill· Dec 4, 2024
supabase-postgres-best-practices fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Arya Reddy· Dec 4, 2024
We added supabase-postgres-best-practices from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Ava Ramirez· Nov 23, 2024
We added supabase-postgres-best-practices from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Harper Sanchez· Nov 23, 2024
supabase-postgres-best-practices fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Oshnikdeep· Nov 19, 2024
Keeps context tight: supabase-postgres-best-practices is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Arya Sethi· Nov 15, 2024
I recommend supabase-postgres-best-practices for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
showing 1-10 of 51