What the tech

Search

/ opens search from anywhere. Esc closes it.

Get the newsletter

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).

  • Adoption35 points 35
  • Upkeep20 points 100
  • Trust20 points 100
  • Quality15 points 100
  • Reader answers10 points Not enough answers yet, so this does not count

How the formula works

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.

ScannerResultDate
Gen Agent Trust HubPassedSep 28, 2026
SocketPassedSep 28, 2026
SnykLow riskSep 28, 2026
RunlayerLow riskMar 10, 2026
ZeroLeaksPassedApr 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

Alternatives to rust-best-practices

All skills for this job

By the What the tech desk, with AI assistance. We read the skill's instructions; we did not run it. Text checked Nov 2, 2026. Numbers checked Nov 5, 2026.

Sources: the repository, skills.sh. See something wrong? Write to info@whathetech.net.