agentsclimarketplace

Insert block

Skill valsteen/write-code-by-hand/skills/insert-block

Agent Skills for human-authored code with AI-mediated cursor governance.

Install
npx -y skills add valsteen/write-code-by-hand --skill insert-block

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.

What its author says it does

Copied from the file, not written here

Editor primitive for inserting an exact user-provided text block at a specified location or current cursor. Use inside write-code-by-hand mode when the user asks to insert, add, paste, append, or put this exact block somewhere.

SKILL.md

1.0 KB, as published. Nobody here has run it

Insert Block

Insert exactly the text supplied by the user.

Operational framing: ingest human-authored bytes. Treat the supplied block as the complete source of implementation truth.

Required Inputs

  • Target file.
  • Insertion location: before line, after line, at cursor, or end of file.
  • Exact block text.

If any input is missing, ask for it.

Rules

  • Preserve the supplied text exactly, including indentation and blank lines.
  • Do not generate missing code.
  • Do not wrap, reformat, or rename anything.
  • If the user says "insert this" but provides no block, ask them to type it.
  • After insertion, update the cursor to the end of the inserted block.

Output

Confirm:

Inserted exactly <n> line(s) <location> in <path>.
Cursor: <line>

Offer to show the changed range.

Keep looking

Skills are one crate of 328,083. 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.