rust-best-practices
Installation
SKILL.md
Rust Best Practices
Use this skill when the user asks for Rust code, Rust refactors, code review, performance review, error handling, documentation, API design, or lifecycle modeling.
Assume Rust 1.99 stable and edition 2024 unless the repository explicitly
declares a lower MSRV or the user gives a different target. Respect existing
rust-toolchain.toml, CI, Cargo.toml, workspace lints, target support, and
public API stability before introducing an API that exceeds the declared MSRV.
Idiomatic Rust Requirement
All Rust implementations, API recommendations, generated code, and examples produced or revised with this skill must be idiomatic for the repository's edition, MSRV, and domain. Clearly label intentional counterexamples.