Registry / theafh

theafh/ai-modules/format-rust

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.

Agent skill · version 0.0.0-main.1795944250.gb9bc15b · from theafh/ai-modules

Install

npx yarkr-cli add skill:theafh/ai-modules/format-rust

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:theafh/ai-modules/format-rust
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:theafh/ai-modules/format-rust

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:theafh/ai-modules/format-rust

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.