explainx.ai0k
TrendingAI News TodayPathwaysSkills
Pricing
explainx.ai

Upskill in AI — 16 free pathways, live workshops & bootcamps, and 50+ courses from practitioners. Plus the skills, tools, and MCP servers to practice on.

follow us

follow on google

Add explainx.ai as a preferred source

corporate training

support@explainx.ai

get started

Find your pathTake Free Evaluation

community

Join the community

learn

mind: share how you thinkpathways — start freeworkshopsbootcampscoursescompare Explainxcertificationsmock testsexplainx universitycorporate traininglearn skills & mcp

discover

skillsmcp serversexplainx mcptoolsmdx readeragentsllmsdesignsdictionarypeopleagi trackerfelony benchranks

company

aboutvisionmissionteaminstructorsteach on explainxpartnershipscommunityhackathonscareers

content

daily AI newsstate of AI — live resultsblogreleasespromptsgeneratorsresource libraryfor LLMsexplainx.ai kids

solutions

all solutionsdeveloper upskillingmarketing upskillingproduct manager upskillingleadership upskilling

newsletter · weekly

Get AI news, tools, and insights in your inbox.

supportcontactprivacytermsdata rightshow we create contentsubmission guidelines

© 2026 AISOLO Technologies Pvt Ltd

explainx.ai

On this page

  • TL;DR: what readers ask first
  • What is inside BeautifulRust?
  • The three skills
  • The clippy config: guardrails the agent cannot talk its way past
  • How to install it
  • What do the eval numbers actually show?
  • A practical rollout plan for a team
  • Where it fits among language-specific skill packs
  • Limitations and open questions
  • Should you install it?
  • Related reading
← Back to blog

explainx / blog

BeautifulRust: Agent Skills and a Clippy Config That Make AI Write Idiomatic Rust

Agent Skills, Rust, Claude Code, Coding Agents, Open Source

Part of Agent Skills

BeautifulRust adds three Agent Skills and a tested clippy config so Claude Code, Codex and Cursor write, review and port idiomatic Rust. Install steps inside.

Oct 27, 2026·9 min read·Yash Thakker
add explainx.ai
go deep
BeautifulRust: Agent Skills and a Clippy Config That Make AI Write Idiomatic Rust

BeautifulRust is a small repository that tries to fix a familiar problem: coding agents write Rust that compiles but reads like translated Python. It bundles three Agent Skills (one to write Rust, one to review it, one to port other languages) and a clippy lint configuration, and it picked up about 1,200 GitHub stars in the days after launch. It is MIT licensed and, according to its README, works with Claude Code, Codex, Copilot, Cursor and Gemini CLI.

This post explains what is in the repo, how to install it, what the clippy rules enforce, and how much weight to give the evaluation numbers the author publishes.

TL;DR: what readers ask first

table · 2 cols
QuestionShort answer
What is it?Three Agent Skills plus a tested clippy config for Rust
Who made it?Morgan Linton, as an open repository (about 1.2k stars, 56 forks, 15 commits at the time of writing)
License?MIT for the repo's own text, digests and scripts; the underlying style guides keep their own licenses
Does it need API keys?No. Skills are plain instruction files your agent loads; only the optional evals make billed model calls
Works with which agents?Claude Code, Codex, Copilot, Cursor, Gemini CLI and anything that reads the Agent Skills format
Are the benchmark claims proven?No. They come from the maintainer's own evals

What is inside BeautifulRust?

The repository has four parts, per the README.

skills/ holds three skill folders, each with a SKILL.md and an evals/ directory. The rust-best-practices skill also ships a references/ folder of paraphrased digests.

lints/ holds lints.toml, clippy.toml and a small check/ crate used to confirm every lint actually fires.

scripts/ contains check-skill.py and check-lints.sh, which validate the skills and the lints.

examples/ includes a sample review report so you can see the output format before installing anything.

The guidance is a synthesis of five public sources: the Google Rust Style Guide, the Rust API Guidelines, Effective Rust by David Drysdale, Rust Design Patterns, and Microsoft's Pragmatic Rust Guidelines. The README says it bundles paraphrased digests rather than copying text, which matters because those sources carry different licenses (Effective Rust is CC BY-NC-ND, for example).

The three skills

rust-best-practices: the write-time skill

This one loads when an agent writes or changes Rust and nudges it toward idiomatic patterns. It is the always-on layer: the point is that the agent consults the digests before it produces an unwrap()-heavy first draft, not after.

rust-review: a prioritized report

Point it at a file, a crate or a diff and it writes a report grouped as must fix, should fix and consider. Each finding cites the rule behind it and includes a fix. That structure is the useful part: a review that names its rule is easier to argue with, and easier to turn into a lint later.

rust-port: migrating from C, C++, Python, Go or JavaScript

The porting skill ports the original tests first, then the code, and produces a PORTING.md documenting decisions. Test-first porting is a sound habit for any migration, and it fits the pattern we described in GitHub Copilot's Rust migration, where the hard part is proving the new code behaves like the old.

The clippy config: guardrails the agent cannot talk its way past

Skills are suggestions an agent can ignore. A lint config is a gate. The lints/ folder is a drop-in set that, per the README, flags:

  • unwrap() outside tests
  • unsafe blocks without a // SAFETY: comment
  • #[allow] attributes without a reason
  • bool function parameters
  • silent lossy as casts
  • missing # Errors and # Panics documentation sections
  • leftover dbg! and unfinished-code macros

To use it, copy lints/clippy.toml next to your Cargo.toml, paste the [lints] block from lints/lints.toml into the manifest, and run:

bash
cargo clippy --all-targets --all-features -- -D warnings

Some lints are marked [lib] and can be dropped for applications, and the allow_attributes lints need rust-version = "1.81" or later. scripts/check-lints.sh runs the config against the lints/check/ crate to verify each rule fires, which is a nice touch: a lint config nobody has tested can silently do nothing.

The combination is the real idea. The skill makes the agent less likely to write unwrap(); the lint makes the build fail if it does anyway. This is the same two-layer thinking behind most agent guardrails, and it echoes what we covered in i-have-adhd: a skill shapes behavior, but only a hard check enforces it.

How to install it

The README documents several routes.

table · 2 cols
AgentCommand
Any agentnpx skills add morganlinton/BeautifulRust (Node 22.20 or newer; -g for user-level, -a codex to target one agent)
Claude Code (plugin)claude plugin install beautiful-rust --marketplace morganlinton/BeautifulRust
Claude Code (in session)/plugin marketplace add morganlinton/BeautifulRust, then /plugin install beautiful-rust@beautiful-rust
GitHub Copilotgh skill install morganlinton/BeautifulRust <skill-name> (GitHub CLI 2.90 or newer), once per skill
Gemini CLIgemini skills install https://github.com/morganlinton/BeautifulRust --path skills/<skill-name>
Codex, Cursor, othersClone the repo and copy the skills/rust-* folders into ~/.agents/skills/
claude.aiZip each skill folder and upload it under Customize, then Skills (code execution must be on)

Two gotchas from the README: Claude Code does not read ~/.agents/skills/, so use the plugin route there, and you may need to restart the agent before a new skill shows up.

A quick first test: install it, then ask your agent to "review the diff on this branch with rust-review" and compare the report to what your human reviewer would flag. If the findings are mostly things clippy would already catch, the lint config alone may be enough for you.

What do the eval numbers actually show?

The README reports results from the maintainer's own evals:

table · 3 cols
SkillWith the skillWithout
Writing29 of 30 assertions passed24 of 30
Review11 of 127 of 12
Porting22 of 2219 of 22

The README adds that the writing skill used roughly a third more tokens.

Read these carefully. They are small samples (12 to 30 assertions), graded by the same person who wrote the skills, and we have not seen an independent reproduction. A five-assertion gap on 30 can be real or noise. The direction is plausible, since a skill that tells a model the rules should improve rule-following, but this is a claim from the author, not a verified benchmark. The sensible reading is: promising, cheap to try, not proven.

The token cost is worth noting on its own. Skills load into context, and a third more tokens on a writing task adds up across a long session. If you are watching spend, our Claude Code token efficiency guide covers how prompt caching changes that math.

A practical rollout plan for a team

Adopting this on a shared codebase goes better in steps than in one pull request.

  1. Baseline first. Run cargo clippy --all-targets --all-features -- -D warnings with the new config on your main branch and record the count of failures per lint. Expect noise from unwrap() and missing # Errors sections in older code.
  2. Scope the gate. Enforce the lints on new and changed files only, using a CI step that diffs against the base branch. Legacy debt then stays visible without blocking every merge.
  3. Install the skills per developer, not in CI. Skills guide the agent while it writes. CI should only run the deterministic checks.
  4. Review the reviewer. For two weeks, run rust-review on pull requests next to your human review and note which findings the humans also raised. Keep the rules that earn their place and delete the ones that generate arguments.
  5. Re-measure. Count lint failures on agent-authored commits before and after the skills. That is the one number that tells you whether the skills help your codebase, and it needs no external benchmark.

This mirrors how teams roll out any style tool: start with measurement, enforce narrowly, and let the data decide which rules stay. The official Agent Skills specification describes how skills are discovered and loaded, which helps when you debug why a skill did not trigger for a given prompt.

Weekly digest3.6k readers

Catch up on AI

Curated AI updates on agents, skills, and MCP — delivered to your inbox. Unsubscribe anytime.

Where it fits among language-specific skill packs

BeautifulRust follows a pattern we have seen before: a language or platform community packaging its house style as skills. Microsoft's dotnet-skills repository does this for .NET, and community packs now exist for many stacks. What distinguishes BeautifulRust is the paired lint config and the test crate that proves the lints fire. Most skill packs stop at prose.

It is also a close cousin of persona-style skill collections such as founder-skill, but aimed at a concrete, checkable engineering task rather than a simulated advisory panel. Checkable is the key word: Rust's compiler and clippy give you ground truth that most skill domains lack.

Limitations and open questions

  • Self-reported evals. See above. Run your own before you rely on the numbers.
  • Opinionated rules. Banning unwrap() outside tests and bool parameters is a style choice. Application code and library code differ, which is why some lints are tagged [lib].
  • Version requirements. Node 22.20 or newer for the npx route, GitHub CLI 2.90 or newer for Copilot, and Rust 1.81 or newer for the allow_attributes lints.
  • Maturity. Fifteen commits and a young repository mean rules will move. Pin a commit if you need stability.
  • Eval cost. Running the repo's evals makes real, billed model calls.
  • Licensing of sources. The repo's own content is MIT, but it digests material under other licenses. If you redistribute it inside a product, read the README's source list first.

Should you install it?

If you already use an agent for Rust, yes: the clippy config alone is worth ten minutes, and the skills cost nothing to try. Install the lints first, see how many warnings your agent's last commit produces, then add the skills and check whether that number drops. That before-and-after on your own code is a better benchmark than any README table.

If you work in another language, the useful lesson transfers: pair a skill with a deterministic check, and measure the difference yourself.

Related reading

  • What are Agent Skills? The complete guide
  • Dotnet Skills: Microsoft's repository for AI coding agents
  • i-have-adhd: the skill that stops Claude Code burying the answer
  • GitHub Copilot's Rust migration
  • Claude Code token efficiency and prompt caching
  • founder-skill: eleven free Claude skills
  • Official: the Agent Skills format and the BeautifulRust repository

Details such as star counts, version requirements and install commands are accurate as of October 27, 2026 and may change as the repository evolves.

Spotted something out of date? Let us know.
Yash Thakker

Written by

Yash Thakker

Yash is an AI expert with over 300K learners. Join his workshops →

View Yash Thakker in People in AI →

Related posts

Oct 27, 2026

tstack: Theo's Agent Skills (full-send, council) for Claude Code and Codex

tstack, a GitHub repo by Theo (t3dotgg), packages nine agent skills for Claude Code and Codex, from full-send, which takes a change all the way to a merged pull request, to council, which asks three models from different providers to review it. It gained about 1,600 stars in three days. Here is what is inside and what to check before you let it merge code.

Oct 13, 2026

pstack-claude: Poteto-Style Agent Workflows for Claude Code, Codex and Copilot

pstack-claude, a GitHub repo gaining about 393 stars this week, translates a Cursor skill stack into plugins for Claude Code, Codex, GitHub Copilot, Pi, OpenCode and Gemini CLI. Here is what poteto-mode does, how to install it, and what to check before you trust it.

Oct 27, 2026

Roast Room: A Claude Code Council of Seven Simulated Advisors for Business Decisions

Roast Room, an MIT-licensed repo with about 1,200 stars, turns Claude Code into a chair that runs seven simulated advisors through a debate and a scored verdict. Here is how it works, how to run it, what it costs in plan usage, and where the idea breaks down.