Cargo check
Skills for any AI agent harness, by Mad House
npx -y skills add samhcus/skills --skill cargo-checkAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Run cargo fmt, clippy, and tests on a Rust workspace before committing. Catches format failures that break CI. Triggers on "cargo check", "check rust", "run rust tests", "before I commit rust", "fmt and test", "check the workspace", "is the rust build clean".
SKILL.md
1.2 KB, as published. Nobody here has run it
Cargo Check
Run the full pre-commit Rust check suite: format, lint, test.
Run
bash ~/.claude/commands/cargo-check/scripts/check.sh
What it does
cargo fmt --check- if this fails, runcargo fmtthen re-checkcargo clippy -- -D warnings- zero warnings policycargo test --workspace- all tests must pass
Auto-fix format issues
bash ~/.claude/commands/cargo-check/scripts/check.sh --fix
With --fix, runs cargo fmt first, then proceeds with clippy and tests.
One-liner (no script)
cd WORKSPACE && cargo fmt && cargo clippy -- -D warnings && cargo test --workspace