PostgreSQL Schema Design
Designs and reviews high-performance PostgreSQL schemas with best practices for data types, indexing, constraints, and partitioning.
The PostgreSQL Schema Design skill equips Claude Code with deep, production-grade expertise for architecting robust relational database schemas in PostgreSQL. It guides schema creation and optimization across proper data type selection, index strategies (B-tree, GIN, GiST, BRIN), constraint modeling, partitioning, Row-Level Security, and workload-specific performance tuning for insert-heavy and update-heavy patterns. Whether you are bootstrapping a new application data model or auditing existing tables to eliminate anti-patterns and performance bottlenecks, this skill ensures strict normalization, safe migrations, and optimal PostgreSQL feature utilization.