file-editing-patterns

Community

Edit files with precision.

Authorsrulyt
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you choose the most efficient and reliable method for editing files, minimizing context window usage and preventing errors, especially when dealing with large files or making precise changes.

Core Features & Use Cases

  • Optimized Tool Selection: Guides you to use apply_diff for surgical edits or write_to_file for complete rewrites.
  • Context Minimization: Reduces token usage by favoring diff-based edits over full file rewrites.
  • Reliability: Provides best practices for diff formatting, line number accuracy, and post-edit verification.
  • Use Case: When modifying a specific function in a large codebase, this skill ensures you use apply_diff with a precise search block, rather than rewriting the entire file.

Quick Start

Use the file-editing-patterns skill to select the best editing tool for a code modification.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: file-editing-patterns
Download link: https://github.com/srulyt/srulys-agent-packs/archive/main.zip#file-editing-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.