/rust-toolkit:rust-toolkitfrom rust-toolkit
Use when you see clippy warnings, cargo compile errors, or rust-analyzer diagnostics in terminal or editor output. Also use when the user asks about project or toolchain status, lint configuration, or wants to understand a specific clippy lint.
Ships in rust-toolkit. 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.
Dispatch skill for Rust development commands. Routes observable situations to the appropriate skill. Bare cargo subcommands (build, test, fmt, run, add, remove, init, install) are invoked directly — this toolkit focuses on diagnostics, linting, and project configuration.
Before routing, detect the project environment:
Cargo.toml in the current or parent directoryrustc --version, cargo --versionrustup component list --installed (rust-analyzer, clippy, rustfmt)| Observable situation | Skill | Notes |
|---|---|---|
| clippy warnings in terminal output | /clippy | Full lint report; has --fix support |
| cargo check errors (type errors, borrow checker) | /check | Compile-check without producing a binary |
| rust-analyzer diagnostics surfaced in editor | /diagnostic-review | Triage procedure; auto-activates on clippy output |
| Unknown clippy lint name | /explain <lint> | Explains the lint with examples |
| Many clippy warnings, need a category overview | /stats | Counts warnings by category |
| User asks about project or toolchain status | /info | Project overview and installed components |
| User asks to configure linting, formatting, or LSP | /configure | Sets up clippy, rustfmt, rust-analyzer defaults |
| Need to build, test, run, format, or manage crates | bare cargo commands | cargo build, cargo test, cargo fmt, etc. |
No Cargo.toml found | cargo new / cargo init | Creates a new project or initializes existing dir |
When you encounter an unfamiliar clippy lint or cargo flag:
/explain <lint> for clippy lintscargo is not found: advise installing Rust via https://rustup.rsrust-analyzer is missing: rustup component add rust-analyzerclippy is missing: rustup component add clippyrustfmt is missing: rustup component add rustfmtCargo.toml found: run cargo new <name> (new project) or cargo init (existing directory)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ramda-dev/lang-toolkits --plugin rust-toolkit8 skills in this plugin
/checkThis skill should be used when the user asks to "run cargo check", "check for compile errors", "see if this compiles", "verify the rust build", or wants a fast compile-only verification of a Rust project without producing binaries./clippyThis skill should be used when the user asks to "run clippy", "lint with clippy", "show clippy warnings", "fix clippy lints", or "run cargo clippy", or when the user wants a Rust lint pass with the full clippy ruleset enabled./configureThis skill should be used when the user asks to "configure clippy", "configure rustfmt", "set up rust tools", "scaffold rust-analyzer config", "configure rust-toolkit", or wants to create or update `clippy.toml`, `rustfmt.toml`, `.rust-analyzer.json`, or related Rust tool configuration files with sensible defaults.Other plugins' skills for the same job