One-click install
npx skills add https://github.com/LdotJdot/OpenLum --skill editing-ldotjdot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editing
Source: https://github.com/LdotJdot/OpenLum/tree/main/OpenLum.Console/Skills/editing
Command: npx skills add https://github.com/LdotJdot/OpenLum --skill editing-ldotjdot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables precise, incremental editing of text and code by executing PowerShell commands from the skill, avoiding full-file rewrites.

Core Features & Use Cases

  • Incremental line-based edits: ReadRange, ReplaceRangeWithText, ReplaceAll, InsertLines, DeleteRange implemented via exec in PowerShell.
  • Safe, encoding-aware edits: writes UTF-8 and preserves file structure while modifying target ranges.
  • Use Case: When refactoring a large codebase, apply small, targeted patches without touching unrelated lines or formatting.

Quick Start

Tell the AI to edit a file by specifying the path and the exact line range, then apply the appropriate PowerShell-based edits (ReadRange, ReplaceRangeWithText, InsertLines, or DeleteRange) to produce the desired result.

Frequently Asked Questions about editing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make incremental text edits to specific line ranges in a file?

Incremental text edits apply targeted modifications to specific line ranges using PowerShell commands like ReplaceRangeWithText, InsertLines, and DeleteRange, altering only the specified content without rewriting the entire file.

What is the best way to apply targeted code patches without affecting unrelated lines?

Targeted code patches are best applied via line-based or content-based PowerShell commands that modify exact ranges, preserving surrounding file structure and formatting while safely executing UTF-8 encoding-aware insertions and replacements.

Can I use PowerShell to insert and delete lines in a development workflow?

PowerShell can insert and delete lines in a development workflow by executing snippets like InsertLines and DeleteRange, providing precise line-based modifications for refactoring tasks.

Does incremental code editing preserve file encoding during replacements?

Incremental code editing preserves file encoding during replacements by utilizing encoding-aware operations that write UTF-8 content, ensuring the file structure remains intact while applying targeted text modifications.

When should I not use full-file rewrites for code editing?

Full-file rewrites for code editing should not be used when refactoring a large codebase that requires small, targeted patches, as incremental line-based edits prevent touching unrelated lines and preserve existing formatting.