AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Rust Review

Audits existing Rust code for soundness, error handling, API design, and idiom, then produces a prioritized review report with cited rules and minimal fixes.

Dev & CodingIntermediate★ 1,643⑂ 86AI score 8/10Last updated: Oct 30, 2026

What it does

  • Reviews exactly the scope you point at — a file, module, crate, diff, or PR — not the whole repo.
  • Reads Cargo.toml for edition/MSRV and decides library vs. application, applying the strict API rules only where they belong.
  • Runs cargo fmt --check, cargo clippy --all-targets -- -W clippy::pedantic, and cargo test first when a toolchain exists, folding grouped results into the report.
  • Walks a fixed priority order: correctness/soundness → error handling → API design → idiom → docs and tests.
  • Emits a Must fix / Should fix / Consider report where every finding has a file:line, a lookup-able rule citation (API Guidelines codes, Effective Rust items, Microsoft guidelines, clippy lints), a minimal code fix, and a mandatory "What's already good" section.

Who it's for

  • Rust developers polishing a crate before publishing to crates.io.
  • Teams that want consistent PR reviews catching reachable panics, unsafe without SAFETY comments, and Ord/Eq mismatches.
  • Bevy users who need ECS-specific checks like B0001 conflicting mutable queries.

Examples

  1. "Review src/parser.rs" → clippy warnings grouped into single findings, with externally reachable unwrap() calls flagged as Must fix.
  2. "Audit this PR diff" → only the changed lines and what they break are reviewed.
  3. "Is my crate's API publish-ready?" → flags anyhow::Error in the public API, &String parameters, and missing #[non_exhaustive], each with its rule code.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/morganlinton/BeautifulRust/HEAD/skills/rust-review/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/rust-review folder from the GitHub repo morganlinton/BeautifulRust into my ~/.claude/skills/rust-review/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/morganlinton/BeautifulRust.git /tmp/BeautifulRust && mkdir -p ~/.claude/skills && cp -r /tmp/BeautifulRust/skills/rust-review ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/morganlinton/BeautifulRust.git
  3. Create the skills directory: mkdir -p ~/.claude/skills
  4. Copy the skill: cp -r BeautifulRust/skills/rust-review ~/.claude/skills/
  5. (Recommended) Also copy its companion: cp -r BeautifulRust/skills/rust-best-practices ~/.claude/skills/ so rule references and bevy.md resolve.
  6. Restart Claude Code and ask it to "review this Rust file" or "audit this crate".
  7. Make sure cargo and clippy are installed in the project root so the tool-driven part of the review runs.