CLAUDE.md: Require a Reversibility and Recovery Plan Before Any Migration
A CLAUDE.md directive that blocks the AI from proposing migration code until it has written the rollback first.
The Prompt
Already a member? Sign in.
CLAUDE.md: Require a Rollback Path Before Any Schema Change
Stops Claude from generating database migrations without a tested, explicit rollback strategy attached.
Cursor: Build a Migration Plan Before Touching Schema
Forces Cursor to produce a reversible, staged database migration plan with rollback and dual-write checkpoints before any code change.
CLAUDE.md: Force Claude to Show Its Work Before Editing
A CLAUDE.md block that makes Claude Code state its plan, assumptions, and rollback path before any file change.
CLAUDE.md: Treat Every Commit as a Reversibility Decision
A CLAUDE.md block that makes Claude classify every change by how hard it is to undo before writing the commit.