What problem does it solve? Rust developers often fight the borrow checker, misuse error handling, or write unidiomatic code that ignores the type system. This Skill anchors AI-assisted Rust work to established idioms so generated code compiles cleanly, handles errors correctly, and follows community conventions. ## Core Features & Use Cases - API Design Guidance: Enforces naming conventions (as_/to_/into_), generic argument flexibility with impl AsRef<Path>, and Builder patterns for complex constructors. - Error Handling Patterns: Distinguishes library errors (thiserror custom enums) from application errors (anyhow context chains) and promotes parse-don't-validate type design. - Concurrency & Type System Rules: Covers Send/Sync semantics, Mutex/Arc primitives, newtypes, #[must_use], and deadlock pitfalls like the if let lock anti-pattern. - Use Case: When asking an agent to refactor a Rust module, it will propagate errors with ? instead of .unwrap(), accept impl AsRef<str> instead of concrete String, and run cargo clippy -- -D warnings before finishing. ## Quick Start Review this Rust file and refactor it to follow idiomatic error handling and API design conventions.