PostgreSQL Patterns
Optimizes PostgreSQL database performance and security through proven design patterns and indexing strategies.
The PostgreSQL Patterns skill provides a comprehensive set of best practices for database architecture, schema design, and query optimization within the Claude Code environment. Based on Supabase's expert recommendations, it guides developers in implementing efficient indexing (B-tree, GIN, BRIN), choosing correct data types, and setting up Row Level Security (RLS) to ensure scalable and secure database operations. It serves as an essential reference for troubleshooting slow queries, managing connection pooling, and avoiding common database anti-patterns during development and maintenance.
Características Principales
01Optimized Row Level Security (RLS) policy implementation for data protection
02Performance-tuned configuration templates for connection limits and timeouts
03Advanced indexing strategies for B-tree, GIN, and BRIN query patterns
04Standardized data type recommendations for precision and performance
05156,032 GitHub stars
06Automated anti-pattern detection for unindexed foreign keys and table bloat
Casos de Uso
01Implementing granular security policies using Row Level Security
02Troubleshooting and fixing slow-running SQL queries in production
03Designing a scalable and performant schema for a new application