DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to review a Rust PR and enforce the rules in CI with clippy with Beautiful Rust

Run rust-review on a diff, then add the drop-in clippy config so the same rules hold in CI.

Short answer: Ask the agent to run rust-review on a file, crate or diff; it runs cargo fmt and clippy and cites the rule each finding breaks; then copy lints/clippy.toml next to your Cargo.toml and paste the [lints] block from lints/lints.toml into it; run cargo clippy --all-targets --all-features -- -D warnings. All steps.

Who it is forA maintainer who wants agent reviews that cite rules and a CI gate that keeps them.

The problemStyle guidance in reviews slips back in a week later without a machine check.

The outcomeA prioritized review report with a fix per finding, and CI that fails on the machine-checkable rules.

What you need first

  • A Rust project and stable Rust
  • Node 22.20+ for npx skills, or Claude Code, GitHub CLI 2.90+ or Gemini CLI
  • clippy for the lints config

Steps

  1. Ask the agent to run rust-review on a file, crate or diff; it runs cargo fmt and clippy and cites the rule each finding breaks
  2. Copy lints/clippy.toml next to your Cargo.toml and paste the [lints] block from lints/lints.toml into it
  3. Run cargo clippy --all-targets --all-features -- -D warnings
  4. Add that command to CI so violations fail the build

Prompt for your agent

Run the rust-review skill from morganlinton/BeautifulRust on <PR or diff>, then add its lints/clippy.toml and [lints] block to this crate and make `cargo clippy --all-targets --all-features -- -D warnings` pass.

Caveat. This card is written from the morganlinton/BeautifulRust README, not from a test run by Deduped. Before you start, make sure you have a Rust project and stable Rust. Check the repo for newer instructions before you rely on these steps.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for morganlinton/BeautifulRust and "Review a Rust PR and enforce the rules in CI with clippy"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer