rust-skills

Review Rust code against 179 rules across 14 categories.

Updated Feb 16, 2026
One-click install
npx skills add https://github.com/curtisault/rust-skills --skill rust-skills-curtisault
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-skills
Source: https://github.com/curtisault/rust-skills/tree/main
Command: npx skills add https://github.com/curtisault/rust-skills --skill rust-skills-curtisault

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of best practices and rules for writing high-quality, idiomatic, and performant Rust code, eliminating common pitfalls and improving code maintainability.

Core Features & Use Cases

  • Code Quality: Enforces best practices for ownership, error handling, API design, and more.
  • Performance: Offers rules for memory optimization, concurrency, and compiler optimizations.
  • Use Case: Use this Skill during code reviews or when writing new Rust code to ensure adherence to established Rust idioms and performance guidelines, catching potential issues before they become bugs.

Quick Start

Use the rust-skills skill to review my Rust function for common mistakes.

Frequently Asked Questions about rust-skills

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my Rust code for common anti-patterns and ownership mistakes?

You can check Rust code against 179 expert rules covering ownership, error handling, and anti-patterns by invoking the rust-skills command during code reviews to enforce idiomatic coding standards.

What are the best practices for optimizing async patterns and memory in Rust?

Best practices for optimizing async patterns and memory in Rust involve following established rules for memory optimization and concurrency to achieve efficient compiler optimizations and avoid common performance bottlenecks.

Can I use this to review API design and error handling in existing Rust projects?

Yes, you can use this Skill to review existing Rust projects by applying its 179 rules across 14 categories, specifically targeting API design, error handling, and code quality assurance.

Does this cover testing standards and coding conventions for Rust development?

Yes, this covers testing standards and coding conventions by providing a comprehensive set of rules across 14 categories to guide AI in generating high-quality, maintainable, and idiomatic Rust code.

What is the best way to ensure my Rust code adheres to established idioms?

The best way to ensure Rust code adheres to established idioms is to apply a comprehensive set of best practice rules during code generation and refactoring to catch potential issues before they become bugs.

Why should I use coding rules for Rust code generation instead of manual review?

Using coding rules for Rust code generation eliminates common pitfalls by enforcing standards for ownership, performance, and API design systematically, improving code maintainability beyond manual review capabilities.