/rust:rust-reviewfrom rust
Use for Rust reviews: .rs diffs, PRs with Rust changes, Cargo.toml changes, and clippy/pre-commit checks. Run gate-probes first for universal checks, then these Rust-specific probes. Always load before presenting Rust code review findings to the user.
Ships in rust. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Before applying probes, load rust-quality — it contains the anti-pattern rules and preferred patterns you must check against. Without it loaded, you will miss clone escapes, speculative fallbacks, and weak error modeling that are invisible from training data alone. If gate-probes has not already run for this diff, run it first for universal checks. Then apply these Rust-specific probes against the diff.
If the diff changes public docs, public API doc comments, README content, release notes, or PR prose, invoke prose-lint on changed prose only. For doc comments, pass the changed text via stdin. Use humanizer only for prose that will be checked in, published, or sent on the user's behalf.
clone() to satisfy the borrow checker instead of restructuring ownership?_ => that will silently absorb future enum variants?use of a crate not in [dependencies]? Compiling via transitive dep is fragile..map_err(|e| Variant(e)) where Variant has #[from] and .map_err(Variant) works?#[allow(clippy::type_complexity)] that should be a type alias?match with one arm + _ => {} that should be if let?match on Option/Result where .map(), .and_then(), .map_err() would be flatter and clearer?What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shearerbeard/agent-skills --plugin rust6 skills in this plugin
/rust-asyncUse when writing, reviewing, or designing async and explicitly
multithreaded Rust code — "async function", "tokio", "spawn a
task", "Send+Sync", "Send + Sync", "multithreaded", "blocking
the executor", "tokio::spawn", "spawn_blocking", "async/await",
"async Rust". Contains cooperative scheduling rules, Send +
'static bounds, spawn_blocking vs rayon vs dedicated threads,
std::sync::Mutex vs tokio::sync::Mutex, async Drop patterns,
and channel/stream guidance. Pair with rust-design for type
modeling and rust-quality for anti-pattern prevention.
/rust-designUse when writing, designing, or reviewing Rust types and domain
models — "design a Rust type", "model this in Rust", "Rust ADT",
"state machine", "make illegal states unrepresentable",
"constrained type", "typestate", "newtype design", "sketch type
signatures", "write a Rust struct", "review these Rust types".
Also use when authoring `.rs` files that introduce a new struct
or enum, or when deciding a public API shape.
Contains ADT-first workflow, constrained type patterns, railway-
oriented programming, match semantics, 6-step clone avoidance,
and ownership restructuring. Pair with rust-quality for anti-pattern
prevention and rust-review for gate-level review.
/rust-modulesUse for any Rust module work: planning, creating, splitting, moving, discussing,
or reviewing modules and files: mod declarations, pub use facades, crate
structure, mod.rs cleanup, type co-location, and naming. Pair with rust-quality
for code patterns inside modules.