SKILL21.2K installs119

Rust Best Practices

Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook. Use this skill when: (1) writing new Rust code or functions, (2) reviewing or refactoring existing Rust code, (3) deciding between borrowing vs cloning or ownership patterns, (4) implementing error handling with Result types, (5) optimizing Rust code for performance, (6) writing tests or documentation for Rust projects.

Type
Skill
Author
apollographql
Category
Backend
GitHub stars
119
Installs
21.2K
Last updated
November 1, 2026

Install

npx skills add https://github.com/apollographql/skills --skill rust-best-practices

Use cases


Frequently Asked Questions

What is this skill based on?

Apollo GraphQL's best practices handbook for writing idiomatic Rust.

Does it help with borrowing versus cloning decisions?

Yes, that is one of the ownership patterns it covers.

Can it help review existing code?

Yes, it supports reviewing and refactoring existing Rust code, plus writing tests and documentation.


About this skill

Guides idiomatic Rust code based on Apollo GraphQL's best practices handbook. It covers writing new code, reviewing and refactoring existing code, borrowing-versus-cloning decisions, Result-based error handling, performance tuning, and writing tests and documentation. Useful whether you are starting a Rust module or cleaning one up.

Summary written with AI assistance from the project's public description.


Categories


More from apollographql


Similar Skills