rust-pro — Claude Code skill for Rust development
Guides Rust work on services, libraries, and systems tools, from ownership and async design to tests and performance profiling.
npx claude-code-templates@latest --skill development/rust-proWhat rust-pro 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.
What it helps with
- 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 for the agent
- 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.
How to install rust-pro
1claude-code-templates
npx claude-code-templates@latest --skill development/rust-pro2Skills CLI (Vercel)
npx skills add davila7/claude-code-templates --skill rust-pro -a claude-code3Manually: put the files in place
~/.claude/skills/rust-pro/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/rust-pro/
Manually: put the files in place
.agents/skills/rust-pro/SKILL.mdFor all projects use ~/.agents/skills/
Manually: put the files in place
.cursor/skills/rust-pro/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install davila7/claude-code-templates rust-pro2Manually: put the files in place
.github/skills/rust-pro/SKILL.mdPlatform CLI
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/rust-proManually: put the files in place
.devin/skills/rust-pro/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about rust-pro
How do I install rust-pro in Claude Code?
Run npx claude-code-templates@latest --skill development/rust-pro.
What does rust-pro do?
It guides Rust development across ownership, type design, async code, testing, and profiling.
Which Rust version and async tools does it cover?
The skill targets Rust 1.75+ and covers Tokio-based async work, along with tools such as Clippy and Rustfmt.