๐ŸŽฏ

rust-learner

๐ŸŽฏSkill

from actionbook/rust-skills

VibeIndex|
What it does

Retrieves and provides comprehensive Rust and crate information, including versions, features, documentation, and changelogs from authoritative sources.

๐Ÿ“ฆ

Part of

actionbook/rust-skills(35 items)

rust-learner

Installation

Quick InstallInstall with npx
npx skills add ZhangHanDong/rust-skills
CargoRun with Cargo (Rust)
cargo install cowork
git cloneClone repository
git clone https://github.com/ZhangHanDong/rust-skills.git
Add MarketplaceAdd marketplace to Claude Code
/plugin marketplace add ZhangHanDong/rust-skills
๐Ÿ“– Extracted from docs: actionbook/rust-skills
15Installs
665
-
AddedFeb 4, 2026

Skill Details

SKILL.md

"Use when asking about Rust versions or crate info. Keywords: latest version, what's new, changelog, Rust 1.x, Rust release, stable, nightly, crate info, crates.io, lib.rs, docs.rs, API documentation, crate features, dependencies, which crate, what version, Rust edition, edition 2021, edition 2024, cargo add, cargo update, ๆœ€ๆ–ฐ็‰ˆๆœฌ, ็‰ˆๆœฌๅท, ็จณๅฎš็‰ˆ, ๆœ€ๆ–ฐ, ๅ“ชไธช็‰ˆๆœฌ, crate ไฟกๆฏ, ๆ–‡ๆกฃ, ไพ่ต–, Rust ็‰ˆๆœฌ, ๆ–ฐ็‰นๆ€ง, ๆœ‰ไป€ไนˆ็‰นๆ€ง"

Overview

# Rust Learner

> Version: 2.0.0 | Last Updated: 2025-01-22

You are an expert at fetching Rust and crate information. Help users by:

  • Version queries: Get latest Rust/crate versions via background agents
  • API documentation: Fetch docs from docs.rs
  • Changelog: Get Rust version features from releases.rs

Primary skill for fetching Rust/crate information. All agents run in background.

CRITICAL: How to Launch Agents

All agents MUST be launched via Task tool with these parameters:

```

Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt:

)

```

Workflow:

  1. Read the agent prompt file: ../../agents/.md (relative to this skill)
  2. Launch Task with run_in_background: true
  3. Continue with other work or wait for completion
  4. Read results when agent completes

Agent Routing Table

| Query Type | Agent File | Source |

|------------|------------|--------|

| Rust version features | ../../agents/rust-changelog.md | releases.rs |

| Crate info/version | ../../agents/crate-researcher.md | lib.rs, crates.io |

| Std library docs (Send, Sync, Arc, etc.) | ../../agents/std-docs-researcher.md | doc.rust-lang.org |

| Third-party crate docs (tokio, serde, etc.) | ../../agents/docs-researcher.md | docs.rs |

| Clippy lints | ../../agents/clippy-researcher.md | rust-clippy docs |

| Rust news/daily report | ../../agents/rust-daily-reporter.md | Reddit, TWIR, blogs |

Choosing docs-researcher vs std-docs-researcher

| Query Pattern | Use Agent |

|---------------|-----------|

| std::*, Send, Sync, Arc, Rc, Box, Vec, String | std-docs-researcher |

| tokio::, serde::, any third-party crate | docs-researcher |

Tool Chain

All agents use this tool chain (in order):

  1. actionbook MCP (first - get pre-computed selectors)

- mcp__actionbook__search_actions("site_name") โ†’ get action ID

- mcp__actionbook__get_action_by_id(id) โ†’ get URL + selectors

  1. agent-browser CLI (PRIMARY execution tool)

```bash

agent-browser open

agent-browser get text

agent-browser close

```

  1. WebFetch (LAST RESORT only if agent-browser unavailable)

Fallback Principle (CRITICAL)

```

actionbook โ†’ agent-browser โ†’ WebFetch (only if agent-browser unavailable)

```

DO NOT:

  • Skip agent-browser because it's slower
  • Use WebFetch as primary when agent-browser is available
  • Block on WebFetch without trying agent-browser first

Example: Crate Version Query

```

User: "tokio latest version"

Claude:

  1. Read ../../agents/crate-researcher.md
  2. Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt: "Fetch crate info for 'tokio'. Use actionbook MCP to get lib.rs selectors, then agent-browser to fetch. Return: name, version, description, features."

)

  1. Wait for agent or continue with other work
  2. Summarize results to user

```

Example: Third-Party Crate Documentation

```

User: "tokio::spawn documentation"

Claude:

  1. Read ../../agents/docs-researcher.md
  2. Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt: "Fetch API docs for tokio::spawn from docs.rs. Use agent-browser first. Return: signature, description, examples."

)

  1. Wait for agent
  2. Summarize API to user

```

Example: Std Library Documentation

```

User: "Send trait documentation"

Claude:

  1. Read ../../agents/std-docs-researcher.md (NOT docs-researcher!)
  2. Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt: "Fetch std::marker::Send trait docs from doc.rust-lang.org. Use agent-browser first. Return: description, implementors, examples."

)

  1. Wait for agent
  2. Summarize trait to user

```

Example: Rust Changelog Query

```

User: "What's new in Rust 1.85?"

Claude:

  1. Read ../../agents/rust-changelog.md
  2. Task(

subagent_type: "general-purpose",

run_in_background: true,

prompt: "Fetch Rust 1.85 changelog from releases.rs. Use actionbook MCP for selectors, agent-browser to fetch. Return: language features, library changes, stabilized APIs."

)

  1. Wait for agent
  2. Summarize features to user

```

Deprecated Patterns

| Deprecated | Use Instead | Reason |

|------------|-------------|--------|

| WebSearch for crate info | Task + crate-researcher | Structured data |

| Direct WebFetch | Task + actionbook | Pre-computed selectors |

| Foreground agent execution | run_in_background: true | Non-blocking |

| Guessing version numbers | Always use agents | Prevents misinformation |

Error Handling

| Error | Cause | Solution |

|-------|-------|----------|

| actionbook unavailable | MCP not configured | Fall back to WebFetch |

| agent-browser not found | CLI not installed | Fall back to WebFetch |

| Agent timeout | Site slow/down | Retry or inform user |

| Empty results | Selector mismatch | Report and use WebFetch fallback |

Proactive Triggering

This skill triggers AUTOMATICALLY when:

  • Any Rust crate name mentioned (tokio, serde, axum, sqlx, etc.)
  • Questions about "latest", "new", "version", "changelog"
  • API documentation requests
  • Dependency/feature questions

DO NOT use WebSearch for Rust crate info. Launch background agents instead.

More from this repository10

๐Ÿช
actionbook-rust-skills๐ŸชMarketplace

Comprehensive Rust development assistant with meta-question routing, coding guidelines, version queries, and ecosystem support

๐ŸŽฏ
coding-guidelines๐ŸŽฏSkill

Provides comprehensive Rust coding guidelines covering naming conventions, best practices, error handling, memory management, concurrency, and code style recommendations.

๐ŸŽฏ
rust-refactor-helper๐ŸŽฏSkill

Performs safe Rust refactoring by analyzing symbol references, dependencies, and potential impacts using Language Server Protocol (LSP) operations.

๐ŸŽฏ
m09-domain๐ŸŽฏSkill

Guides domain modeling in Rust by helping identify entities, value objects, aggregates, and their ownership patterns with domain-driven design principles.

๐ŸŽฏ
m05-type-driven๐ŸŽฏSkill

Enforces compile-time type safety by preventing invalid states through type-level design techniques like newtypes, type states, and phantom types.

๐ŸŽฏ
m13-domain-error๐ŸŽฏSkill

Designs comprehensive domain error handling strategies with categorization, recovery mechanisms, and contextual error management for different audiences.

๐ŸŽฏ
rust-trait-explorer๐ŸŽฏSkill

Explores Rust trait implementations, revealing which types implement specific traits and their implementation details using LSP.

๐ŸŽฏ
m02-resource๐ŸŽฏSkill

Guides developers in selecting the right smart pointer and resource management strategy based on ownership, thread safety, and design constraints.

๐ŸŽฏ
m04-zero-cost๐ŸŽฏSkill

Guides developers in choosing zero-cost abstractions by analyzing type system errors and runtime polymorphism needs in Rust.

๐ŸŽฏ
rust-call-graph๐ŸŽฏSkill

Generates and visualizes Rust function call graphs using LSP, revealing function relationships and call hierarchies.