robust-edit

Community

Edit files by line range, not by content.

Authorreedmayhew18
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Edits line-based blocks by replacing a specified range of lines in a file, eliminating fragility from exact-string matching and whitespace sensitivity.

Core Features & Use Cases

  • Line-range editing: replace, insert, or delete a contiguous block by line numbers.
  • Flexible use cases: refactoring code blocks, updating multi-line templates, and batch edits where surrounding content is variable.
  • Safe operation: preserves encoding and line endings and provides a read mode to preview changes before applying.

Quick Start

Run the robust_edit script with a target file and a line range, then provide the new content to replace that range.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 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: robust-edit
Download link: https://github.com/reedmayhew18/ClawedBack/archive/main.zip#robust-edit

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 471,000+ vetted skills library on demand.