Skip to content
Skillpedia
APIs & servers (backend)76k · #2628

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.md

Copy 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

Use this skill to help me: 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.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

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.

  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.
  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. 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.

repo: rohitg00/ai-engineering-from-scratch

Popularity

GitHub stars
76k
Ranking position
#2628
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills