Review a Rust function
Uses rust-skills
- A Rust function supplied to the agent for review
/rust-skills review this function

This skill provides 265 prioritized rules for writing idiomatic, safe, and performant Rust code with AI coding agents. It covers ownership, error handling, async patterns, memory optimization, unsafe code, API design, and more, drawing from the Rust API Guidelines, Performance Book, and patterns in major crates. It helps Rust developers, library authors, and performance engineers produce code that follows community conventions and avoids common pitfalls.
Follow the documented setup, then try a first task.
Installs: Installs the complete Rust Skills bundle for detected compatible agents. · Claude Code, Cursor, Windsurf, Copilot, Codex, Aider, Zed, Amp, Cline
Run this terminal command; the CLI detects installed agents and chooses their skill locations.
npx add-skill leonardomso/rust-skills
Installs: Installs the complete Rust Skills bundle globally for all projects. · Claude Code
Run this terminal command to clone the bundle into Claude Code's global skills location.
git clone https://github.com/leonardomso/rust-skills.git ~/.claude/skills/rust-skills
Installs: Installs the complete Rust Skills bundle for one project. · Claude Code
Run from: The project directory
From the project directory, run this terminal command to clone the bundle into its Claude Code skills location.
git clone https://github.com/leonardomso/rust-skills.git .claude/skills/rust-skills
Installs: Installs the complete Rust Skills bundle in the current workspace's OpenCode skills directory. · OpenCode
Run from: The workspace where `.opencode/skills/rust-skills` should be created
Run this terminal command from the intended workspace.
git clone https://github.com/leonardomso/rust-skills.git .opencode/skills/rust-skills
Installs: Installs the complete Rust Skills bundle in the current workspace's Cursor skills directory. · Cursor
Run from: The workspace where `.cursor/skills/rust-skills` should be created
Run this terminal command from the intended workspace.
git clone https://github.com/leonardomso/rust-skills.git .cursor/skills/rust-skills
Uses rust-skills
/rust-skills review this function
Uses rust-skills
/rust-skills is my error handling idiomatic?
Uses rust-skills
/rust-skills is this unsafe block sound?