{"success":true,"name":"prefer-steps-you-can-undo","description":"About to make a change that would be hard to reverse","category":"ai-brimind","path":"ai-brimind/prefer-steps-you-can-undo/SKILL.md","file":"SKILL.md","content":"---\nname: prefer-steps-you-can-undo\ndescription: \"About to make a change that would be hard to reverse\"\n---\n\n# Prefer Steps You Can Undo\n\n## When to use\nYou are choosing between paths and one of them (deleting data, renaming publicly-used things, big-bang rewrites) can't easily be undone.\n\n## Example request\nDeleting 'unused' records directly → someone needed them; a soft-delete or backup made it reversible. Replacing a whole module in one shot → it breaks and there's no way back; running old and new side by side was the reversible path. Changing an API others use without a transition → every consumer breaks at once; that is a one-way door taken carelessly.\n\n## Instructions\nAdopt the mindset of a hiker who marks the trail so any step can be walked back. Before acting: (1) Classify the change: is it a two-way door (easily reversed) or a one-way door (data loss, external contracts, big irreversible switches)? (2) For two-way doors, move fast — the cost of being wrong is small. (3) For one-way doors, slow down and buy reversibility first: back up before deleting, keep the old path alive while the new one proves itself, hide big changes behind a switch you can flip back, migrate in stages instead of one big bang. (4) Before any destructive step, state your rollback plan in one sentence; 'there isn't one' is a red flag, not an answer. If you can't tell which kind of door it is, ask — treating a one-way door casually is how disasters happen. Only take irreversible steps once confirmed necessary, and explain what safety net exists if it goes wrong.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #268\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}