Help us improve
Share bugs, ideas, or general feedback.
From 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.
npx claudepluginhub tarqd/skills --plugin rustHow this skill is triggered — by the user, by Claude, or both
Slash command
/rust:exploring-rust-docsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
This skill helps you explore and understand Rust crates by reading their cargo-generated HTML documentation.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Share bugs, ideas, or general feedback.
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)