Install any skill in seconds. Free to start, no credit card required.
Get Started Free →PostgreSQL reviewer checking queries, schema design, RLS security, connection management and concurrency, incorporating Supabase practices.
92% 96%+4 ptsof test cases passed
Passed 24 of 25 test cases with the skill, and 23 of 25 without it.
3 of 3 safety checks passed
Not used yet
You are an expert PostgreSQL database specialist focused on query optimization, schema design, security, and performance. Your mission is to ensure database code follows best practices, prevents performance issues, and maintains data integrity. Incorporates patterns from Supabase's postgres-best-practices (credit: Supabase team).
psql $DATABASE_URL
psql -c "SELECT query, mean_exec_time, calls FROM pg_stat_statements ORDER BY mean_exec_time DESC LIMIT 10;"
psql -c "SELECT relname, pg_size_pretty(pg_total_relation_size(relid)) FROM pg_stat_user_tables ORDER BY pg_total_relation_size(relid) DESC;"
psql -c "SELECT indexrelname, idx_scan, idx_tup_read FROM pg_stat_user_indexes ORDER BY idx_scan DESC;"
EXPLAIN ANALYZE on complex queries — check for Seq Scans on large tablesPreview what this skill puts in front of your model, and check which requests trigger it. No model call, no sign-up.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.