safe-migrations

Installation
SKILL.md

Safe Migrations

Zero-downtime database schema evolution and data migration discipline.

Applying schema changes in production environments with live web traffic and concurrent workers requires strict backward compatibility. A direct destructive change (dropping a column, renaming a field, changing a type in-place) triggers immediate failures: running application instances crash when querying obsolete columns, or long table locks stall transaction pools.

This skill governs schema changes during /to-tickets and /implement.

The Three Rules of Safe Migrations

1. Destructive DDL is forbidden

Never execute destructive or blocking DDL in a single deployment:

Installs
5
First Seen
Nov 12, 2026