01
It starts by itself
Rust pull request opened. Runs in GitHub Actions or Claude Code routine.
- ↻ Rust pull request opened
pull request touches .rs files
Keep Rust code idiomatic and safe.
Install the Rust Skills skill and make it a habit: follow https://gethabit.dev/skills/leonardomso/rust-skills.md
6K installs613 starsMIT licenceSource on GitHub ↗

Rust Skills
by leonardomso · 6K installs
The skill
The rust skills skill gives 265 Rust coding rules in 26 categories, from ownership and error handling to async, unsafe, API design and performance, ranked by impact.
Only when you ask.
The habit
Keep Rust code idiomatic and safe.
↻ Runs by itselfRust pull request opened
When does it start? How does it check its work? What does it remember?
Stops after 20 files or 2 fix rounds per run.
Your agent picks the rule prefixes for the change, such as own-, err- and async-.
It checks CRITICAL categories first, then HIGH, then MEDIUM.
It opens the matching file in rules/ for examples when unsure.
It scans for anti- rules like unwrap in production or locks across await.
It fixes findings and runs cargo fmt --check, clippy and tests.
It writes only in its own folder and asks you before anything goes out.
Read both lists. If the left one sounds like you, the Rust Skills skill helps.
265 rules in 26 categories, ranked from CRITICAL to LOW.
Rust 1.96 and the 2024 edition.
Copy the prompt at the top into your agent. It installs the skill from leonardomso/rust-skills and sets up the habit. Or run npx skills add leonardomso/rust-skills --skill rust-skills.
Yes. It is published under MIT. Habit is free too.
Install the Rust Skills skill and make it a habit: follow https://gethabit.dev/skills/leonardomso/rust-skills.md
All leonardomso skills →More code skills →
Works in
Made by leonardomso, published under MIT. Habit links to the original and never changes it. Is this your skill?