What problem does it solve? Designing a database schema involves judgment calls that go beyond normalization syntax: when to denormalize, whether to use a junction table or a JSONB column, how to shape multi-tenant schemas, and how to model polymorphic associations. This Skill provides decision frameworks for those trade-offs so schemas maintain data integrity, query performance, and long-term maintainability. ## Core Features & Use Cases - Decision Frameworks: Structured guidance for SQL vs NoSQL selection, denormalization timing, junction-table-vs-JSONB trade-offs, multi-tenancy schema shapes, and polymorphic association strategies. - Syntax Reference: Deep-dive reference covering data types, indexing strategies, constraints, relationship DDL, MongoDB patterns, zero-downtime migrations, and EXPLAIN-based performance analysis. - Checklists and Templates: A pre-design through documentation checklist plus a reversible up/down migration SQL template. - Use Case: When building a multi-tenant SaaS on Postgres, use this Skill to decide on a shared schema with tenant_id columns, learn that indexes must lead with the tenant column, and scope UNIQUE constraints per tenant. ## Quick Start Ask the agent to design a schema for a multi-tenant SaaS application and explain whether tags should use a junction table or a JSONB column.