Read a file, make edits to it, then verify the changes by reading it again.
Verify Edit
This skill helps you make confident edits to files by following a read-edit-verify pattern.
What it does
Read the original file to understand its current content
Edit the file to make your desired changes
Read the file again to verify the edits were applied correctly
When to use this
When you need to ensure edits were applied exactly as intended
When making critical changes that require verification
When working with files where correctness is important
When you want to catch any issues immediately after editing
Steps
Specify the file path you want to work with
Claude will read the file and show you the content
Provide the edits or modifications you want to make
Claude will apply the edits
Claude will read the file again to confirm the changes match your expectations
Tips
Be specific about what you want changed so edits are precise
Review the final read output carefully to ensure all changes are correct
This pattern is especially useful for code files, configuration files, and documents where accuracy matters
If the verification shows unexpected results, you can immediately request additional edits
1---2name: verify-edit3description: verify-edit4---5# verify-edit67Read a file, make edits to it, then verify the changes by reading it again.89# Verify Edit1011This skill helps you make confident edits to files by following a read-edit-verify pattern.1213## What it does141. **Read** the original file to understand its current content152. **Edit** the file to make your desired changes163. **Read** the file again to verify the edits were applied correctly1718## When to use this19- When you need to ensure edits were applied exactly as intended20- When making critical changes that require verification21- When working with files where correctness is important22- When you want to catch any issues immediately after editing2324## Steps251. Specify the file path you want to work with262. Claude will read the file and show you the content273. Provide the edits or modifications you want to make284. Claude will apply the edits295. Claude will read the file again to confirm the changes match your expectations3031## Tips32- Be specific about what you want changed so edits are precise33- Review the final read output carefully to ensure all changes are correct34- This pattern is especially useful for code files, configuration files, and documents where accuracy matters35- If the verification shows unexpected results, you can immediately request additional edits
Run npx skillmds@latest add claudiawong522/verify-edit in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
verify-edit It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
claudiawong522 (@claudiawong522) published this skill. Their other Agent Skills are listed on their SkillMD profile.