# Review Then Edit

> review-then-edit

- Skill: `claudiawong522/review-then-edit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add claudiawong522/review-then-edit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/claudiawong522/review-then-edit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: claudiawong522 (https://skillmd.com/u/claudiawong522)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/claudiawong522/review-then-edit

---

# review-then-edit

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
1. **First Read** - Get an initial overview of the file's purpose and structure
2. **Second Read** - Examine specific sections, functions, or patterns in detail
3. **Third Read** - Review the complete context including dependencies and relationships
4. **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

