在 Manus 中运行任何 Skill
一键导入
一键导入
一键在 Manus 中运行任何 Skill
开始使用fix-clippy
星标1
分支0
更新时间2026年4月1日 11:00
Identify and fix Clippy warnings in Rust code
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Identify and fix Clippy warnings in Rust code
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Prepare a new version release with changelog and version bumps
Add a new lint rule to the validator
Review code changes for quality, correctness, and style
Guide for writing conventional commits with gitmoji
Create GitHub pull requests with clear titles and structured descriptions. Use when the user asks to open, create, or submit a pull request or PR.
Run the test suite and report results
| name | fix-clippy |
| description | Identify and fix Clippy warnings in Rust code |
| license | MIT OR Apache-2.0 |
Identify and resolve Clippy warnings to maintain code quality.
# Run clippy with warnings as errors
cargo clippy -- -D warnings
# Run clippy and show all lints
cargo clippy -- -W clippy::all
# Run clippy with pedantic lints
cargo clippy -- -W clippy::pedantic
| Warning | Fix |
|---|---|
derivable_impls | Use #[derive(Default)] instead of manual impl |
needless_return | Remove explicit return at end of function |
redundant_clone | Remove unnecessary .clone() calls |
single_match | Convert match to if let |
manual_map | Use .map() instead of match |
Some Clippy warnings can be auto-fixed:
# Apply automatic fixes
cargo clippy --fix
# Apply fixes allowing dirty working directory
cargo clippy --fix --allow-dirty
Clippy can be configured in Cargo.toml or .clippy.toml. The project uses strict warnings by default.