What problem does it solve? Writing database migrations by hand is error-prone: missing rollback logic, unsafe NOT NULL columns, and framework-specific syntax differences can cause failed deployments or data loss. This Skill generates complete, reversible migrations with built-in safety checks. ## Core Features & Use Cases - Framework Detection: Automatically detects Knex, Prisma, TypeORM, or Drizzle from project files and applies the correct migration conventions. - Up/Down Generation: Creates both the schema change (up) and its rollback (down), with warnings for destructive operations like DROP COLUMN. - Safety Validation: Flags common hazards such as NOT NULL columns without defaults, UNIQUE constraints on duplicate data, and large-table alterations. - Use Case: Ask to add an email verification column to the users table, and receive a timestamped Knex migration file with rollback logic, safety warnings, and the exact commands to run and revert it. ## Quick Start Ask the assistant to create a migration that adds a new column or table to your database schema.