Claude
Cursor
Skill
rename-symbol
Renames a function, class or constant across the repository. Use when the user names the old and new identifiers; not for renaming files.
Virus-scanned
Reviewed automatically before listing.
Download
goldziher-ai-rulez-bench_judge_corpus_units_clean-06_.claude_skills_rename-symbol-ca967ad.zip · 0 KB
Install
skills CLI
npx skills add https://github.com/Goldziher/ai-rulez/tree/main/bench/judge/corpus/units/clean-06/.claude/skills/rename-symbol
Claude Code
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install goldziher-ai-rulez@llmmart
Git
git clone https://github.com/Goldziher/ai-rulez.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole goldziher/ai-rulez collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
Rename symbol
- Search for the old name with
git grep -n -w <old>and list the files. - Replace whole-word matches only, and skip matches inside strings or comments unless the user says otherwise.
- Run the project's test command and report the result.
- Done when
git grep -n -w <old>returns nothing, or each remaining match is listed with the reason it was kept.
Files (ai-rulez)
-
SKILL.md 559 B
--- name: rename-symbol description: "Renames a function, class or constant across the repository. Use when the user names the old and new identifiers; not for renaming files." --- # Rename symbol 1. Search for the old name with `git grep -n -w <old>` and list the files. 2. Replace whole-word matches only, and skip matches inside strings or comments unless the user says otherwise. 3. Run the project's test command and report the result. 4. Done when `git grep -n -w <old>` returns nothing, or each remaining match is listed with the reason it was kept.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.