leonardomsoleonardomsoCommunityยท1 Agent Skills Included

rust-skills

Idiomatic Rust coding rules for writing, reviewing, refactoring

Applies 265 expert Rust rules across 26 categories when writing, reviewing, or refactoring code. Fixes common mistakes like needless cloning, unwrap abuse, unsafe blocks, and wasteful allocations. Loads only the relevant rules for each task, keeping reviews fast, focused, and cheap on context.
npx skills add leonardomso/rust-skills --all -g -y
Available:

Tells your AI agent when to apply the 265 Rust rules and routes it to only the relevant category files for the code being written or reviewed.

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install rust-skills?โ–ผ

Run `npx skills add leonardomso/rust-skills --all -g -y` in your terminal to install the full rule set globally.

How to make AI write better Rust code?โ–ผ

Install this skill and ask your agent to review or write Rust; it automatically applies 265 expert rules on ownership, error handling, async, and performance.

Does rust-skills work with Claude Code and Cursor?โ–ผ

Yes. It follows the universal SKILL.md standard and works with Claude Code, Cursor, Windsurf, Copilot, Codex, Aider, Zed, and other compatible agents.

What Rust problems does rust-skills catch?โ–ผ

It catches excessive cloning, unwrap abuse, locks held across await points, unsafe code without safety comments, and dozens of other anti-patterns with before-and-after fixes.

Is rust-skills up to date with modern Rust?โ–ผ

Yes. The rules are current for Rust 1.96 and the 2024 edition, covering native async fn in traits, let-else, and updated unsafe attribute syntax.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’