PostgreSQL Best Practices & Patterns
Optimizes PostgreSQL databases with production-ready patterns for schema design, indexing, and security based on Supabase standards.
The postgres-patterns skill provides Claude with a comprehensive knowledge base for building, optimizing, and maintaining high-performance PostgreSQL databases. It equips Claude to suggest advanced indexing strategies—including GIN, BRIN, and partial indexes—while ensuring data integrity through correct type selection and Row Level Security (RLS). Whether you are designing a multi-tenant schema from scratch, troubleshooting slow queries with pg_stat_statements, or implementing complex queue processing patterns, this skill ensures your database architecture follows modern industry best practices to avoid common pitfalls like table bloat and unindexed foreign keys.