sl:hashline-edit

Edit files by hashline references with hash-mismatch checks.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/HuynhHoangPhuc/solon --skill sl-hashline-edit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sl:hashline-edit
Source: https://github.com/HuynhHoangPhuc/solon/tree/main/plugins/solon-cli/skills/hashline-edit
Command: npx skills add https://github.com/HuynhHoangPhuc/solon --skill sl-hashline-edit

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hashline Edit solves the problem of applying precise, deterministic edits to source code by referencing exact line content hashes, reducing drift between reading and editing.

Core Features & Use Cases

  • Replace a single line
  • Replace a range of lines
  • Append after a line
  • Prepend before a line
  • Delete lines
  • Multi-line content via stdin
  • Handles hash mismatch scenarios with re-read guidance

Quick Start

Try a quick edit by replacing line 5 with new content using a hashline reference.

Frequently Asked Questions about sl:hashline-edit

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

FAQPage Schema
How do I apply deterministic code edits to prevent file drift?

Apply deterministic code edits by referencing exact line content hashes. This ensures hash-validated changes, reducing drift between reading and editing source files across various codebases.

What is hashline-based editing and how does it work?

Hashline-based editing is a technique that modifies files using exact line content hashes. It works by replacing, appending, prepending, or deleting lines based on their hash references to ensure precise modifications.

How do I replace or delete a range of lines using hash validation?

Replace or delete a range of lines by specifying hashline references for the target lines. You can also append, prepend, or input multi-line content via stdin to execute hash-validated changes.

What happens when there is a hash mismatch during a file edit?

When a hash mismatch occurs during a file edit, the operation flags the discrepancy and prompts a re-read. This mechanism ensures you do not apply changes to outdated or incorrect line content.

Can I use hashline edits for multi-line content via stdin?

Yes, you can use hashline edits for multi-line content via stdin. The system supports replace, append, prepend, and delete operations while maintaining hash validation for reliable file changes.