PostgreSQL Patterns
Provides optimized PostgreSQL database patterns for schema design, query performance, and robust security implementation.
This skill equips Claude with a comprehensive reference for PostgreSQL best practices, focusing on performance, scalability, and security. It offers a deep dive into advanced indexing strategies (B-tree, GIN, BRIN), precise data type selection, and Row Level Security (RLS) implementation based on Supabase standards. Whether you are designing a new schema, troubleshooting slow queries using anti-pattern detection scripts, or setting up complex features like cursor pagination and job queues, this skill ensures your database layer is production-ready and optimized for high-traffic environments.
Características Principales
01Advanced Indexing Guide (B-tree, GIN, BRIN, Composite, Partial)
02Scalable Patterns for UPSERTs, Pagination, and Queues
03Optimized Row Level Security (RLS) Policy Templates
045 GitHub stars
05Data Type Optimization and Anti-pattern Detection
06Performance Monitoring and Configuration Presets
Casos de Uso
01Designing high-performance database schemas and migrations
02Implementing secure multi-tenant architectures with RLS
03Troubleshooting and optimizing slow SQL queries