/rust-ai-lean:rust-leanfrom rust-ai-lean
Use when working in a Rust or Cargo project - reading or navigating .rs code, looking up a dependency's API, fixing compile errors, or running cargo build, check, test, or clippy. Keeps token usage low without losing compiler detail.
Ships in rust-ai-lean. 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.
rust-ai-lean outline <file|dir> prints signatures with start-end line ranges and no bodies.documentSymbol, goToDefinition, findReferences, hover, incomingCalls, outgoingCalls. If it is deferred, load it with ToolSearch query select:LSP. Positions are 1-based; use a range's start line and the column of the item name.Read with offset set to the range start and limit set to the range length.Read or cat whole .rs files longer than about 200 lines, and do not page through files with sed -n.grep -n and rg -n are for locating text, not for reading it.outline cannot see items generated by macros (derive output, macro_rules! expansions, code generated by sqlx or serde). Use LSP or grep for those.rust-ai-lean crate-src <crate> prints the exact version from Cargo.lock, its enabled features, and its source directory.rust-ai-lean outline <dir>/src/<module>.rs or rg -n 'pub fn <name>' <dir>/src.cargo add, read the Cargo.toml diff to see which version was added; quiet cargo output does not print it.rust-ai-lean diag check -p <package>. Errors come first with their full help: and note: text; warnings are one line each.--message-format=short. It drops the suggestions that make fixes one-shot.rust-ai-lean diag clippy -p <package>; add --full-warnings when you are fixing clippy suggestions.cargo test -p <package> <test name filter>.CARGO_TERM_QUIET=true (set by this plugin), passing tests print as dots and failures print in full.Subagents may not have the LSP tool. Use outline, crate-src, and rg -n instead.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub enoqv/rust-ai-lean --plugin rust-ai-lean2 skills in this plugin