Rust code review
Reviews Rust code for idiom, errors, safety and API design, with a ranked report and a fix for every finding.
Claude's review
8/10 Prioritised Rust review checklist with report format and rule citations.
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
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 you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: rust-review
description: >-
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.
---
# Rust review
Review Rust code against the same rules the `rust-best-practices` skill uses for writing
it, and report what to change. The output is a review, not a rewrite: the reader decides
what to fix. Only rewrite code when the user asks for that.
## 1. Decide the scope
- **What to read.** Review exactly what the user pointed at: a file, a module, a crate,
or a diff. For a diff, review the changed lines and anything they break, not the whole
file.
- **Library or application.** Check for a `lib.rs`, `pub` items used by other crates, or
a published `Cargo.toml`. Library code is held to the API-design rules strictly.
Application code gets the simplicity rules instead: concrete types, `anyhow`-style
errors, and no speculative generality. Say which you assumed at the top of the report.
- **The edition and MSRV**, from `Cargo.toml`, so you don't recommend features the
project can't use.
- **Frameworks.** If the crate depends on `bevy` or `bevy_ecs`, read the Bevy digest
(`bevy.md`) in the `rust-best-practices` skill's references first. It lists the Bevy
conventions to leave alone (by-value system parameters, the prelude, plain-data
components) and the ECS bugs to look for.
## 2. Run the tools first, if you can
If a Rust toolchain is available, run these from the crate root and fold the results into
the report. They catch the mechanical issues, which leaves you free for design.
```bash
...From morganlinton's repository, MIT licence.
Related skills
-
Checked
Kotlin Toolchain CLI
Builds, tests and packages Kotlin projects with the new JetBrains Kotlin Toolchain CLI, formerly called Amper.
7/101 credit -
Checked
Rust best practices
Writes and reviews idiomatic, maintainable Rust code and runs a checklist before handing it back to you.
7/101 credit -
Checked
Port code to Rust
Ports C, C++, Python, Go or JavaScript code into idiomatic Rust, with tests that prove it behaves the same.
9/101 credit -
Checked
Java Debugging Guide
Finds the cause of Java bugs and failing tests, and attaches a debugger safely in Maven, Gradle, Spring or Docker.
7/101 credit -
Checked
Multi axis code review
Reviews a diff for correctness, design, tests and security with severity labels, so only solid code merges.
8/101 credit -
Checked
Python games with pygame
Builds and debugs 2D pygame games with a proper loop and delta time, so they run the same on any PC.
8/101 credit