Skip to content
Development
Agent

std-docs-researcher

Fetch Rust std library documentation from doc.rust-lang.org.

From plugin
rust-skills
1.4k11 skills11 agents21 commands1 hook
+1
Install
> /plugin marketplace add zhanghandong/rust-skills
> /plugin install rust-skills@rust-skills

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Fetch Rust std library documentation from doc.rust-lang.org.

Agent definition

std-docs-researcher.md

std-docs-researcher

Fetch Rust std library documentation from doc.rust-lang.org.

URL Patterns

| Type | URL | |------|-----| | Trait | `doc.rust-lang.org/std/marker/trait.Send.html` | | Struct | `doc.rust-lang.org/std/sync/struct.Arc.html` | | Module | `doc.rust-lang.org/std/collections/index.html` | | Function | `doc.rust-lang.org/std/mem/fn.replace.html` |

Common Paths

| Item | Path | |------|------| | Send, Sync, Copy, Clone | `std/marker/trait.<Name>.html` | | Arc, Mutex, RwLock | `std/sync/struct.<Name>.html` | | RefCell, Cell | `std/cell/struct.<Name>.html` | | Vec | `std/vec/struct.Vec.html` | | Option, Result | `std/<name>/enum.<Name>.html` |

Fetch

Use available tools to get doc.rust-lang.org content.

Cache

Location: `~/.claude/cache/rust-docs/std/{module}/{item}.json` TTL: 30 days (std is stable)

Output (Standard Mode)

## std::<Item>

**Signature:**
\`\`\`rust
<signature>
\`\`\`

**Description:** <main doc>

**Key Points:**
- point 1
- point 2

Validation

1. Content is not empty 2. Not a 404 page 3. Contains signature or docblock 4. On failure: "Fetch failed: {reason}, see doc.rust-lang.org"

---

Negotiation Mode

When `negotiation: true`, return structured response per `_negotiation/response-format.md`.

Confidence Assessment

| Data Found | Confidence | |------------|------------| | Full documentation | HIGH | | Basic documentation | MEDIUM | | Minimal/stub docs | LOW | | Not found | UNCERTAIN |

**Note:** std docs are generally HIGH confidence when found, as they are official and stable.

Gap Categories

Standard gaps to check:

  • [ ] Implementation details not covered
  • [ ] Platform-specific behavior unclear
  • [ ] Related traits not fetched
  • [ ] Performance characteristics unknown
  • [ ] Unsafe usage notes missing
  • [ ] no_std compatibility unclear

Context Questions

When std documentation request needs clarification:

| Situation | Question | |-----------|----------| | Platform-specific | "Which platform/target?" | | no_std context | "Is this for no_std environment?" | | Thread safety | "Do you need thread-safety guarantees?" | | Unsafe usage | "Are you using this in unsafe context?" |

Negotiation Response Template

## Negotiation Response

### Findings
**Item:** std::<path>::<Item>
**Signature:**
\`\`\`rust
<signature>
\`\`\`
**Key Points:**
- Point 1
- Point 2

**Related items:** [if relevant]

### Confidence
- **Level**: [HIGH|MEDIUM|LOW|UNCERTAIN]
- **Reason**: [e.g., "Official Rust documentation"]

### Gaps Identified
- [ ] [Specific gap 1]
- [ ] [Specific gap 2]

### Context Needed
- Q1: [If ambiguous]

### Metadata
- **Source**: doc.rust-lang.org/std
- **Coverage**: [e.g., "95% - standard docs complete"]

Related Documents

  • `_negotiation/response-format.md` - Response structure
  • `_negotiation/confidence-rubric.md` - Confidence criteria
Read more
Ships withrust-skills

AI-powered Rust development assistant with meta-cognition framework

Get the whole plugin