The Postgres Patterns skill equips Claude with specialized knowledge for architecting, querying, and maintaining PostgreSQL databases. It focuses on high-performance indexing strategies, efficient data types, and security implementations like Row Level Security (RLS). Whether you are designing a new schema, troubleshooting slow queries using pg_stat_statements, or implementing complex patterns like cursor pagination and queue processing, this skill provides the specific SQL patterns and configuration templates needed to build production-grade database systems. It is particularly useful for developers using modern backend stacks and those following Supabase's architectural guidelines.
主な機能
01Performance-tuned SQL patterns for UPSERT, pagination, and queue management
02Comprehensive indexing guide covering B-tree, GIN, BRIN, and covering indexes
03Automated anti-pattern detection for unindexed foreign keys and table bloat
04Security-first Row Level Security (RLS) policy templates
05Optimized database configuration templates for connection pooling and memory management
06323 GitHub stars
ユースケース
01Implementing secure multi-tenant data access using PostgreSQL Row Level Security
02Refactoring legacy SQL queries to improve execution time and reduce resource consumption
03Designing a scalable and performant database schema for a new web application