The PostgreSQL Patterns skill provides a comprehensive reference for building high-performance, secure, and scalable databases. It equips Claude with expert knowledge on advanced indexing (GIN, BRIN, B-tree), Row-Level Security (RLS) optimization, and efficient query patterns like cursor-based pagination and SKIP LOCKED queues. Whether you are troubleshooting slow queries using pg_stat_statements, designing a multi-tenant schema, or setting up connection pool configurations, this skill ensures your database implementation follows production-grade best practices.
主な機能
01Optimized Row-Level Security (RLS) policy implementation
02High-concurrency patterns for UPSERT, queues, and pagination
0327 GitHub stars
04Advanced indexing strategies including composite, partial, and covering indices
05Database anti-pattern detection for missing indices and table bloat
06Performance-tuned configuration templates for connection limits and timeouts
ユースケース
01Refactoring slow SQL queries and optimizing execution plans
02Designing secure and efficient multi-tenant database schemas
03Implementing robust data migration scripts with proper indexing