What problem does it solve?
This Skill manages the complex lifecycle of database schema migrations, ensuring that destructive or risky operations are identified, gated, and handled with appropriate safety warnings before execution.
Core Features & Use Cases
- Migration Safety Gates: Automatically classifies schema changes as safe, review-required, or destructive, preventing accidental data loss.
- SQL Emission & Sectioning: Generates structured migration SQL with clear banners for destructive operations and commented-out sections for manual review.
- Use Case: When refactoring a production database schema, use this Skill to generate a migration script that separates safe additive changes from destructive drops, ensuring you can review and opt-in to risky operations before they reach the console.
Quick Start
Use the dora-migration-safety skill to analyze the current schema diff and generate a safe, sectioned migration script for the active database connection.