Review And Edit

review-and-edit

claudiawong522 Updated

File contents

review-and-edit

Review a file twice before making edits to understand its full context and structure.

Review and Edit Workflow

This skill helps you make informed edits by thoroughly reviewing a file before making changes.

Steps

  1. First Read - Read the file to get an initial understanding of its content, structure, and purpose
  2. Second Read - Read the file again to identify specific sections you need to modify and confirm the context
  3. Edit - Make your targeted edits with full confidence in the file's structure

When to Use

  • Making structural changes to code or configuration files
  • Editing files you're unfamiliar with
  • Making changes that might have dependencies or side effects
  • Ensuring you understand the complete file before modifying

Tips

  • Use the first read to understand the overall structure and purpose
  • During the second read, take note of exact line numbers and context for your changes
  • This double-review approach reduces errors and prevents unintended modifications
  • Consider using this workflow when working with critical files or complex codebases

claudiawong522/skill-autocreation-with-claude-logs/tree/main/output/review-and-edit commit 46eafe6c5f

Frequently asked questions

npx skillmds@latest add claudiawong522/review-and-edit