Edit a file and immediately read it back to verify the changes were applied correctly.
Edit and Verify
This skill performs a common verification pattern: after editing a file, it reads the file back to confirm the changes were successfully applied.
When to use this skill
After making edits to a file, you want to verify the changes took effect
You need to see the final state of a file immediately after modification
You're debugging file write operations or ensuring edits were persisted correctly
Steps
Edit the file - Make the desired changes to the target file using the Edit tool
Read the file - Immediately read the file back using the Read tool to verify the edit was successful
Tips
This pattern is useful when you're unsure if an edit succeeded or want to confirm the exact final state
The read operation lets you see syntax highlighting and formatting as it now exists in the file
If the read shows unexpected content, the edit may have failed or the path may be incorrect
Combine this with other skills when you need to make multiple sequential edits with verification between each one
1---2name: edit-and-verify3description: edit-and-verify4---5# edit-and-verify67Edit a file and immediately read it back to verify the changes were applied correctly.89# Edit and Verify1011This skill performs a common verification pattern: after editing a file, it reads the file back to confirm the changes were successfully applied.1213## When to use this skill1415- After making edits to a file, you want to verify the changes took effect16- You need to see the final state of a file immediately after modification17- You're debugging file write operations or ensuring edits were persisted correctly1819## Steps20211. **Edit the file** - Make the desired changes to the target file using the Edit tool222. **Read the file** - Immediately read the file back using the Read tool to verify the edit was successful2324## Tips2526- This pattern is useful when you're unsure if an edit succeeded or want to confirm the exact final state27- The read operation lets you see syntax highlighting and formatting as it now exists in the file28- If the read shows unexpected content, the edit may have failed or the path may be incorrect29- Combine this with other skills when you need to make multiple sequential edits with verification between each one
Run npx skillmds@latest add claudiawong522/edit-and-verify 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.
edit-and-verify 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.