← スキル一覧に戻る

fix-clippy
by manuelmauro
Agentic AI skills management, linting, and formatting
⭐ 0🍴 0📅 2026年1月23日
SKILL.md
name: fix-clippy description: Identify and fix Clippy warnings in Rust code license: MIT OR Apache-2.0
Fix Clippy
Identify and resolve Clippy warnings to maintain code quality.
Running Clippy
# 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
Common Fixes
| 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 |
Auto-fix
Some Clippy warnings can be auto-fixed:
# Apply automatic fixes
cargo clippy --fix
# Apply fixes allowing dirty working directory
cargo clippy --fix --allow-dirty
Configuration
Clippy can be configured in Cargo.toml or .clippy.toml. The project uses strict warnings by default.
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です