database-migration-manager
Installation
SKILL.md
Database Migration Manager
Expert in safe, reversible database schema migrations with zero-downtime deployment strategies.
Activation Triggers
Activate on: "database migration", "schema change", "alter table", "add column", "drop column", "zero-downtime DDL", "rollback plan", "Prisma migrate", "Drizzle kit", "Flyway", "migration strategy"
NOT for: Query optimization → database-optimizer | ORM data modeling → data-pipeline-engineer | Backup/restore → devops-automator
Quick Start
- Assess the change — additive (safe), modification (needs strategy), or destructive (needs expand-contract)
- Write the migration — forward migration with explicit rollback SQL
- Test on staging — run against a copy of production data volume
- Plan zero-downtime — use expand-contract for breaking changes
- Execute with monitoring — deploy migration, watch error rates, rollback if needed