What problem does it solve? Designing a PostgreSQL schema involves many database-specific decisions—data types, indexing strategies, constraints, partitioning, and row-level security—where wrong choices lead to performance problems and painful migrations later. ## Core Features & Use Cases - Data Type Selection: Guidance on choosing correct types such as TIMESTAMPTZ over TIMESTAMP, TEXT over VARCHAR, NUMERIC for money, and identity columns over serial. - Indexing & Constraints: Covers B-tree, GIN, GiST, BRIN, partial, covering, and expression indexes plus PK, FK, UNIQUE, CHECK, and EXCLUDE constraints. - Scale Patterns: Partitioning strategies, row-level security, JSONB guidance, and workload-specific designs for insert-heavy, update-heavy, and upsert workloads. - Use Case: When building a new orders table, use this Skill to generate a schema with proper identity primary keys, foreign key indexes, CHECK constraints on status values, and TIMESTAMPTZ defaults. ## Quick Start Ask the AI to design a PostgreSQL schema for your application entities, including indexes and constraints for your expected query patterns.