Make an edit to a file, read it back to verify the changes, then make a follow-up edit based on the verification.
Edit, Read, and Verify Pattern
This workflow is useful when you need to make iterative edits to a file with verification between steps.
When to use this skill
Making corrections to code or text that require validation
Applying a change and then making a dependent follow-up edit
Ensuring edits were applied correctly before proceeding with additional changes
Working through multi-step file modifications where each step depends on the previous one
Steps
Make initial edit - Edit the file with your first set of changes
Read and verify - Read the file back to confirm the changes were applied correctly
Make follow-up edit - Based on what you verified in step 2, make any necessary corrections or additional changes
Tips
This pattern helps catch mistakes early in the editing process
The read step acts as a checkpoint to ensure changes persist as expected
Use descriptive variable names and clear comments to make verification easier
Consider if multiple verification cycles are needed for complex changes
This is more efficient than making multiple isolated edits without checking intermediate results
1---2name: edit-read-verify3description: edit-read-verify4---5# edit-read-verify67Make an edit to a file, read it back to verify the changes, then make a follow-up edit based on the verification.89# Edit, Read, and Verify Pattern1011This workflow is useful when you need to make iterative edits to a file with verification between steps.1213## When to use this skill14- Making corrections to code or text that require validation15- Applying a change and then making a dependent follow-up edit16- Ensuring edits were applied correctly before proceeding with additional changes17- Working through multi-step file modifications where each step depends on the previous one1819## Steps201. **Make initial edit** - Edit the file with your first set of changes212. **Read and verify** - Read the file back to confirm the changes were applied correctly223. **Make follow-up edit** - Based on what you verified in step 2, make any necessary corrections or additional changes2324## Tips25- This pattern helps catch mistakes early in the editing process26- The read step acts as a checkpoint to ensure changes persist as expected27- Use descriptive variable names and clear comments to make verification easier28- Consider if multiple verification cycles are needed for complex changes29- This is more efficient than making multiple isolated edits without checking intermediate results
Run npx skillmds@latest add claudiawong522/edit-read-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-read-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.