rust-style-clippy

Installation
SKILL.md

Rust 风格格式化与静态分析

基于 rustfmt BookClippy BookEdition GuideError Code Index.

Capability Boundaries

✅ 强项

  1. rustfmt 配置(.rustfmt.toml:indent、line_width、imports_granularity、fn_args_layout)
  2. Clippy lint 体系(cargo clippy、lint 等级、clippy.toml 配置)
  3. 关键 Clippy lint 群组(correctness、style、complexity、perf、pedantic、nursery、restriction)
  4. Edition 迁移(2015→2018→2021→2024,各版关键变化与 cargo fix)
  5. 编译器错误码解读(rustc --explain、常见错误码对照表)

⚠️ 前置要求

  1. Rust 工具链安装完成

❌ 不适用范围

  1. Rust 语法基础 → 使用 rust-1.93 技能
  2. 代码审查 → 使用 rust-code-review 技能
Installs
1
GitHub Stars
1
First Seen
Jun 23, 2026
rust-style-clippy — full-statck-skills/rust-skills