Postgres Patterns

•
27
•

Optimizes PostgreSQL database schema design, indexing strategies, and query performance based on industry-proven best practices.

The Postgres Patterns skill provides Claude Code with a comprehensive knowledge base for building and maintaining robust PostgreSQL databases. It equips the agent with expert-level guidance on indexing (B-tree, GIN, BRIN), efficient data typing, and advanced implementation patterns like Row Level Security (RLS) and UPSERT operations. Whether you are troubleshooting slow queries using performance monitoring tools, designing a new schema from scratch, or securing data with fine-grained access policies, this skill ensures your database layer is scalable, secure, and performant by following patterns established by leading database experts.

主な機能

01Standardized configuration templates for connection limits, timeouts, and monitoring
02Comprehensive indexing cheat sheet for B-tree, GIN, BRIN, and composite indexes
03Data type recommendations to prevent common pitfalls in storage and precision
04Optimized SQL patterns for Row Level Security (RLS) and cursor-based pagination
0527 GitHub stars
06Automated detection of anti-patterns such as unindexed foreign keys and table bloat

ユースケース

01Auditing existing database structures for technical debt and anti-patterns
02Optimizing slow-running SQL queries and improving overall database performance
03Designing secure and scalable database schemas for production applications