PostgreSQL Patterns

•
27
•

Optimizes PostgreSQL database performance, schema design, and security using production-grade patterns and Supabase best practices.

The postgres-patterns skill provides Claude with a specialized knowledge base for architecting and maintaining high-performance PostgreSQL databases. It offers immediate access to advanced indexing strategies, optimized data types, and secure implementation patterns like Row Level Security (RLS). Whether you are writing migrations, troubleshooting slow queries, or configuring connection pooling, this skill ensures your database layer follows industry-standard best practices for scalability and efficiency.

主要功能

01Comprehensive indexing reference for B-tree, GIN, BRIN, and composite indexes
0227 GitHub stars
03Performance-tuned SQL patterns including cursor pagination and UPSERTs
04Optimized Row Level Security (RLS) policy templates
05Automated anti-pattern detection for unindexed foreign keys and table bloat
06Database configuration templates for connection limits and monitoring

使用场景

01Designing and implementing scalable database schemas and migrations
02Implementing secure multi-tenant data access using RLS and security defaults
03Identifying and fixing performance bottlenecks in slow SQL queries