Rust conventions
SkillMonitoring & opsApply when writing or editing Rust code in this crate — idioms, error handling, logging, and lint rules.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Rust conventions skill
What this skill tells your AI
The instructions your AI receives, as published by varfish-org/mehari in .claude/skills/rust/SKILL.md and read by ahel’s review.
- Edition 2024, MSRV 1.91. Don't use APIs newer than the MSRV.
- Errors:
anyhow::Resultfor application/CLI paths (add.context(...));thiserrorenums for library error types (src/errors.rs). - No panics in library code: no
unwrap/expect/panic!/todo!on reachable paths — returnResult. Tests mayunwrap. - Logging:
tracingspans/events, notprintln!. Verbosity viaclap-verbosity-flag. - Parallelism:
rayoniterators for data-parallel work. - Newtypes: use
nutypewhere a wrapper adds real invariants/safety; don't wrap for its own sake. - Lints: keep clippy clean. CI runs
cargo clippy --workspace --all-features(no-D warningshere, but fix warnings anyway). Runcargo fmtbefore finishing. - Prefer crates already in the tree (itertools, indexmap, rustc-hash, strum, enumflags2) over hand-rolling.
Signals
- GitHub stars
- 33
- Forks
- 2
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
rust-varfish-org- Source
- github.com/varfish-org/mehari