What problem does it solve? Rust codebases often accumulate verbose patterns, redundant clones, and deeply nested control flow that obscure intent. This Skill refactors Rust code into idiomatic, readable form without changing behavior, keeping edits confined to the scope the user requested. ## Core Features & Use Cases - Idiomatic Refactoring: Applies Rust conventions such as the ? operator, let else, iterator combinators, From/Into conversions, and proper ownership patterns. - Scope-Aware Editing: Restricts changes to working changes, a feature branch diff, a base ref comparison, or explicitly named files. - Behavior Preservation: Guarantees functionality, outputs, and ownership semantics remain unchanged, and runs existing compile/lint checks when available. - Use Case: After finishing a feature branch, ask for a simplification pass so nested match chains become early returns and redundant .clone() calls are removed before opening a pull request. ## Quick Start Ask the agent to simplify the Rust code in your current working changes while preserving behavior and reporting what it changed.