What problem does it solve? Slow queries, missing indexes, connection exhaustion, and poorly written Row-Level Security policies are the most common causes of Postgres performance issues, and they are hard to diagnose without deep database expertise. ## Core Features & Use Cases - Prioritized Rule Library: 30+ optimization rules organized into 8 categories ranked by impact, from critical query performance and connection management to advanced features like full-text search and JSONB indexing. - Error-First SQL Examples: Each rule shows an incorrect pattern with explanation, then the correct SQL rewrite with quantified impact metrics such as "100x faster queries" or "50% smaller index". - Supabase-Specific Guidance: Covers RLS policy optimization, connection pooling modes, prepared statement handling, and auth.uid() caching patterns specific to Supabase deployments. - Use Case: When writing a migration that adds a foreign key or reviewing a slow dashboard query, consult the relevant rule file to apply the correct index strategy, pagination pattern, or transaction scope. ## Quick Start Review my SQL schema and queries using the supabase-postgres-best-practices skill and suggest optimizations for any slow or unindexed operations.