rmc-rename-symbol
CommunityPreview a safe, exact Rust rename refactor.
Software Engineering#refactoring#code navigation#rust#rename#symbol analysis#rust-analyzer#dependency safety
Authormolaco
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents risky Rust refactors by letting you preview the exact set of byte-precise edits and required file moves before applying a symbol rename.
Core Features & Use Cases
- Dry-run rename preview: Produces the precise
editsandfile_movesrust-analyzer would apply, without modifying disk. - Refactor legality probe: Tells you whether the rename is possible and why it might be refused (e.g., conflicts, keyword/non-identifier tokens, foreign/no-source boundaries, macro limitations).
- Exact reference inventory for one symbol: Helps you enumerate all rename-target references at definition precision (excluding doc/comment name occurrences).
Quick Start
Ask for a rename preview by providing the symbol’s exact short name and the new name, along with the Cargo project root directory, to get the exact edit set and any required file moves.
Dependency Matrix
Required Modules
None requiredComponents
Standard packageđź’» Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: rmc-rename-symbol Download link: https://github.com/molaco/rust-code-mcp/archive/main.zip#rmc-rename-symbol Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.