rust-coding

Installation
SKILL.md

Naming Conventions (Rust-Specific)

Rule Correct Incorrect
No get_ prefix for methods fn name(&self) fn get_name(&self)
Iterator methods iter() / iter_mut() / into_iter() get_iter()
Conversion naming as_ (cheap), to_ (expensive), into_ (ownership) Mixed usage
static variables uppercase static CONFIG: Config static config: Config
const variables const BUFFER_SIZE: usize = 1024 No restriction

General Naming

// Variables and functions: snake_case
let max_connections = 100;
fn process_data() { ... }

// Types and traits: CamelCase
Related skills
Installs
12
GitHub Stars
29
First Seen
Jan 30, 2026