Postgres Patterns

•
12
•

Optimizes PostgreSQL database design, query performance, and security using industry-standard best practices.

Postgres Patterns is a comprehensive Claude Code skill designed to streamline PostgreSQL database development by providing expert guidance on schema design, query optimization, and security implementation. Drawing from Supabase best practices, it offers quick references for index selection, efficient data types, and advanced SQL patterns like Row-Level Security (RLS) and UPSERT operations. Whether you are troubleshooting slow queries, setting up connection pools, or implementing complex queue processing, this skill provides the templates and anti-pattern detection needed to build scalable and secure database architectures within your AI-assisted workflow.

Características Principales

01Advanced SQL snippets for cursor pagination and queue processing
02Comprehensive index cheat sheet for B-tree, GIN, and BRIN types
03Best practice data type recommendations for performance and accuracy
04Optimized Row-Level Security (RLS) policy templates for multi-tenant apps
0512 GitHub stars
06Anti-pattern detection for unindexed foreign keys and table bloat

Casos de Uso

01Designing high-performance database schemas for new applications
02Implementing secure data access layers using Row-Level Security
03Optimizing slow SQL queries and identifying missing indices