name: cargo-check description: >- Run full Rust workspace validation — clippy lints and nextest — and summarize results. Use this skill whenever the user says "check", "validate", "run tests", "clippy", "lint", or wants to verify the workspace compiles and passes tests. Also use after completing any Rust code changes to verify correctness. user-invocable: true
Cargo Check — Full Workspace Validation
Run clippy and nextest across the entire stupid-db Rust workspace. Summarize pass/fail status for each step.
Steps
- Clippy — Run
cargo clippy --workspace --all-targets -- -D warningsto catch lint issues - Nextest — Run
cargo nextest run --workspacefor all tests with parallel per-process isolation - Summary — Report pass/fail counts, list any failing tests or clippy warnings
Rules
- Use
cargo nextest run— never plaincargo test - If clippy fails, list the specific warnings with file:line locations
- If tests fail, show the test name and failure reason (first 10 lines of output)
- Do NOT auto-fix anything — this skill is diagnostic only
- Run clippy and nextest sequentially (clippy first, to catch compile errors early)