by morganlinton
Agent Skills that teach coding agents to write, review, and port idiomatic Rust, plus a tested clippy config. Works with Claude Code, Codex, Copilot, Cursor, and Gemini CLI.
# Add to your Claude Code skills
git clone https://github.com/morganlinton/BeautifulRustGuides for using ai agents skills like BeautifulRust.
Last scanned: 10/25/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-10-25T08:58:51.548Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}See how BeautifulRust compares with popular alternatives.
BeautifulRust is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by morganlinton. Agent Skills that teach coding agents to write, review, and port idiomatic Rust, plus a tested clippy config. Works with Claude Code, Codex, Copilot, Cursor, and Gemini CLI. It has 1,908 GitHub stars.
Yes. BeautifulRust passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/morganlinton/BeautifulRust" and add it to your Claude Code skills directory (see the Installation section above).
BeautifulRust is primarily written in Python. It is open-source under morganlinton on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh BeautifulRust against similar tools.
No comments yet. Be the first to share your thoughts!
From $49 · 30 days · terms & refunds
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM is an informational directory and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
Automated security scan — not a certification.
Three standard Agent Skills and a lints config that teach coding agents to write, review, port, and enforce idiomatic Rust:
rust-best-practices loads whenever an agent writes or changes Rust, and steers it
toward idiomatic, robust, maintainable code.rust-review reviews existing Rust code, a file, a crate, or a diff, and writes a
prioritized report where every finding cites the rule it breaks and shows the fix.rust-port ports C, C++, Python, Go, or JavaScript to idiomatic Rust with the same
behavior, porting the original tests first so you can prove the two match.lints/ is a drop-in clippy configuration that enforces the machine-checkable rules
in CI.They work with Claude Code, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, and any other agent that reads the Agent Skills format. Every code example in the skills compiles on stable Rust, and every lint in the config was checked against current clippy.
The guidance is distilled from five sources, with a condensed digest of each bundled in the skill so the agent can consult the original reasoning when it needs to:
Where the sources disagree, the skill picks a side and says why.
Asked for a small semver-parsing library, an agent without the skill produced working
code with public fields, no # Errors docs, and unwrap() in its doc examples. With the
skill, the same agent kept the fields private, documented failure modes, and wrote doc
examples users can copy safely. Condensed from those two runs:
// Without the skill
/// A semantic version. The fields are public for convenience.
pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
pub pre: Vec<Identifier>,
pub build: Vec<String>,
}
impl Version {
/// Parses a version string.
///
/// ```
/// let v = Version::parse("1.2.3").unwrap();
/// ```
pub fn parse(s: &str) -> Result<Version, ParseError> { /* ... */ }
}
// With the skill
/// A semantic version. Equality, hashing, and ordering ignore build metadata.
pub struct Version {
major: u64,
minor: u64,
patch: u64,
pre: Vec<Identifier>,
build: Vec<String>,
}
impl Version {
/// Parses a version string according to SemVer 2.0.0.
///
/// # Errors
///
/// Returns [`ParseVersionError`] if the string is empty, a numeric part has a
/// leading zero or overflows `u64`, or an identifier contains invalid characters.
///
/// ```
/// # use semver_lite::Version;
/// # fn main() -> Result<(), semver_lite::ParseVersionError> {
/// let v = Version::parse("1.2.3-beta.1")?;
/// assert_eq!(v.major(), 1);
/// # Ok(())
/// # }
/// ```
pub fn parse(s: &str) -> Result<Self, ParseVersionError> { /* ... */ }
/// Returns the major version number.
pub fn major(&self) -> u64 { self.major }
}
Across three test tasks (a library, a CLI, and refactoring a messy module), the skill passed 29 of 30 checks against 24 of 30 without it. See Testing the skills.
Each skill is a folder under skills/: rust-best-practices/, rust-review/, and
rust-port/. Every option below puts those folders where your agent looks for skills.
Install all three; the review and port skills lean on the best-practices skill for style.
The skills installer supports most agents
(Node 22.20 or later):
npx skills add morganlinton/BeautifulRust
Add -g to install for your user instead of the current project, or -a <agent> to pick
an agent, such as -a codex or -a cursor.
Install it as a plugin so updates arrive with one command:
claude plugin install beautiful-rust --marketplace morganlinton/BeautifulRust
Inside a session, the same thing is:
/plugin marketplace add morganlinton/BeautifulRust
/plugin install beautiful-rust@beautiful-rust
This installs all three skills. They appear as /beautiful-rust:rust-best-practices,
/beautiful-rust:rust-review, and /beautiful-rust:rust-port, though you rarely need to
call them, since they trigger on their own. To try it for one session without installing, clone the repo
and run claude --plugin-dir ./BeautifulRust.
Install it as a plugin:
codex plugin marketplace add morganlinton/BeautifulRust
codex plugin add beautiful-rust@beautiful-rust
This installs all three skills as beautiful-rust:rust-best-practices,
beautiful-rust:rust-review, and beautiful-rust:rust-port. The same package works in
the ChatGPT desktop app.
With GitHub CLI 2.90 or later:
gh skill install morganlinton/BeautifulRust rust-best-practices
gh skill install morganlinton/BeautifulRust rust-review
gh skill install morganlinton/BeautifulRust rust-port
This installs into the current project by default. Add --scope user to install for your
user, or --agent <name> to install for a different agent.
gemini skills install https://github.com/morganlinton/BeautifulRust --path skills/rust-best-practices
gemini skills install https://github.com/morganlinton/BeautifulRust --path skills/rust-review
gemini skills install https://github.com/morganlinton/BeautifulRust --path skills/rust-port
Clone the repo and copy the three skill folders into your agent's skills directory.
Most agents now read the shared .agents/skills/ location:
git clone https://github.com/morganlinton/BeautifulRust
mkdir -p ~/.agents/skills
cp -R BeautifulRust/skills/rust-* ~/.agents/skills/
| Agent | User directory | Project directory |
|---|---|---|
| Claude Code | ~/.claude/skills/ |
.claude/skills/ |
| OpenAI Codex | ~/.agents/skills/ |
.agents/skills/ |
| GitHub Copilot | ~/.copilot/skills/ or ~/.agents/skills/ |
.github/skills/ or .agents/skills/ |
| Cursor | ~/.cursor/skills/ or ~/.agents/skills/ |
.cursor/skills/ or .agents/skills/ |
| Gemini CLI | ~/.gemini/skills/ or ~/.agents/skills/ |
.gemini/skills/ or .agents/skills/ |
Claude Code does not read .agents/skills/, so use its own directory or the plugin.
Restart the agent if the skill doesn't show up right away.
claude.ai takes one zip per skill, with the skill folder as the zip root:
cd skills
zip -r ../rust-best-practices.zip rust-best-practices -x '*.DS_Store' -x '*/evals/*'
zip -r ../rust-review.zip rust-review -x '*.DS_Store' -x '*/evals/*'
zip -r ../rust-port.zip rust-port -x '*.DS_Store' -x '*/evals/*'
Upload each under Customize > Skills. Code execution must be enabled first.
Ask your agent to review a file, crate, or diff, for example "review src/parser.rs" or
"what would you change in this PR". The rust-review skill runs cargo fmt, clippy, and
the tests when a toolchain is available, then writes a report with three tiers: must fix,
should fix, and consider. Every finding gives a file:line location, the rule it breaks
with its source (an API Guidelines code such as C-GETTER, an Effective Rust item, a
Microsoft guideline, or a clippy lint), and the smallest code change that fixes it. Each
report ends with what the code already does well.
examples/review-inventory.md is a real review the skill
produced for the deliberately messy module in the eval cases.
Ask your agent to port a module, for example "port parser.c to Rust" or "rewrite this
Python service in Rust". The rust-port skill reads the original and its tests, ports the
tests first, designs a Rust API instead of transliterating the original, and verifies with
cargo test and clippy. It maps each language's habits to their Rust equivalents:
NULL and None to Option, error codes and exceptions to an error enum, out-parameters
to return values, flag ints and magic strings to typed enums and options, and dict
insertion order to an ordered collection instead of a HashMap that would silently
reorder output. Each port comes with a PORTING.md that maps the old API and tests to the
new ones and lists every deliberate difference.
Bevy calls your systems and builds their arguments, so some general Rust advice is wrong
for them. Taken at face value, the skills would tell an agent to change Res<Time> to a
reference, replace use bevy::prelude::* with explicit imports, and split a system to
quiet clippy. When a crate depends on bevy or bevy_ecs, both the writing and review
skills now read references/bevy.md
first. It covers Bevy 0.20 and does two things:
Commands have applied. Systems that depend on each other may
have no order between them. A