Review a file multiple times before making edits to ensure accuracy and context.
Review Then Edit
This skill captures a common pattern where you read a file several times to fully understand its context and content before making any modifications.
When to Use
You need to thoroughly understand a file's structure and logic before editing
You're making complex changes that require multiple perspectives on the code
You want to verify existing content matches your expectations before modifying
You're working with unfamiliar codebases and need to build context
Steps
First Read - Get an initial overview of the file's purpose and structure
Second Read - Examine specific sections, functions, or patterns in detail
Third Read - Review the complete context including dependencies and relationships
Edit - Make your modifications with full understanding of the file
Tips
Each read pass can focus on different aspects (structure, logic, dependencies)
This pattern reduces errors by ensuring you understand the full context
Particularly useful for files with complex interdependencies
Consider the file size—smaller files may not need three reads
Use specific questions during each read to guide your attention
1---2name: review-then-edit3description: review-then-edit4---5# review-then-edit67Review a file multiple times before making edits to ensure accuracy and context.89# Review Then Edit1011This skill captures a common pattern where you read a file several times to fully understand its context and content before making any modifications.1213## When to Use14- You need to thoroughly understand a file's structure and logic before editing15- You're making complex changes that require multiple perspectives on the code16- You want to verify existing content matches your expectations before modifying17- You're working with unfamiliar codebases and need to build context1819## Steps201. **First Read** - Get an initial overview of the file's purpose and structure212. **Second Read** - Examine specific sections, functions, or patterns in detail223. **Third Read** - Review the complete context including dependencies and relationships234. **Edit** - Make your modifications with full understanding of the file2425## Tips26- Each read pass can focus on different aspects (structure, logic, dependencies)27- This pattern reduces errors by ensuring you understand the full context28- Particularly useful for files with complex interdependencies29- Consider the file size—smaller files may not need three reads30- Use specific questions during each read to guide your attention
Run npx skillmds@latest add claudiawong522/review-then-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.
review-then-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.