
Description
Rust refactor helper is an agent skill for making safe refactoring changes in Rust code. It uses language server analysis to find what a change would touch before it makes the change. It supports four operations: renaming a symbol, extracting a selection into a new function, inlining a function, and moving a symbol to another module. Each one takes a target and can be run with a dry-run flag, so you can see the impact first. The skill is invoked with a slash command followed by the action and the target. It is meant for Rust projects where a rename or move would otherwise need careful manual searching across many files. It focuses on the refactor itself and leaves the rest of the change to you, so review the result before committing it.…
Highlights
- Rename symbol across the project
- Extract selection to a function
- Inline a function
- Move a symbol to another module
- Dry-run flag to preview impact
Ratings & Reviews
No ratings yet
Be the first to rate rust-refactor-helper.
People also visit

refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance
rust-refactor-helper FAQ
What refactors does it support?
Renaming a symbol, extracting a function, inlining a function and moving a symbol to another module.
How do I install it?
Run npx skills add https://github.com/actionbook/rust-skills --skill rust-refactor-helper.
Can I preview a change first?
Yes. Add --dry-run to see the impact before anything is changed.
Has the skill been security audited?
Yes. Gen Agent Trust Hub shows Pass, Socket shows Pass and Snyk shows Pass.
What are the best rust-refactor-helper alternatives?
Popular alternatives to rust-refactor-helper include safe-refactor, refactoring-patterns and agent-lsp. See all rust-refactor-helper alternatives














