# rust-pro

Guides Rust work on services, libraries, and systems tools, from ownership and async design to tests and performance profiling.

- skill · `type=skill` · Claude Code · 57 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/rust-pro
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/rust-pro

## What it does

Use this skill to work through Rust design and implementation tasks. It covers ownership, borrowing, lifetimes, advanced type-system patterns, and error handling. For asynchronous projects, it discusses Tokio and related tools such as axum, tower, and hyper.

The workflow starts by clarifying performance, safety, and runtime constraints, then choosing an async and crate strategy. It calls for tests and linting before profiling hotspots. The subject matter also includes FFI, unsafe code, Cargo workspaces, and testing approaches. This is not aimed at quick scripts or projects where Rust cannot be added to the stack.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/rust-pro
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill rust-pro -a claude-code
```

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

### Codex

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

### Cursor

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

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates rust-pro
```

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

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/rust-pro
```

### Windsurf (Devin Desktop)

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

### 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/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/rust-pro

## When to use it
- Untangle ownership and lifetime errors
- Plan an async service with Tokio
- Choose an error-handling approach for a Rust API
- Add tests for a Rust library
- Profile a system tool to locate hotspots

## Example prompts
- Review this module and suggest a safe fix for its ownership issue.
- Plan an async web service using Tokio and explicit error handling.
- Add tests for this library and suggest a way to profile its hotspots.

## Similar
- [migrate-to-shoehorn](https://affpapa.org/en/nevibecode/skills/migrate-to-shoehorn.md) — skill · 475388 installs
- [write-swift](https://affpapa.org/en/nevibecode/skills/write-swift.md) — skill · 119300 installs
- [megacave](https://affpapa.org/en/nevibecode/skills/megacave.md) — skill · 25400 installs
- [find-docs](https://affpapa.org/en/nevibecode/skills/find-docs.md) — skill · 9400 installs
- [typescript-advanced-types](https://affpapa.org/en/nevibecode/skills/typescript-advanced-types.md) — skill · 92169 installs
- [smart-explore](https://affpapa.org/en/nevibecode/skills/smart-explore.md) — skill · 7300 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 804 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
