migration-review
What it does
This skill reviews database migration files for safety before they are merged. It is for developers who change database structure and want a careful check first.
When to use it
- ✓When a change adds or modifies database migration files before it is merged.
- ✓When you want to know whether a migration can be rolled back safely.
- ✓When you want to check a migration for locking or data-volume risks.
Skill link
https://github.com/rohitg00/ai-engineering-from-scratch/blob/main/certifications/claude/lessons/19-claude-code-memory-rules-skills-and-ci/outputs/migration-review-skill/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Review my new migration file and tell me if it is safe to merge.”
5 new skills a week. 1 minute to read.
How it works
The agent checks that only migration files are in scope, reads each file and its assumptions, and reports the forward effect, rollback limits, lock risk, and any blockers. It does not apply the migration.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.
- Run
python3 ${CLAUDE_SKILL_DIR}/scripts/check_scope.py $ARGUMENTS. - Stop if the checker rejects any path outside
migrations/. - Read references/review-checklist.md.
- Inspect each accepted file and its schema assumptions.
- 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. The
allowed-tools entry pre-approves only that command for the invocation turn; it
does not remove other tools or replace project permission rules.
FAQ
Does it apply the migration?
No. The skill reviews the files only and does not authorize running them.
What does the report include?
It lists scope, evidence, risks, rollback, blockers, and a decision, which is blocked when evidence is missing.
Can it review files outside the migrations folder?
No. It stops if a file is outside the migrations folder.
Details
Original description by the author
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.
Popularity
- GitHub stars
- 76k
- Ranking position
- #2628
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
blueprint-figure
76kHelps your agent draw clear, static SVG diagrams for lessons, READMEs, and manuals, showing how real parts of a system connect.
build-project
76kActs as a project tutor that guides you through one stage of a hands-on AI project at a time, with hints and a grader, but not full answers.
check-understanding
76kQuizzes you on a completed phase of the AI Engineering from Scratch course, so you can check what you have learned before moving on.
claude-certification
76kActs as a step-by-step tutor for the Claude certification tracks in the AI Engineering from Scratch course, with lessons, labs, and practice exams.
Similar skills
api-connector-builder
280kHas your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
api-design
280kHelps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.