rust-coding-standards

Enforce Rust coding conventions covering naming, ownership, lifetimes, and error handling.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill rust-coding-standards-kleon6436
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-coding-standards
Source: https://github.com/kleon6436/GitHubCopilotSettings/tree/main/skills/rust-coding-standards
Command: npx skills add https://github.com/kleon6436/GitHubCopilotSettings --skill rust-coding-standards-kleon6436

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Rust coding conventions are defined and applied to ensure code consistency, readability, and safety across projects.

Core Features & Use Cases

  • Enforces naming conventions, type styling, and module organization aligned with Rust idioms.
  • Guides ownership, borrowing, lifetimes, and error handling to prevent common mistakes.
  • Provides a reference for code reviews and new implementations to maintain high-quality Rust code.

Quick Start

Review your Rust codebase and apply the defined coding standards to ensure consistent style and safe ownership.

Frequently Asked Questions about rust-coding-standards

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

FAQPage Schema
How do I enforce Rust coding conventions for ownership and borrowing?

Enforce Rust coding conventions by applying standards for ownership, borrowing, and lifetimes during code reviews. This prevents common memory safety mistakes and maintains idiomatic, safe code across your project.

What are the best Rust coding standards for async patterns and error handling?

Rust coding standards for async patterns and error handling provide clear guidelines to ensure safe, idiomatic implementations. They serve as a reference during new implementations to maintain high-quality, consistent code.

Can I use rustfmt and clippy standards to maintain consistent Rust code style?

Yes, you can ensure adherence to rustfmt and clippy standards. The guidelines include clear rules for in-repo application and automated checks to enforce naming conventions, type styling, and module organization.

Does this Rust coding style guide cover naming rules and module organization?

Yes, this Rust coding style guide enforces naming conventions, type styling, and module organization. It aligns your codebase with Rust idioms to ensure readability and consistency across the project.

When do I need to apply Rust coding standards during development?

Apply Rust coding standards during code reviews and new implementations. Using these guidelines as a reference ensures consistent style, safe ownership, and high-quality code across all project contributions.

Why should I use standardized Rust coding conventions in my project?

Standardized Rust coding conventions solve the problem of inconsistent code and safety risks. They define and apply rules for error handling, traits, and async patterns to ensure readability and safety across projects.