en un clic
fix-clippy
Identify and fix Clippy warnings in Rust code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Identify and fix Clippy warnings in Rust code
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle 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.