Skill / SKILL.md

Rust Best Practices

apollographql/skills

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.
2 views 137 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/apollographql/skills' skill-source

Use the complete skill-source/skills/rust-best-practices directory with your client’s skill installer.

  • skills/rust-best-practices

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/rust-best-practices

Compatibility & requirements

Declared compatibility

Rust 1.70+, Cargo

Declared tools

Bash(cargo:*) Bash(rustc:*) Bash(rustfmt:*) Bash(clippy:*) Read Write Edit Glob Grep

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
d9e50d0a87e00406cb5b00ebb586f6a064600343f59f1e55f5e420d48c0617cc
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills