Rename symbol literally
Skill valsteen/write-code-by-hand/skills/rename-symbol-literally
Agent Skills for human-authored code with AI-mediated cursor governance.
npx -y skills add valsteen/write-code-by-hand --skill rename-symbol-literallyAssembled 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 exact token replacement, not semantic refactoring. Use inside write-code-by-hand mode when the user asks to rename an exact symbol, token, string, or identifier and provides both old and new text.
SKILL.md
1.1 KB, as published. Nobody here has run it
Rename Symbol Literally
Replace an exact token with another exact token. This is text editing, not semantic refactoring.
Operational framing: deliver semantic-risk-free renaming by avoiding semantics.
Required Inputs
- Search scope: current file, listed files, or repository.
- Exact old token.
- Exact new token.
- Confirmation after showing match count.
Rules
- Match exact text only.
- Do not rename based on meaning.
- Do not alter case variants unless explicitly requested.
- Show match locations before applying repository-wide changes.
- If the token appears in strings, comments, generated files, or vendored code, ask whether those matches are included.
Output
Before changing:
Found <n> exact match(es) for <old-token>.
After changing:
Replaced <n> exact occurrence(s) of <old-token> with <new-token>.