
Rust Learner
Resolve Rust stable/nightly versions, crate versions, docs.rs APIs, changelogs, and Clippy lint references without leaving the agent.
Overview
Rust-learner is a journey-wide agent skill that fetches Rust compiler, crate, docs.rs, changelog, and Clippy information—usable whenever a solo builder needs verified versions and APIs before committing dependencies.
Install
npx skills add https://github.com/zhanghandong/rust-skills --skill rust-learnerWhat is this skill?
- Version 2.1.0 skill with execution-mode detection before agent delegation
- Crate info and version queries via crate-researcher agent path
- Rust release features via rust-changelog agent and releases.rs
- Std and third-party docs via std-docs-researcher and docs-researcher agents
- Clippy lint lookup via clippy-researcher for correctness fixes
- Skill version 2.1.0 (documented in SKILL.md header)
Adoption & trust: 654 installs on skills.sh; 1.2k GitHub stars; 1/3 security scanners passed (skills.sh audits).
What problem does it solve?
You are unsure which Rust or crate version is current, or you need docs.rs and changelog facts the model might hallucinate.
Who is it for?
Indie Rust developers choosing crates, upgrading toolchains, or reading API docs during Build, Ship review, or Operate maintenance.
Skip if: Non-Rust stacks, or tasks that need full codebase refactors rather than version and documentation lookup.
When should I use this skill?
Asking about Rust versions, crate info, docs.rs, changelogs, editions, or Clippy lints (keywords: latest version, crates.io, cargo add, 最新版本).
What do I get? / Deliverables
You get routed, tool-backed answers on versions, features, editions, dependencies, and documentation suitable for cargo add or upgrade decisions.
- Version and crate fact summary
- Linked documentation excerpts
- Edition and dependency recommendations
Recommended Skills
Journey fit
Useful at every journey phase - explore requirements and options before committing to a direction.
Where it fits
Confirm which async runtime crate version matches your target Rust stable before spike code.
Pull docs.rs signatures before wiring a new dependency into your API crate.
Cross-check Clippy lint names against current docs before a release candidate.
Read releases.rs notes after a toolchain bump to see if a breaking std API affects production.
How it compares
Use instead of asking the model to invent crate versions—this skill is built to hit docs.rs, crates.io, and changelog sources via agents.
Common Questions / FAQ
Who is rust-learner for?
Solo builders and small teams shipping Rust CLIs, services, or agents who need live crate and compiler facts.
When should I use rust-learner?
In Build when picking dependencies, in Validate when scoping a Rust prototype stack, in Ship when verifying edition compatibility, and in Operate when upgrading toolchains after a release.
Is rust-learner safe to install?
It may run Bash and MCP lookups; review the Security Audits panel on this page and restrict network/tool access in sensitive environments.
SKILL.md
READMESKILL.md - Rust Learner
# Rust Learner > **Version:** 2.1.0 | **Last Updated:** 2025-01-27 You are an expert at fetching Rust and crate information. Help users by: - **Version queries**: Get latest Rust/crate versions - **API documentation**: Fetch docs from docs.rs - **Changelog**: Get Rust version features from releases.rs **Primary skill for fetching Rust/crate information.** ## Execution Mode Detection **CRITICAL: Check agent file availability first to determine execution mode.** Try to read the agent file for your query type. The execution mode depends on whether the file exists: | Query Type | Agent File Path | |------------|-----------------| | Crate info/version | `../../agents/crate-researcher.md` | | Rust version features | `../../agents/rust-changelog.md` | | Std library docs | `../../agents/std-docs-researcher.md` | | Third-party crate docs | `../../agents/docs-researcher.md` | | Clippy lints | `../../agents/clippy-researcher.md` | --- ## Agent Mode (Plugin Install) **When agent files exist at `../../agents/`:** ### Workflow 1. Read the appropriate agent file (relative to this skill) 2. Launch Task with `run_in_background: true` 3. Continue with other work or wait for completion 4. Summarize results to user ``` Task( subagent_type: "general-purpose", run_in_background: true, prompt: <read from ../../agents/*.md file> ) ``` ### 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 | ### Agent Mode Examples **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: <agent content>) 3. Wait for agent 4. Summarize results ``` **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: <agent content>) 3. Wait for agent 4. Summarize features ``` --- ## Inline Mode (Skills-only Install) **When agent files are NOT available, execute directly using these steps:** ### Crate Info Query ``` 1. actionbook: mcp__actionbook__search_actions("lib.rs crate info") 2. Get action details: mcp__actionbook__get_action_by_id(<action_id>) 3. agent-browser CLI (or WebFetch fallback): - open "https://lib.rs/crates/{crate_name}" - get text using selector from actionbook - close 4. Parse and format output ``` **Output Format:** ```markdown ## {Crate Name} **Version:** {latest} **Description:** {description} **Features:** - `feature1`: description **Links:** - [docs.rs](https://docs.rs/{crate}) | [crates.io](https://crates.io/crates/{crate}) | [repo]({repo_url}) ``` ### Rust Version Query ``` 1. actionbook: mcp__actionbook__search_actions("releases.rs rust changelog") 2. Get action details for selectors 3. agent-browser CLI (or WebFetch fallback): - open "https://releases.rs/docs/1.{version}.0/" - get text using selector from actionbook - close 4. Parse and format output ``` **Output Format:** ```markdown ## Rust 1.{