What problem does it solve?
This Skill helps you improve Rust code that is correct but hard to read, maintain, or extend, especially when ownership, borrowing, or error handling makes the design feel heavier than it should.
Core Features & Use Cases
- Targeted Refactoring: Simplifies local Rust code without expanding scope or changing intended behavior.
- API and Ownership Clarity: Reduces unnecessary clones, clarifies borrowing boundaries, and improves type shape when it genuinely helps the domain.
- Maintainability Reviews: Flags overgrown functions, confusing control flow, weak error surfaces, and accidental complexity in crates or libraries.
- Use Case: Use this Skill when a Rust module works but would benefit from a cleaner API, clearer state transitions, or more idiomatic error handling before the codebase becomes harder to evolve.
Quick Start
Ask the agent to review your Rust code for readability and maintainability improvements while preserving behavior and crate conventions.