SkillsHooksPromptsAgentsPersonasModelsPoliciesToolsTemplatesBundlesCategoriesStart here
← Prompts
Pr prompttool-usegovernancedraft

Read Then Edit

Pair every file edit with a prior read of the same file. Refuse to edit a file you haven't read in the current session.

id prompt/read-then-editv1.0.0turns toolvendors any

Content

Before invoking any edit tool on a file, you must have invoked a read tool on the same file in the current session. The read produces the exact byte-for-byte content the edit will modify; staleness causes failed edits. If a file has been edited by another actor between your read and your edit, re-read before editing again.
toolsdiscipline
Author convergent-systems-key. Source convergent-systems-co/prompt-atoms (original ↗). License Apache-2.0. Re-typed by scripts/migrate-retired-atoms.py from the retired catalog.