This skill equips Claude with a comprehensive set of PostgreSQL patterns for schema design, indexing, and query optimization. It includes quick references for index types like B-tree, GIN, and BRIN, data type recommendations, and advanced techniques such as Row Level Security (RLS), upsert logic, and cursor pagination. Whether you are creating migrations, troubleshooting slow queries, or implementing security policies, this skill ensures your database architecture follows industry-standard performance and security best practices.
主な機能
01Advanced SQL patterns for RLS optimization, UPSERTs, and efficient queue processing
02Data type selection guide to prevent common pitfalls like using float for currency
035 GitHub stars
04Standardized configuration templates for security, monitoring, and connection pooling
05Index cheat sheet for diverse query patterns including JSONB and time-series data
06Anti-pattern detection scripts for missing indexes and table bloat
ユースケース
01Refactoring slow SQL queries and identifying missing database optimizations
02Implementing secure and performant Row Level Security (RLS) for multi-tenant applications
03Designing high-performance database schemas with correct indexing from the start