sl:hashline-read

Read files with hashline annotations for precise line-range targeting.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Read files with hashline annotations to enable reliable and deterministic line-range edits, reducing drift during code changes.

Core Features & Use Cases

  • Read entire file with line hashes to map content to lines.
  • Read specific line ranges or from a starting line to EOF; chunk output for large files; detect and reject binary files; handle BOM and CRLF gracefully.
  • Use before performing edits with sl edit to ensure precise targeting and reproducibility across edits.

Quick Start

Invoke sl read on a target file to obtain its lines with hashes and learn how to map edits to exact line numbers.

Frequently Asked Questions about sl:hashline-read

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

FAQPage Schema
How do I read files with line hashes for precise code edits?

To read files with line hashes, invoke the read function on a target file to obtain deterministic output with hashline annotations, mapping content to exact line numbers for reliable targeting across large files.

What is the best way to target specific line ranges in large code files?

Targeting specific line ranges in large code files is best done by reading specific lines or starting from a line to EOF with chunked streaming output, ensuring exact line targeting and hash-based verification for reproducible edits.

How does hashline annotation handle BOM and CRLF line endings?

Hashline annotation handles BOM and CRLF gracefully by enforcing robust line-ending parsing during the read process, ensuring deterministic output and preventing drift while mapping content to lines.

Can I read binary files with hashline annotations?

You cannot read binary files with hashline annotations because the read process detects and rejects binary files, enforcing deterministic text output and robust line-ending handling for code editing workflows.

Why do I need to read a file with hashlines before editing?

You need to read a file with hashlines before editing to enable reliable and deterministic line-range edits, reducing drift during code changes by mapping content to exact line numbers for precise targeting.

Does hashline output support chunked streaming for large files?

Hashline output supports chunked streaming for large files, enforcing deterministic output while providing precise line-range visibility to map content and apply exact line targeting across extensive codebases.