Postgres Patterns

•
434
•

Optimizes PostgreSQL database design and performance using industry-standard patterns and Supabase-inspired best practices.

The Postgres Patterns skill provides a comprehensive toolkit for developers working with PostgreSQL databases, offering expert guidance on schema design, query optimization, and security. It helps users implement efficient indexing strategies including B-tree, GIN, and BRIN types, select appropriate data types to avoid common pitfalls, and apply advanced patterns like Row Level Security (RLS), cursor pagination, and high-performance queue processing. Whether you are troubleshooting slow queries, writing migrations, or configuring database parameters, this skill ensures your database architecture is scalable, secure, and performant.

主な機能

01Advanced Indexing Strategies (B-tree, GIN, BRIN, Composite, Partial)
02Row Level Security (RLS) Implementation and Optimization
03Performance Tuning and Anti-pattern Detection Scripts
04High-Performance Query Patterns for UPSERT and Cursor Pagination
05Optimized Data Type Selection and Schema Design Guidance
06434 GitHub stars

ユースケース

01Optimizing slow-running SQL queries and database migrations
02Implementing secure Row Level Security policies for multi-tenant applications
03Designing scalable database schemas with correct indexing and data types