What problem does it solve?
This Skill codifies Supabase and Postgres performance best practices to help teams find and fix slow queries, misconfigured connections, security gaps, and suboptimal schemas. It reduces diagnostic time by translating common anti-patterns into prioritized, actionable SQL fixes and configuration changes for real-world deployments.
Core Features & Use Cases
- Prioritized Rule Set: Eight categories ranked by impact (query performance, connections, RLS, schema, locking, data access, monitoring, advanced features) to focus remediation where it matters most.
- Concrete Transformations: Each reference shows an incorrect pattern and a corrected SQL solution with explanation and expected impact, enabling automated or manual application of fixes.
- Operational Guidance: Includes EXPLAIN analysis tips, connection pooling and timeout settings, RLS performance patterns, indexing strategies, partitioning, and migration-safe constraint patterns.
- Agent & CI Integration: Designed for AI agents and build tooling with validation and build scripts in the broader project, enabling generation of AGENTS.md and automated checks.
Quick Start
Analyze this slow query and return prioritized fixes with concrete SQL examples, index recommendations, and any connection or RLS configuration changes.