rust-skills

Apply 179 Rust coding guidelines across 14 categories for writing, reviewing, and refactoring code.

26|15|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/sleepyvani/tablemax --skill rust-skills-sleepyvani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-skills
Source: https://github.com/sleepyvani/tablemax/tree/main/.agents/skills/rust-skills
Command: npx skills add https://github.com/sleepyvani/tablemax --skill rust-skills-sleepyvani

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 idiomatic patterns for writing high-quality, efficient, and maintainable Rust code, addressing common pitfalls and optimizing performance.

Core Features & Use Cases

  • Code Quality: Enforces Rust API guidelines, naming conventions, and type safety.
  • Performance Optimization: Offers rules for memory management, compiler optimizations, and performance patterns.
  • Use Case: When writing a new Rust function, use this Skill to ensure it adheres to best practices for ownership, error handling, and API design, preventing common bugs and improving maintainability.

Quick Start

Ask your AI assistant to review your Rust code using the rust-skills.

Frequently Asked Questions about rust-skills

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

FAQPage Schema
How do I review Rust code for idiomatic patterns and best practices?

Reviewing Rust code for idiomatic patterns is straightforward with 179 expert coding rules covering ownership, error handling, API design, and anti-patterns. You can enforce naming conventions, type safety, and coding standards during your code review process.

What are the best practices for optimizing Rust performance and memory management?

Best practices for optimizing Rust performance include applying specific rules for memory management and compiler optimizations. This Skill provides targeted guidelines to improve memory efficiency and enforce performance patterns across your codebase.

Can I use this for refactoring async Rust code and fixing common anti-patterns?

Yes, you can use it for refactoring async Rust code and fixing anti-patterns. It provides dedicated guidelines for async patterns and identifies common pitfalls to improve code maintainability and quality.

Does this Skill cover Rust API design guidelines and testing standards?

Yes, it covers Rust API design guidelines and testing standards comprehensively. You get specific rules for API design, documentation, and testing across 14 categories to ensure type safety and maintainability.

How do I write idiomatic Rust code that properly handles ownership and errors?

To write idiomatic Rust code, apply the provided ownership and error handling rules. It enforces Rust API guidelines and type safety, preventing common bugs and improving overall code maintainability when writing new functions.