Postgres Patterns & Best Practices
Optimizes PostgreSQL database architecture with production-ready patterns for indexing, schema design, and performance tuning.
Postgres Patterns provides a comprehensive set of PostgreSQL best practices inspired by Supabase standards to help developers build scalable, secure, and performant databases. It offers instant guidance on complex SQL tasks, including efficient indexing strategies (B-tree, GIN, BRIN), Row Level Security (RLS) implementation, data type selection, and advanced query patterns like UPSERT and cursor pagination. This skill is essential for developers looking to eliminate slow queries, prevent data bloat, and ensure their database schema follows industry-standard optimization techniques within the Claude Code environment.
Características Principales
01Data type best practices for IDs, timestamps, and strings
02Advanced Indexing Reference (B-tree, GIN, BRIN, Partial, and Covering indexes)
03Optimized Row Level Security (RLS) policy implementation
045 GitHub stars
05Standardized SQL patterns for UPSERT, pagination, and queue processing
06Performance tuning and anti-pattern detection for slow queries
Casos de Uso
01Designing high-performance database schemas and migrations
02Troubleshooting and optimizing slow SQL queries and unindexed foreign keys
03Implementing secure multi-tenant applications using Row Level Security