rust

Installation
SKILL.md

Rust Conventions

Naming Conventions (RFC 430)

Item Style Example
Crates snake_case my_crate (hyphens in Cargo.toml map to underscores)
Modules snake_case mod auth_handler;
Types (struct, enum, trait) PascalCase HttpRequest, ParseError
Functions, methods snake_case fn read_file()
Local variables snake_case let user_count = 0;
Constants, statics SCREAMING_SNAKE_CASE const MAX_RETRIES: u32 = 3;
Type parameters Short PascalCase T, K, V, E
Lifetimes Short lowercase 'a, 'de

The compiler warns on violations — treat these warnings as errors.

Conversion method prefixes

Installs
12
Repository
noih/dev-skills
First Seen
Apr 30, 2026