← スキル一覧に戻る

check
by nx-std
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: check description: Check Rust code compilation and lint with clippy. Use when checking if code compiles, running clippy, validating changes, or before building. allowed-tools: Bash(just --list:), Bash(just check:), Bash(just check-rs:), Bash(just check-crate:), Bash(just clippy:), Bash(just clippy-crate:)
Code Check and Lint Skill
Check Rust code compilation and run clippy linter.
Commands
Check all Rust code compiles:
just check-rs
Alias: just check
Check specific crate:
just check-crate <crate-name>
Lint all Rust code:
just clippy
Lint specific crate:
just clippy-crate <crate-name>
Checking with Features
Many crates have optional features (like ffi for FFI bindings) that should be checked.
Check with FFI feature:
just check-rs --features ffi
just clippy --features ffi
Check with all features:
just check-rs --all-features
just clippy --all-features
Per-crate feature checks:
just check-crate <crate-name> --features ffi
just clippy-crate <crate-name> --all-features
Workflow
- Format code →
/format - Check crate compilation →
just check-crate <crate-name> - Lint crate with clippy →
just clippy-crate <crate-name> - Fix all warnings, repeat 2-3 until crate is clean
- Check whole project →
just check-rs - Lint whole project →
just clippy - Fix any remaining warnings
- Check with FFI features →
just check-rs --features ffiandjust clippy --features ffi - Check with all features →
just check-rs --all-featuresandjust clippy --all-features - Fix any feature-specific warnings
Error Handling
- Compilation errors → Fix reported issues, format, re-check
- Clippy warnings → Fix all warnings (mandatory), format, re-run
Critical Rules
- NEVER use
cargo checkorcargo clippydirectly - usejustcommands - FIX ALL WARNINGS - warnings are not acceptable
- Format before checking - run
/formatfirst
Related Skills
/format- Format code before running checks/build- Build targets after validation passes
スコア
総合スコア
40/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です