rust-best-practices: a Claude Code skill by Apollo GraphQL
Official
For Rust developers who want code written and reviewed against Apollo GraphQL's handbook. Skip it if you are not writing Rust or your team already follows its own style guide.
- Score
- 75of 100
- Rank
- #115of 200
- Installs
- 22.3Kon skills.sh
- Security
- Clear 5 scanners
- Updated
- 2026
- Context
- ~107tokens always
Install
npx skills add https://github.com/apollographql/skills --skill rust-best-practices Run it in your terminal. View the source
What does rust-best-practices do?
rust-best-practices is a skill that applies Apollo GraphQL's Rust handbook when Claude writes or reviews Rust. Before a review, Claude reads the relevant chapters among nine, covering idioms, Clippy, performance, error handling, testing, generics, the type state pattern, comments and pointers. The quick rules include borrowing &T instead of cloning, never calling unwrap() outside tests, thiserror for libraries and anyhow for binaries, benchmarking with --release, and running cargo clippy --all-targets --all-features --locked -- -D warnings. It favors #[expect] over #[allow], descriptive test names, and a linked issue on every TODO.
When should you use rust-best-practices?
Use it when
- You are writing a new Rust module or function
- You are deciding between borrowing and cloning
- You want a Rust review grounded in a named handbook
Skip it when
- Your project is not in Rust
- Your team has a conflicting Rust style guide
What it needs and what it can touch
You need
- Rust 1.70+ with Cargo
It can
- Runs shell commands (cargo, rustc, rustfmt, clippy)
- Reads and edits project files
From reading its instructions, not from running it.
Why it scores 75
Strongest on upkeep (100 of 100), weakest on adoption (35).
Is rust-best-practices safe to install?
Every scanner that checked it passed it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Sep 28, 2026 |
| Socket | Passed | Sep 28, 2026 |
| Snyk | Low risk | Sep 28, 2026 |
| Runlayer | Low risk | Mar 10, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 22,309
- Repository stars
- 125
- Last repository change
- Tokens always loaded
- about 107
- Tokens when used
- about 932
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to rust-best-practices
All skills for this job-
Get vercel-react-best-practicesvercel-react-best-practices
For React and Next.js developers who want slow pages and heavy bundles fixed by a ranked rulebook.
-
Get CavemanCaveman
For developers who want terse commit messages, one-line review comments and lower token spend.
-
Get emil-design-engemil-design-eng
For designers and front-end developers who want tuned motion and small touches of polish in web UI.
-
Get security-auditsecurity-audit
For developers who want a source-based security review, from one question up to a full multi-agent audit.