rmc-rename-symbol

Community

Preview a safe, exact Rust rename refactor.

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 edits and file_moves rust-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 required

Components

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.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.