Provides optimized PostgreSQL patterns for query performance, schema design, and database security within Claude Code.
The postgres-patterns skill equips Claude with specialized knowledge for architecting and maintaining high-performance PostgreSQL databases. It offers a quick reference for optimal index types, data type selection, and advanced SQL patterns like Row Level Security (RLS), cursor-based pagination, and queue processing with SKIP LOCKED. By integrating Supabase best practices, it helps developers detect anti-patterns such as unindexed foreign keys or table bloat, ensuring database migrations and queries are production-ready and scalable.
主要功能
01Automated anti-pattern detection for slow queries and table bloat
02Data type best practices for IDs, strings, and timestamps
03Advanced SQL snippets for UPSERT and Cursor Pagination