rust-style-clippy
Installation
SKILL.md
Rust Style Formatting and Static Analysis
Based on the
rustfmt Book,Clippy Book,Edition Guide, andError Code Index.
Capability Boundaries
✅ Strengths
- Stable rustfmt configuration (edition, max_width, tab_spaces, use_field_init_shorthand, etc.)
- Clippy lint system — all 10 lint groups: correctness, suspicious, style, complexity, perf, pedantic, restriction, cargo, nursery, internal
clippy.tomlconfiguration (msrv, arithmetic-side, cognitive-complexity-threshold, avoid-breaking-exported-api, etc.)#[expect(...)]attribute (Rust 1.81+) for CI-enforced lint expectations- Lint
priorityordering for layered policy - Production CI lint policy (deny/warn/allow decisions per group)
- Edition migration (2015→2018→2021→2024, key changes per edition and cargo fix commands)
- Compiler error code interpretation (rustc --explain, common error codes reference table)
⚠️ Prerequisites
- Rust toolchain installed and configured