agentsclimarketplace

Cargo check

Skill samhcus/skills/skills/cargo-check

Skills for any AI agent harness, by Mad House

Install
npx -y skills add samhcus/skills --skill cargo-check

Assembled 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

  1. cargo fmt --check - if this fails, run cargo fmt then re-check
  2. cargo clippy -- -D warnings - zero warnings policy
  3. cargo 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.