agentsclimarketplace

Replace range

Skill valsteen/write-code-by-hand/skills/replace-range

Editor primitive for replacing an exact contiguous line range with exact user-provided text. Use inside write-code-by-hand mode when the user asks to replace lines, swap this block, or change a selected range.From its SKILL.md

Install
npx -y skills add valsteen/write-code-by-hand --skill replace-range

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

0.9 KB, 154 tokens by cl100k_base, as published. Nobody here has run it

Replace Range

Replace an exact line range with exactly the text supplied by the user.

Operational framing: perform bounded block replacement. The bounds are the product.

Required Inputs

  • Target file.
  • Start line.
  • End line.
  • Exact replacement block.

If any input is missing, ask for it.

Rules

  • Replace only the specified contiguous range.
  • Preserve the provided replacement block exactly.
  • Do not rewrite adjacent code.
  • Do not synthesize missing pieces.
  • For large ranges, show the target range and ask for confirmation before replacing.

Output

Confirm:

Replaced <path>:<start>-<end> with exactly <n> line(s).

Offer to show the changed range.

What ships with it: 1 file

191 B alongside SKILL.md

agents/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.