/rust:exploring-rust-docsfrom rust
Explore and understand Rust crates via cargo doc generated HTML documentation. Use when the user wants to understand a Rust crate, read crate documentation, explore module structure, find traits/structs/functions, or learn how a Rust library works.
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.
Read when SKILL.md points to them.
This skill helps you explore and understand Rust crates by reading their cargo-generated HTML documentation.
Check if docs exist, otherwise generate them:
# Check for existing docs
ls target/doc/
# Generate docs (NEVER use --open)
cargo doc --no-deps
For workspace members or specific crates:
cargo doc --no-deps -p crate_name
The main index is at:
target/doc/{crate_name}/index.html
For crates with hyphens, the directory uses underscores:
target/doc/my_crate/index.html # for my-crate
See reference.md for detailed HTML structure.
Key files to read:
index.html - Crate overview, re-exports, modules listall.html - Complete list of all itemsstruct.{Name}.html - Struct documentationtrait.{Name}.html - Trait documentationfn.{Name}.html - Function documentationenum.{Name}.html - Enum documentation{module}/index.html - Module documentationWhen reading doc HTML, look for:
<pre class="rust">)Most crates include examples:
ls examples/
Read example files to understand real-world usage patterns.
| Item Type | File Pattern | Key Sections |
|---|---|---|
| Crate root | index.html | Modules, Structs, Enums, Traits, Functions |
| Module | {mod}/index.html | Same as crate root |
| Struct | struct.{Name}.html | Fields, Implementations, Trait Impls |
| Enum | enum.{Name}.html | Variants, Implementations |
| Trait | trait.{Name}.html | Required/Provided Methods, Implementors |
| Function | fn.{Name}.html | Signature, Documentation |
all.html page is useful for finding items by namesrc/{crate}/ for implementation detailssrc/main.rs and any CLI argument parsing (clap, structopt)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/create-crate-skillCreate Claude skills for Rust crates and binaries. Use when the user wants to create a skill for a Rust crate, document a Rust library for Claude, make a skill from cargo docs, or create a skill to help use a Rust tool or binary./rmcprmcp - Rust MCP SDKThis skill should be used when the user asks to "build an MCP server in Rust", "create an MCP client in Rust", "use the rmcp crate", "implement MCP tools in Rust", "add MCP transport in Rust", "write a Rust MCP tool", "connect to an MCP server from Rust", "implement ServerHandler", "use #[tool] macro", "MCP prompts in Rust", "MCP resources in Rust", "rmcp task system", or mentions rmcp, Rust MCP SDK, or Model Context Protocol with Rust. Provides comprehensive guidance for building MCP servers and clients using the official Rust SDK.
/tera-templatesWrite Tera templates for Rust applications. Use when creating Jinja2/Django-style templates, using template inheritance, writing macros, applying filters, or generating HTML/text with Tera.npx claudepluginhub tarqd/skills --plugin rust2 plugins ship this exact skill · first indexed Aug 21, 2026