Rust Refactor

Use this skill when refactoring Rust code in the koan repo — renaming symbols across the crate, moving items between files/modules, extracting a function or sub-module, applying batch structural search-and-replace, pruning unused code, or auto-fixing compiler/clippy diagnostics. Pairs `ast-grep` for structural rewrites, `cargo clippy --fix` / `cargo fix` for lint-driven cleanup, and `cargo build` as the verification step. For *scoring* a proposed module reshuffle before doing it, see the dedicated `modgraph` skill.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/jackhall--koan--rust-refactor commit e3dd050965

Frequently asked questions

npx skillmds@latest add tomevault-io/rust-refactor