rust-rules
Installation
SKILL.md
Rust Rules
These rules come from app/rules/rust/ in ai-toolkit. They cover
the project's standards for coding style, frameworks, patterns,
security, and testing in Rust. Apply them when writing or
reviewing Rust code.
Rust Coding Style
Naming
- snake_case: functions, methods, variables, modules, crates.
- PascalCase: types, traits, enums, structs, type parameters.
- SCREAMING_SNAKE: constants and statics.
- Short lifetimes:
'a,'b. Descriptive only when multiple coexist:'input,'output. - Crate names: kebab-case in Cargo.toml, snake_case in code.