# BeautifulRust: Agent skills that teach coding agents to write idiomatic Rust

> A set of three agent skills and a clippy lints config teach coding agents to write, review and port idiomatic Rust.

- Project: BeautifulRust by morganlinton
- List: Built for AI
- Kind: skill
- Works with: Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI
- Noticed: 2,136 GitHub stars (when we found it)
- Added: 2026-11-25T11:37:57+00:00
- Web page: https://ai-news.ikangai.com/built/beautifulrust/

BeautifulRust contains three agent skills and a lints config. The rust-best-practices skill loads when an agent writes or changes Rust. The rust-review skill reviews a file, crate or diff and writes a prioritized report. Each finding in that report cites the rule it breaks and shows the fix. The rust-port skill ports C, C++, Python, Go or JavaScript to Rust, porting the original tests first. The lints folder holds a clippy configuration that the README says enforces the machine-checkable rules in CI.

Install steps differ by agent. Claude Code and OpenAI Codex take it as a plugin. GitHub Copilot and Gemini CLI have their own install commands, and other agents can have the skill folders copied into their skills directory. The author writes that the guidance is distilled from five Rust style and design sources. The Bevy guidance was added because general advice would make an agent break Bevy systems. The README reports that on three test tasks the skill passed 29 of 30 checks, against 24 of 30 without it.

The README's October 2026 benchmark reports Claude Code at 80 of 85 with the skills and 72 of 85 without. Codex CLI scored 76 of 85 with and 53 of 85 without. It says the skills hurt Claude on the Bevy feature task. The author notes it was one run per configuration, graded by a Claude model. The README also says the source digests carry different licences, with the Effective Rust digest under CC BY-NC-ND 4.0.

## In the author's words

> Agent Skills that teach coding agents to write, review, and port idiomatic Rust, plus a tested clippy config.

## When to reach for it

Anyone writing agent skills for a language can borrow the split used here. Rules a linter can check go into a lints config that a script proves fires, while judgment calls stay in the skill text. Reach for it when writing or reviewing Rust with Claude Code, Codex or Cursor.

## See it

- [BeautifulRust](https://github.com/morganlinton/BeautifulRust)
- [Website](https://www.beautifulrust.dev)

---

AI wrote this entry from the project's own README or its author's post. What the project does, and that AI built it where the entry says so, are the author's statements, quoted here. Nobody at IKANGAI ran or tested it.
