Safe Database Migrations
Executes safe, reversible database schema changes and data migrations while preventing table locks and production downtime.
Safe Database Migrations equips AI coding agents with strict production-grade migration workflows across PostgreSQL, MySQL, and popular ORMs like Prisma, Drizzle, Kysely, Django, TypeORM, and golang-migrate. Before generating any migration code, the skill performs automated codebase graph analysis to evaluate blast radius across downstream repositories and services, halting execution if core hub tables risk breaking changes. It enforces critical zero-downtime deployment practices, such as the expand-contract pattern, concurrent index generation, and the mandatory separation of DDL schema updates from DML data backfills.