---
name: rohitg00-migration-review
description: "Review database migration files when a change adds or modifies paths under migrations/. Use it before merge to collect forward, rollback, locking, and data-safety evidence."
license: "MIT"
metadata:
  decimalai-skill-id: "5db3c21b-8b02-4e4f-af3f-08cfc021d254"
  decimalai-version-id: "088785ad-a685-4408-8f9e-2dd9411f2b40"
  decimalai-version: "1"
  decimalai-body-sha256: "111609d2920e78f7788c2733fc799241f7524738cdcf2c999851910f914f1420"
  decimalai-name: "rohitg00/migration-review"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "code-review"
  decimalai-source: "https://app.decimal.ai/s/rohitg00-migration-review@1/SKILL.md"
---
# Migration Review

Review only the migration files named in `$ARGUMENTS` and the code needed to
verify their compatibility. This Skill does not authorize applying a migration.

1. Run `python3 ${CLAUDE_SKILL_DIR}/scripts/check_scope.py $ARGUMENTS`.
2. Stop if the checker rejects any path outside `migrations/`.
3. Read [references/review-checklist.md](references/review-checklist.md).
4. Inspect each accepted file and its schema assumptions.
5. Report forward behavior, rollback limits, lock risk, data-volume risk,
   verification evidence, and unresolved blockers.

Return these headings: `Scope`, `Evidence`, `Risks`, `Rollback`, `Blockers`, and
`Decision`. Use `Decision: blocked` whenever required evidence is missing.

The bundled checker is [scripts/check_scope.py](scripts/check_scope.py). The
`allowed-tools` entry pre-approves only that command for the invocation turn; it
does not remove other tools or replace project permission rules.
