Use when reviewing production database migrations, performing a migration safety review, planning zero-downtime migration, or deploying database changes safely. Reviews phased rollouts, lock behavior, rollback strategy, strong_migrations, and deployment ordering. Enforces: add nullable-first then backfill then enforce NOT NULL; add indexes with algorithm: :concurrently + disable_ddl_transaction! on large tables; backfill in batches outside migration transaction; check lock behavior for indexes/constraints/defaults/rewrites; use multi-step rollouts for renames/type changes/unique constraints; deploy code tolerating both old and new schemas during transitions. Never combines schema change and data backfill in one migration, never adds NOT NULL before backfill completes, never drops columns before removing all code references.
$npx -y skills add igmarin/rails-agent-skills --skill review-migrationInstalls into the current project.
Run `npx skills use "https://github.com/igmarin/rails-agent-skills" --skill "igmarin/rails-agent-skills/review-migration"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/igmarin/rails-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/igmarin/rails-agent-skills"` and select the relevant skills, then follow their instructions.