# Read Then Edit Twice

> read-then-edit-twice

- Skill: `claudiawong522/read-then-edit-twice` (Agent Skill)
- Install (CLI): `npx skillmds@latest add claudiawong522/read-then-edit-twice`
- Raw SKILL.md: https://api.skillmd.com/api/skills/claudiawong522/read-then-edit-twice/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/read-then-edit-twice

---

# read-then-edit-twice

Read a file, then make two sequential edits to refine its contents.

# Read Then Edit Twice

This skill reads a file and applies two consecutive edits to it, useful for iterative refinement or multi-step transformations.

## Workflow

1. **Read the file** - Start by examining the complete file contents to understand the current state
2. **First edit** - Make the first set of changes or transformations to the file
3. **Second edit** - Apply a second round of edits to further refine the contents

## When to use this skill

- **Refining code** - Read code, then fix issues in two passes (e.g., syntax, then logic)
- **Text revisions** - Read a document, edit for clarity, then edit for style
- **Progressive improvements** - Make incremental changes that build on each other
- **Multi-step transformations** - When changes are easier to reason about in separate steps

## Tips

- Review the initial file content carefully before making edits to plan your changes
- Consider making the first edit address structural issues and the second address details
- Keep edits focused and descriptive so changes are easy to track
- If you need more than two edits, this pattern can be repeated for additional refinement passes

