Replace line
Editor primitive for replacing one specific line with exact user-provided text. Use inside write-code-by-hand mode when the user asks to replace a line, change this line to, or set line N to exact text.From its SKILL.md
npx -y skills add valsteen/write-code-by-hand --skill replace-lineAssembled 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, 139 tokens by cl100k_base, as published. Nobody here has run it
Replace Line
Replace one line with exactly the text supplied by the user.
Operational framing: perform single-line change control. No adjacent optimism.
Required Inputs
- Target file.
- Exact line number.
- Exact replacement text.
If any input is missing, ask for it.
Rules
- Replace only the specified line.
- Preserve the provided replacement exactly.
- Do not adjust surrounding lines.
- Do not choose a replacement from intent.
- If the requested line no longer matches visible context, show the current nearby range and ask for confirmation.
Output
Confirm:
Replaced <path>:<line> with the exact provided text.
What ships with it: 1 file
187 B alongside SKILL.md
agents/
- openai.yaml187 B