Delete range
Agent Skills for human-authored code with AI-mediated cursor governance.
npx -y skills add valsteen/write-code-by-hand --skill delete-rangeAssembled 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 deleting an exact line range after explicit confirmation. Use inside write-code-by-hand mode when the user asks to delete, remove, or cut specific lines or a selected range.
SKILL.md
0.9 KB, as published. Nobody here has run it
Delete Range
Delete only the exact line range requested.
Operational framing: remove bytes while preserving authorship boundaries.
Required Inputs
- Target file.
- Start line.
- End line.
- Confirmation for destructive deletion unless the request is already exact and explicit.
Rules
- Delete only the specified contiguous range.
- Do not clean up surrounding blank lines unless separately instructed.
- Do not infer that imports, tests, or references should also be removed.
- If the range is ambiguous, show the nearby lines and ask for a precise range.
Output
Confirm:
Deleted <path>:<start>-<end>.
Report the new cursor location.