What problem does it solve? Database work often stalls on schema design decisions, slow queries, risky migrations, and unclear backup strategies. This Skill provides structured guidance for designing schemas, choosing the right database, optimizing queries, and running safe migrations without over-engineering. ## Core Features & Use Cases - Schema Design & Modeling: Step-by-step entity identification, relationship mapping, naming conventions, and pragmatic normalization guidance with SQL examples. - Query Optimization & Indexing: Index type selection (B-tree, GIN, partial, composite), EXPLAIN ANALYZE red flags, N+1 fixes, and cursor pagination patterns. - Migrations, Backups & Operations: Zero-downtime migration checklists, connection pooling rules, backup strategies, and a staged performance-fix ladder from indexes to sharding. - Use Case: A backend developer reports a slow orders endpoint. Use this Skill to run EXPLAIN ANALYZE, identify a missing composite index, and generate a CONCURRENTLY index migration that deploys without locking the table. ## Quick Start Ask the dba skill to design a normalized PostgreSQL schema for your application and review your slowest query for missing indexes.