Review Database Migration Plan
Review a proposed database schema or data migration before it is executed by separating deterministic high-confidence SQL hazards from contextual rollout, rollback, lock, and backfill judgment. Use when a migration plan or SQL change needs review.
Runs on
What it does
Review a database migration plan for explicit SQL hazards and an evidenced rollout, rollback, lock, and backfill plan.
When it fires
- planning
- review
- pre-commit
How it behaves
Classify only explicit, high-confidence SQL risk patterns from a bounded local file and emit JSON.
It does not execute SQL, apply a migration, or approve a production change.
It does not infer table size, lock duration, engine behavior, or rollback feasibility from SQL alone.
It does not turn an absent rollback, backup, or owner into an assumed safety control.
Configuration
scripts/classify-sql-risks.mjs
- Version
- 1.3.0
- Requires
- node
- Licence
- RiskThis skill reviews a database migration plan for explicit SQL hazards and an evidenced rollout, rollback, lock, and backfill plan; it does not execute SQL, apply a migration, or approve a production change.
- Medium
- ModeHow it works: fixed rules, model instructions, or both.
- Deterministic and prompt
- Behaviour
- Advises, never blocks
- On failure
- Stops and reports
- LatencyThe skill reviews a database migration plan for explicit SQL hazards and an evidenced rollout, rollback, lock, and backfill plan, 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