This skill equips Claude with specialized knowledge for PostgreSQL database management, focusing on high-performance schema design and advanced query optimization. Based on industry-leading Supabase best practices, it provides instant access to indexing strategies, Row Level Security (RLS) implementation, and automated anti-pattern detection. Whether you are troubleshooting slow queries, setting up complex migrations, or configuring connection pooling, this skill ensures your database architecture follows production-ready standards and avoids common pitfalls like unindexed foreign keys or inefficient pagination.
主な機能
01High-performance SQL patterns for UPSERT, cursor pagination, and queue processing
02Automated anti-pattern detection for unindexed keys and table bloat
0343,117 GitHub stars
04Comprehensive indexing cheat sheet for B-tree, GIN, BRIN, and Partial indexes
05Performance-optimized Row Level Security (RLS) policy templates
06Best-practice data type recommendations and configuration templates
ユースケース
01Designing scalable database schemas and migration scripts for production applications
02Implementing secure multi-tenant architectures using optimized Row Level Security policies
03Identifying and fixing performance bottlenecks in slow SQL queries via pg_stat_statements