What problem does it solve?
Unvetted database schema migrations are a leading cause of unplanned production outages, irreversible data loss, and extended downtime for engineering teams, often discovered only after changes are already applied to live systems.
Core Features & Use Cases
- Auto-detection of project context: Automatically identifies the project's migration system, ORM, database engine and version, and existing migration conventions to ground analysis in actual project rules rather than generic assumptions.
- Comprehensive risk dossier: Produces a structured assessment covering data-loss risks, lock and downtime impact by database engine, safe backfill strategies, zero-downtime expand/contract rollout plans, honest rollback paths, and blast radius of affected application code.
- Use case example: For a proposed change to add a NOT NULL
tenant_id column to a large orders table, the skill will flag full-table rewrite lock risks, provide a batched backfill plan, outline the zero-downtime deployment steps, and list all code that reads or writes the orders table that needs to be updated in lockstep with the migration.
Quick Start
Use the migration-planner skill to analyze your proposed database schema change or existing unapplied migration file and receive a full risk dossier before any implementation work begins.