About
This skill provides a comprehensive framework for designing robust PostgreSQL databases, moving beyond basic SQL to implement advanced architectural patterns. It guides developers through optimal data type selection, sophisticated indexing strategies (including GIN, GiST, and BRIN), and performance-driven partitioning. By enforcing constraints, normalization rules, and security features like Row-Level Security (RLS), the skill ensures that database structures are not only performant under heavy workloads but also resilient against common 'gotchas' like unindexed foreign keys and silent data truncation.