What problem does it solve?
This Skill removes bulky inline Rust test blocks from production files without weakening test coverage, changing private-item access, or introducing unnecessary production refactoring.
Core Features & Use Cases
- Safe Extraction Boundaries: Chooses adjacent test modules instead of top-level integration tests when private access matters.
- Semantic Preservation: Keeps test names, attributes, helpers, visibility, imports, and effective coverage intact.
- Focused Verification: Runs the narrowest relevant test suite and checks for compilation, warning, and visibility regressions.
- Use Case: Use it when a Rust source file contains a large cfg-test module that should be moved into an adjacent test file while preserving access to private implementation details.
Quick Start
Ask the skill to extract the bulky inline tests from the specified Rust source file into the smallest safe adjacent test module and verify the moved suite.