migration-review-gate

Assess database migrations for safety and deployment readiness.

Updated Apr 26, 2026
One-click install
npx skills add https://github.com/ringlochid/coding-skills --skill migration-review-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migration-review-gate
Source: https://github.com/ringlochid/coding-skills/tree/main/migration-review-gate
Command: npx skills add https://github.com/ringlochid/coding-skills --skill migration-review-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review migrations to determine safety and deployment readiness; identify drift, backfill risk, and rollback viability.

Core Features & Use Cases

  • Compare migration to model/schema intent.
  • Classify destructive ops, lock risk, nullability/backfill risk, and downgrade realism.
  • Check rolling deploy compatibility.
  • Recommend staged or expanded migrations with block-safety.

Quick Start

Compare the migration to the model/schema intent and return a structured safety assessment.

Frequently Asked Questions about migration-review-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if a database schema migration is safe to deploy?

A database migration safety review evaluates schema changes by classifying destructive operations, lock risks, and nullability constraints. It checks for backfill risks, downgrade realism, and rolling deploy compatibility to ensure migration safety before deployment.

What is a destructive database migration and how is it evaluated?

A destructive database migration involves operations that permanently remove or alter schema elements and data. Evaluation classifies these operations, assesses nullability and backfill risks, and checks downgrade realism to recommend staged or expanded migration steps.

How do I assess rollback viability for schema changes?

Assess rollback viability by checking downgrade realism and rolling deploy compatibility during the migration review. This process identifies whether schema changes can be safely reversed and recommends staged or expanded migrations to maintain deployment safety.

Does this migration review process handle backfill risks?

Yes, the migration review handles backfill risks by comparing migration scripts against schema intent and evaluating nullability constraints. It identifies potential data inconsistencies and recommends block-safety measures for staged or expanded deployments.

When do I need a migration safety review for rolling deployments?

A migration safety review is needed for rolling deployments when schema changes involve destructive operations, lock risks, or nullability changes. The review verifies rolling deploy compatibility and recommends staged or expanded migrations with block-safety.

What are the limitations of automated migration safety checks?

The limitations of automated migration safety checks include reliance on schema model comparison and inability to predict runtime application errors. Checks evaluate destructive ops, lock risks, and downgrade realism, but cannot account for data-dependent edge cases.