Read And Edit File

read-and-edit-file

claudiawong522 Updated

File contents

read-and-edit-file

Read a file to review its contents, then make edits to it in a single workflow.

Read and Edit File

This skill combines reading a file with editing it, useful when you need to review content before making modifications.

When to use this skill

  • You need to see the current content of a file before deciding what changes to make
  • You're making targeted edits based on the existing structure
  • You want to understand the context before modifying

Steps

  1. Read the file - View the complete file contents to understand its structure and current state
  2. Edit the file - Make your desired modifications based on what you learned from reading

Tips

  • Use this when edits are context-dependent or you're unfamiliar with the file structure
  • The read step helps prevent accidental overwrites of important content
  • Consider what specific changes you want to make while reading to keep the workflow efficient

claudiawong522/skill-autocreation-with-claude-logs/tree/main/output/read-and-edit-file commit 3f32944837

Frequently asked questions

npx skillmds@latest add claudiawong522/read-and-edit-file