# rust-skill-creator

Builds assistant skills from Rust crate docs or the standard library. Saves API details and code examples to local files.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 3000 installs · ★ 1545
- Author: actionbook
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/actionbook/rust-skills/tree/HEAD/skills/rust-skill-creator/SKILL.md
- Updated: 2026-08-23
- HTML: https://affpapa.org/en/nevibecode/skills/rust-skill-creator

## What it does

The skill converts crate pages on docs.rs or standard library references on doc.rust-lang.org into local context files. Pass a crate name like axum or a module path like `std::sync`, and your agent extracts key traits and code samples.

Execution branches into two paths. When companion commands `/create-llms-for-skills` and `/create-skills-via-llms` are installed, it runs through them. Otherwise, it uses `agent-browser` or `WebFetch` to scrape HTML blocks, writing everything to `~/.claude/skills/`.

Target packages must exist on crates.io, because unverified documentation URLs cause immediate failures. Make sure `agent-browser` is configured if you run without companion helper commands.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill rust-skill-creator -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/rust-skill-creator/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/rust-skill-creator/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill rust-skill-creator -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/rust-skill-creator/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill rust-skill-creator -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/rust-skill-creator/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install actionbook/rust-skills rust-skill-creator
```

2. **Manually: put the files in place**
- File: `.github/skills/rust-skill-creator/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill rust-skill-creator -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/actionbook/rust-skills --path skills/rust-skill-creator
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/rust-skill-creator/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add actionbook/rust-skills --skill rust-skill-creator -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/actionbook/rust-skills/tree/HEAD/skills/rust-skill-creator/SKILL.md

## When to use it
- generate local skills for third-party Rust crates
- extract standard library trait and struct documentation
- structure API references and usage patterns for assistant memory

## Example prompts
- Make a skill for the tokio crate
- Generate a reference skill for std::marker::Send
- Build a skill for axum focusing on routing handlers

## Similar
- [rust](https://affpapa.org/en/nevibecode/skills/rust.md) — skill · 922 installs
- [rust-no-std](https://affpapa.org/en/nevibecode/skills/rust-no-std.md) — skill · 474 installs
- [rust-refactor](https://affpapa.org/en/nevibecode/skills/rust-refactor.md) — skill · 314 installs
- [rust-best-practices](https://affpapa.org/en/nevibecode/skills/rust-best-practices.md) — skill · 21100 installs
- [rust-async-patterns](https://affpapa.org/en/nevibecode/skills/rust-async-patterns.md) — skill · 20625 installs
- [rust-mcp-server-generator](https://affpapa.org/en/nevibecode/skills/rust-mcp-server-generator.md) — skill · 9181 installs

From the same set: [actionbook/rust-skills](https://affpapa.org/en/nevibecode/by/actionbook/rust-skills.md) — 33 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
