migration-review

migration-review is a skill for Claude Code from rohitg00/ai-engineering-from-scratch. It costs 35 tokens per session (276 once invoked), scanned A, original, MIT.

A review workflow for database migration files, which change the structure or data rules of a database. It checks only approved files under migrations/ and reports how they apply, roll back, lock tables, and affect existing data.

In plain words
What is it for?
Use it to review migration scope, schema assumptions, forward behavior, rollback options, locking risk, data-volume risk, and remaining blockers.
Why use it?
It exposes migration risks before a merge without applying the migration. It also makes missing evidence and rollback limitations explicit.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review migration scope, schema assumptions, forward behavior, rollback options, locking risk, data-volume risk, and remaining blockers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rohitg00/ai-engineering-from-scratch/migration-review-skill
About the project

AI Engineering from Scratch is a free, open-source curriculum that teaches people to build AI systems through lessons and reusable artifacts such as prompts, skills, agents, and MCP servers. It is for learners who want practical foundations or want to create AI applications, and the catalogue skills support parts of that curriculum.

rohitg00/ai-engineering-from-scratch · 53,293 stars · on GitHub · aiengineeringfromscratch.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rohitg00/ai-engineering-from-scratch --skill migration-review-skill
Clone the repo
git clone --depth 1 https://github.com/rohitg00/ai-engineering-from-scratch

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for migration-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill/github.svg)](https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill)
Your own site
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migration-review

Your own site · 80×15
<a href="https://agentmods.dev/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill"><img src="https://agentmods.dev/badge/skills/rohitg00/ai-engineering-from-scratch/migration-review-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.00276
Opus 5 $0.00017 $0.00138
Sonnet 5 $0.00007 $0.00055
Haiku 4.5 $0.00003 $0.00028

Measured 10d ago against content hash 5e5e0cb4bcd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

migration-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_scope.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

certifications/claude/lessons/19-claude-code-memory-rules-skills-and-ci/outputs/migration-review-skill/SKILL.md · 25 lines

What it actually says

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.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 25 lines · 35 tokens per session scan A 5e5e0cb4bcd5

Subscribe to this mod's changes

migration-review is a skill published in the GitHub repository rohitg00/ai-engineering-from-scratch (53,293 stars, last pushed 2d ago), licensed MIT. It adds 35 tokens to every session and 276 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

migration-review

A review workflow for database migration files, which change the structure or data rules of a database. It checks the requested migration files and the code needed to assess their compatibility.

fancyboi999/ai-engineering-from-scratch-zh · 48 tokens

database-migration-service-expertise

AWS Database Migration Service (DMS) operational review and troubleshooting skill. Conducts best practices validation, health assessments, performance diagnostics, cost optimization reviews, and migration cutover guidance. Triggers on requests like "DMS review", "DMS health check", "DMS troubleshooting", "migration…

aws/tools-for-devops-agent · 99 tokens

db-migration-review

Review and clean up auto-generated database migration files after running make migrate-create. Identifies and removes unrelated Atlas schema drift such as dropped partial indexes, no-op index recreations, and other operations not related to the intended migration. Use when creating database migrations, running make…

codeready-toolchain/tarsy · 68 tokens

postgresql-expert-best-practices-code-review

PostgreSQL database design, migration, and performance optimization best practices. This skill should be used when writing, reviewing, or refactoring database schemas, migrations, or query patterns. Triggers on tasks involving PostgreSQL databases, schema design, migration optimization, or data modeling.

wispbit-ai/skills · 66 tokens

sqlalchemy-alembic-expert-best-practices-code-review

SQLAlchemy ORM and Alembic migration best practices for building safe, performant database schemas. This skill should be used when writing, reviewing, or refactoring SQLAlchemy models, Alembic migrations, or database query patterns. Triggers on tasks involving SQLAlchemy ORM, Alembic migrations, database schema…

wispbit-ai/skills · 81 tokens

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens