This skill equips Claude with specialized knowledge for architecting and maintaining production-grade PostgreSQL databases. It provides expert guidance on modern data type selection, performance tuning via EXPLAIN ANALYZE, advanced indexing strategies (B-tree, GIN, GiST), and robust security through Row-Level Security (RLS). Whether you are designing a new schema, implementing zero-downtime migrations using the expand-contract pattern, or optimizing complex JSONB and vector search queries, this skill ensures your database layer is scalable, secure, and performant.
主要功能
01Safe, zero-downtime migration patterns and dangerous operation detection.
02Expert schema design with modern data types and constraint enforcement.
03Specialized support for JSONB, pgvector search, and full-text indexing.
045 GitHub stars
05Comprehensive Row-Level Security (RLS) implementation for data isolation.
06Advanced query optimization and performance profiling using EXPLAIN ANALYZE.
使用场景
01Refactoring slow SQL queries and eliminating performance bottlenecks like N+1 patterns.
02Executing complex database migrations without downtime using the expand-contract strategy.
03Designing high-performance relational schemas with optimized indexing and constraints.