What problem does it solve? Large Rust files become hard to navigate and maintain, and splitting them incorrectly can break module paths, visibility, and public APIs. This Skill refactors oversized Rust files into proper module structures while preserving the public API and keeping the crate compiling. ## Core Features & Use Cases - Automatic candidate discovery: When no file is specified, it finds every Rust file over 1000 lines using platform-appropriate commands for macOS, Linux, and Windows. - Layout guidance: Chooses between sibling extraction and directory-module conversion based on the code's actual structure, while forbidding invalid layouts like coexisting foo.rs and foo/ directories. - Safe refactoring workflow: Moves code by responsibility, updates use and visibility paths, keeps mod.rs as a thin routing layer, and validates with cargo fmt and cargo check. - Use Case: You inherit a Rust project where src/parser.rs has grown to 2500 lines mixing types, parsing, and rendering. The Skill splits it into src/parser/mod.rs, types.rs, parse.rs, and render.rs with re-exports preserving the existing API. ## Quick Start Ask the AI to split every Rust file over 1000 lines in this project into well-organized modules and verify the crate still builds.