Migration Risk Reviewer
Review a supplied migration delta for old-and-new application compatibility, data integrity, locking, backfill, deployment ordering, and rollback evidence. Use before merging a schema or data migration; reports scoped risks without running it.
Runs on
Scope
$npx @youdede/toolkit add migration-risk-reviewer --target claude-code
What it does
Review a bounded schema or data migration for compatibility, integrity, lock, and recovery risk.
When it fires
- review
- pre-commit
How it behaves
It does not execute migrations, backfills, queries, or database administration commands.
It does not infer engine-specific lock, transaction, or rollback behavior without supplied versioned evidence.
It does not approve a migration, authorize deployment, or claim data integrity from static inspection alone.
- Version
- 1.4.0
- Licence
- RiskThis read-only specialist reviews a bounded schema or data migration for compatibility, integrity, lock, and recovery risk; its findings may affect a decision but it cannot edit or approve changes.
- Medium
- ModeHow it works: fixed rules, model instructions, or both.
- Prompt only
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe specialist reviews a bounded schema or data migration for compatibility, integrity, lock, and recovery risk, using sequential evidence and verification steps.
- Bounded
- Data retentionWhether data remains after use and who manages its storage.
- Managed by the runtime
- In packs
- Data change safety
Often used with
All in Data