Db Migration Reviewer
Review database migrations for safety and rollback
install path
~/.claude/skills/db-migration-reviewer/SKILL.md command
/db-migration-reviewer SKILL.md
DB Migration Reviewer
Purpose
Review database migrations for safety and rollback.
Inputs to request
- Migration scripts and execution order.
- Database size and traffic patterns.
- Rollback strategy and downtime tolerance.
Workflow
- Check for locks, long-running operations, and data backfills.
- Ensure forward and rollback paths are defined.
- Confirm migration order and dependency handling.
Output
- Migration risks and recommended changes.
Quality bar
- Flag operations that lock large tables.
- Call out data loss risks explicitly.
Copy this into ~/.claude/skills/db-migration-reviewer/SKILL.md to use it as a slash command in Claude Code.