Keep it undoable
Make every change one you can take back.
Stop 1, next
Every change saved version control
Think of it when you are about to change code, or an agent is about to edit many files.
StartAbout 3 minutes. The word for it comes at the end.Stop 2, next
A copy elsewhere backups
Think of it when data would be gone for good if someone deleted it today.
StartAbout 3 minutes. The word for it comes at the end.Stop 3, next
Safe to run twice idempotent
Think of it when an action might run twice: a retry, a double click, or a script run again after a crash.
StartAbout 3 minutes. The word for it comes at the end.Stop 4, next
Add, move, then remove expand and contract
Think of it when a field, a table or an API that other code depends on must change its name or shape.
StartAbout 3 minutes. The word for it comes at the end.