The rust-refactor-helper skill enables developers to safely refactor Rust code by leveraging Language Server Protocol (LSP) analysis to identify all affected locations before making changes. It supports multiple refactoring operations—including renaming symbols, extracting functions, inlining functions, and moving symbols across modules—with optional dry-run previews that show impact analysis, potential conflicts, and side effects like documentation updates or public API changes. This skill solves the problem of performing large-scale code transformations in Rust while minimizing the risk of introducing bugs or breaking dependent code.
npx skills add https://github.com/zhanghandong/rust-skills --skill rust-refactor-helper