What problem does it solve? Writing and reviewing Postgres queries, schemas, and configurations without expert guidance often leads to slow queries, missing indexes, connection exhaustion, and insecure Row-Level Security policies that are hard to diagnose later. ## Core Features & Use Cases - Prioritized Rule Library: 30+ performance rules organized into 8 categories (query performance, connection management, security & RLS, schema design, locking, data access, monitoring, advanced features), ranked from CRITICAL to LOW impact. - Incorrect vs. Correct SQL Examples: Every rule shows the anti-pattern first, then the optimized rewrite, with quantified impact such as "100-1000x faster queries" or "10x smaller index". - Supabase-Specific Guidance: Covers connection pooling modes, RLS policy optimization with auth.uid(), and prepared statement behavior in pooled environments. - Use Case: When asked to review a slow endpoint, consult the query-missing-indexes and data-n-plus-one rules to rewrite sequential scans and looped queries into indexed, batched SQL. ## Quick Start Review my Postgres schema and slow queries using the Supabase Postgres best practices rules and suggest optimized SQL.