What problem does it solve?
This skill eliminates the risk of production outages caused by schema changes by enforcing a rigorous, versioned, and reversible migration standard that decouples database updates from application deployments.
Core Features & Use Cases
- Zero-Downtime Patterns: Implements expand/contract strategies to ensure database changes never break currently running application versions.
- Safety Guardrails: Enforces sequential file naming, mandatory CI-tested reversibility, and concurrent index creation to prevent production locking.
- Use Case: When adding a required column to a high-traffic table, use this skill to safely perform the migration in two phases—adding the column as nullable, backfilling data via a batch job, and finally applying the constraint—without ever blocking live writes.
Quick Start
Use the go-migration skill to generate a new sequential migration file for adding a column to the users table following the expand-contract pattern.