db-migration-safety
Installation
SKILL.md
Database Migration Safety
Ensure all database schema changes, indexing operations, and data backfills execute safely with zero downtime, zero table locking, and an actionable rollback path.
When to Use
- Writing or reviewing Prisma migrations, SQL DDL files, or database schema modifications.
- Renaming, altering, or dropping existing columns and tables.
- Adding indexes, foreign keys, or unique constraints on populated production tables.
When NOT to Use
- Ephemeral test databases or local throwaway SQLite containers.
- Pure application-level queries without schema modifications.