Skills for Real Engineers. Straight from my .agents directory.
rust-review
Agent skill frommorganlinton/BeautifulRust
Review existing Rust code for idiom, API design, error handling, safety, and maintainability, and produce a prioritized report where every finding cites the rule it breaks and gives a concrete fix. Use this whenever the user asks to review, audit, critique, grade, or "check" Rust code, a crate, a module, a .rs file, a diff, or a pull request, or asks what is wrong with their Rust or how to make it more idiomatic, even if they don't say "review". Pairs with the rust-best-practices skill, which covers writing new code.
How to install rust-review
npx skills add morganlinton/BeautifulRust# or add only this skill to Claude Code: copy the folder
skills/rust-review/
# into
~/.claude/skills/rust-review/ (all projects)
.claude/skills/rust-review/ (one project)
1# Rust review23Review Rust code against the same rules the `rust-best-practices` skill uses for writing4it, and report what to change. The output is a review, not a rewrite: the reader decides5what to fix. Only rewrite code when the user asks for that.67## 1. Decide the scope89- **What to read.** Review exactly what the user pointed at: a file, a module, a crate,10 or a diff. For a diff, review the changed lines and anything they break, not the whole11 file.12- **Library or application.** Check for a `lib.rs`, `pub` items used by other crates, or13 a published `Cargo.toml`. Library code is held to the API-design rules strictly.14 Application code gets the simplicity rules instead: concrete types, `anyhow`-style15 errors, and no speculative generality. Say which you assumed at the top of the report.16- **The edition and MSRV**, from `Cargo.toml`, so you don't recommend features the17 project can't use.18- **Frameworks.** If the crate depends on `bevy` or `bevy_ecs`, read the Bevy digest19 (`bevy.md`) in the `rust-best-practices` skill's references first. It lists the Bevy20 conventions to leave alone (by-value system parameters, the prelude, plain-data21 components) and the ECS bugs to look for.2223## 2. Run the tools first, if you can2425If a Rust toolchain is available, run these from the crate root and fold the results into26the report. They catch the mechanical issues, which leaves you free for design.2728```bash29cargo fmt --check30…
Excerpt shown under the repository's MIT license.
More skills in BeautifulRust
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
