The postgres-patterns skill equips Claude with a comprehensive knowledge base of PostgreSQL best practices to streamline database development and maintenance. It offers immediate guidance on selecting optimal index types, choosing correct data types, implementing Row Level Security (RLS) efficiently, and avoiding common anti-patterns like missing foreign key indexes. By integrating these Supabase-inspired patterns, developers can ensure their database schemas are performant, secure, and scalable while leveraging advanced techniques like cursor pagination and efficient queue processing.
주요 기능
01Advanced query patterns for UPSERT, pagination, and queue handling
02Comprehensive index cheat sheet covering B-tree, GIN, and BRIN types
03214,597 GitHub stars
04Data type recommendations to optimize storage and performance
05Optimized Row Level Security (RLS) implementation patterns
06Automated scripts for detecting slow queries and database bloat
사용 사례
01Designing high-performance database schemas for new applications
02Troubleshooting and optimizing slow-running SQL queries
03Implementing secure, fine-grained access control using RLS