# Rust Best Practices (agent skill)

> Rust Best Practices is an agent skill (a SKILL.md file) from morganlinton/BeautifulRust. Write idiomatic, robust, maintainable Rust. It works with Claude Code, Codex, Cursor, Gemini CLI and GitHub Copilot and has 905 GitHub stars. Install it by copying the skill folder into your agent's skills directory.

Write idiomatic, robust, maintainable Rust. Use this skill whenever you write, review, refactor, debug, or explain Rust code: new crates, modules, functions, structs, traits, error types, async code, unsafe or FFI code, Cargo.toml, tests, or rustdoc. Trigger on any mention of Rust, cargo, crates, .rs files, the borrow checker, lifetimes, traits, clippy, or rustfmt, even when the user does not ask for "best practices" or "idiomatic" code.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/morganlinton/BeautifulRust |
| Skill path | skills/rust-best-practices/SKILL.md |
| Skill name | rust-best-practices |
| GitHub stars | 905 |
| Installs on skills.sh | 4 |
| License | MIT |
| Skills in repo | 1 |
| Plugin marketplace | beautiful-rust |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot |
| Category | Coding |
| Last commit | Oct 26, 2026 |

## When it triggers

- Trigger on any mention of Rust, cargo, crates, .
- user does not ask for "best practices" or "idiomatic" code.
- "best practices"
- "idiomatic"

## Add this skill

### Claude Code

```sh
/plugin marketplace add morganlinton/BeautifulRust
/plugin install beautiful-rust@beautiful-rust
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/morganlinton/BeautifulRust.git
cp -r BeautifulRust/skills/rust-best-practices .agents/skills/rust-best-practices   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/morganlinton/BeautifulRust.git
cp -r BeautifulRust/skills/rust-best-practices .cursor/skills/rust-best-practices   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/morganlinton/BeautifulRust/rust-best-practices

---

Canonical page: https://appsgit.com/skills/morganlinton-rust-best-practices
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
