theafh/ai-modules · plugins/ai_dev/skills/format_rust/SKILL.md

format_rust skillA

format_rust is agent-read markdown (skill) from theafh/ai-modules: Apply clippy-aligned Rust practices when writing or editing Rust code (.rs). Covers procedural flow, clippy-driven clarity improvements, minimal imports, Result/Option idioms, the error-versus-invariant model with panic discipline and clippy unwrap_used enforcement, fallible builders following the error idiom by consumer, string prefix/suffix handling, borrowing clarity, iteration style, string building, and function signature grouping..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

How to install

Latest version
mdr add theafh/ai-modules/format_rust@v1.3.2
Exact content
mdr add theafh/ai-modules/format_rust@sha256:ecd5d410d591a0cf

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_3eogwbpyyblie2g6.svg)](https://markdownregistry.com/a/art_3eogwbpyyblie2g6)

0 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.3.2 latest2026-09-05 e04ae6b 6,433 BA view · diff
v1.3.12026-08-09 37e3ba6 6,427 BA view · diff
v1.3.02026-05-03 218abb8 2,092 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.

Source

GitHub

theafh/ai-modules · 38 stars · license MIT · pushed 2026-09-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_3eogwbpyyblie2g6
GET https://markdownregistry.com/api/v1/resolve?ref=theafh/ai-modules/format_rust
GET https://markdownregistry.com/api/v1/blob/ecd5d410d591a0cfb6c2257f849c17311c24ff42cc6a45f59e0d8a71a7cabebb