Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides 268 Rust rules across 26 categories for writing, reviewing, and refactoring idiomatic, safe, and fast Rust code.
82% 91%+9 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 18 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
268 rules across 26 categories for idiomatic, safe, and fast Rust. Current for Rust 1.100 (2024 edition). This file is the index; each rule lives in rules/<id>.md next to it.
own-slice-over-vec) and the fix.Done when every rule you opened is either applied or skipped for a stated reason.
If rules/ is not next to this file (a single-file install), fetch a rule from https://raw.githubusercontent.com/leonardomso/rust-skills/master/rules/<id>.md.
| Task | Categories |
|---|---|
| New function | own-, err-, name-, pat- |
| New struct or public API | api-, type-, trait-, conv-, doc- |
| Error handling | err-, api-, pat- |
| Borrow-checker or lifetime errors | own-, closure- |
| Async code | async-, own- |
| Threads, locks, atomics | conc-, own-, async- |
| Unsafe code or FFI | unsafe-, type-, test- |
| Conversions and parsing | conv-, api- |
| Serialization (serde) | serde-, type-, api- |
| Numeric / arithmetic | num-, type- |
| Macros / code generation | macro- |
| Closures / callbacks | closure-, type- |
| Collections | coll-, mem-, perf- |
| Logging / observability | obs-, err- |
| Tests and benchmarks | test-, perf- |
| Memory use | mem-, own-, perf- |
| Performance tuning | perf-, opt-, mem- |
| Cargo.toml, workspace, CI setup | proj-, lint-, opt-, perf-release-profile |
| Code review | every category the code touches, then anti- |
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.