What problem does it solve?
It helps teams design efficient, consistent database schemas and migration strategies to avoid performance regressions, naming inconsistencies, and risky irreversible changes.
Core Features & Use Cases
- Conventions & Structure: Enforces naming conventions, required id and timestamp columns, and consistent foreign key patterns.
- Indexing & Performance: Recommends indexes including composite and partial indexes, and advises strategies for creating large-table indexes with minimal locking.
- Migrations & Governance: Guides reversible migrations, requires down migrations, and integrates ADR/PR reviewer workflows for structural changes.
- Use Case: When adding a new orders feature, produce the table schema, index plan, migration steps, rollback SQL, and an ADR describing data impact and deploy coordination.
Quick Start
Use the database-design skill to evaluate a proposed schema change, list required indexes and migration steps, and produce an ADR with rollback and validation queries.