Leaderboard/Code Quality/rust-skills
Last commit on June 14, 2026·Created on January 19, 2026

leonardomso/rust-skills

265 rules for writing Rust as the language expects.
Combined rank
#504
across all skills
In Code Quality
#15
category rank
Stars
525
+4.2% in last 7d
Forks
59
0.0% in last 7d
Watchers
11
0.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

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.

WHO IT'S FOR
Rust Backend Engineers
writing safe and idiomatic async Rust code
Rust Library Authors
designing public APIs and error types
Rust Systems Programmers
managing unsafe code and concurrency
Rust Code Reviewers
enforcing best practices and linting
Repository contents

1 skill file

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

I’m using

Automatic installation with add-skill

Installs: Installs the complete Rust Skills bundle for detected compatible agents. · Claude Code, Cursor, Windsurf, Copilot, Codex, Aider, Zed, Amp, Cline

Before you start
  • `npx` must be available.
  1. Run this terminal command; the CLI detects installed agents and chooses their skill locations.

    npx add-skill leonardomso/rust-skills
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026

Give it something to do.

Author’s example

Review a Rust function

Uses rust-skills

  • A Rust function supplied to the agent for review
/rust-skills review this function
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026
Author’s example

Check idiomatic Rust error handling

Uses rust-skills

  • Rust code containing the error-handling implementation to assess
/rust-skills is my error handling idiomatic?
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026
Author’s example

Review the soundness of an unsafe block

Uses rust-skills

  • The Rust unsafe block and enough surrounding code to evaluate it
/rust-skills is this unsafe block sound?
SKILL.md · Checked Sep 18, 2026README.md · Checked Sep 18, 2026