Who it is forA developer whose agent writes Rust that compiles but uses public fields, unwrap() and missing error docs.
The problemAgent-written Rust often works but is not code you would accept in review.
The outcomeAgent changes that keep fields private, document failure modes and use safe doc examples.
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
- Run
npx skills add morganlinton/BeautifulRust(add -g to install for your user) - Or in Claude Code run
claude plugin install beautiful-rust --marketplace morganlinton/BeautifulRust - Ask the agent for a Rust change; rust-best-practices loads on its own
- Check the result for private fields,
# Errorsdocs and no unwrap() in doc examples
Prompt for your agent
Install morganlinton/BeautifulRust and implement <feature> in this crate following rust-best-practices. Keep fields private, document every error, and run cargo fmt, clippy and tests before handing back.
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 "Make your coding agent write idiomatic Rust by default"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer