← Back to the catalog

Skill · Version 1.0.0

Review migration rollout

Checks a proposed migration against existing data, coexisting versions, locking and real rollback feasibility.

migration-rollout-review

See how it helps

When is it useful?

Use before approving a production schema or persisted-format transition.

What does it help you do?

  • Examines existing records and constraints for incompatible assumptions.
  • Checks deployment order while old readers and writers remain active.
  • Assesses long locks, backfill cost and data recovery limits.

Try asking this

Review a required-column migration on a populated table and identify a compatible, recoverable rollout order. Check existing nulls and writes from an older app version. Place the backfill and validation before the required constraint, with a realistic data recovery plan.

Detailed documentation

Read the skill’s original instructions, examples and checks in their authored language.

Details…Show less

Migration & Rollout Review

Use this skill when reviewing changes that include database schema migrations, data transformations, storage format updates, or environment configuration changes.

Workflow

  1. Verify safety against existing production data:
    • Never evaluate a migration only against an empty test database. Check what happens when tables already contain existing rows:
      • Adding a NOT NULL column without a safe DEFAULT or backfill step will fail on non-empty tables.
      • Adding a UNIQUE constraint or narrowing a column type will fail if legacy rows contain duplicates or out-of-range values.
      • Dropping or renaming a column/table while code or views still reference it causes immediate runtime errors.
  2. Check version coexistence and rollout order (Expand & Contract):
    • Verify whether the migration and code change can deploy safely:
      • Does old code break if the migration runs seconds before the new application process starts?
      • Does new code handle legacy rows created before the migration (e.g., nullable fields, older JSON schema versions, missing metadata)?
  3. Audit performance, locking, and rollback safety:
    • Check whether missing indexes on new foreign keys or filter columns will cause full-table scans as data grows.
    • Flag migrations that rewrite or lock large tables synchronously during request handling without batching.
    • Verify whether the change is reversible (or has a documented forward-fix path) if a rollback is required after deployment.
    • Coordinate deep database engine specifics with the database and DevOps specialists.

Included files 1

  • SKILL.md

About this skill package

migration-rollout-review

migration-rollout-review: Review specifications and code against acceptance criteria, business invariants and security boundaries before delivery.

Details…Show less

migration-rollout-review

migration-rollout-review: Review specifications and code against acceptance criteria, business invariants and security boundaries before delivery.

Includes the complete skill and its supporting files (1 files). The exact authored scope is preserved below.

Original skill description (source language)

Use when reviewing database schema migrations, data backfills, configuration changes, and deployment ordering to ensure safe coexistence with existing data and running application versions.

Install the skill, review its source and trust settings, then enable it for the relevant project or agent.

Requirements

  • Orqestria installed on your computer.