What problem does it solve?
This Skill keeps Rust authors and reviewers aligned with Apollo GraphQL's best practices, preventing non-idiomatic borrowing, cloning, error handling, and performance decisions before they reach production.
Core Features & Use Cases
- Reference-driven guidance on borrowing vs cloning, Clippy lint compliance, performance profiling, Result-based error handling, testing, generics, type state, documentation, and pointer usage, all drawn from Apollo's handbook.
- Lint-ready routines that emphasize running
cargo clippy with strict settings, addressing redundant_clone, needless_collect, large_enum_variant, and other high-impact warnings.
- Real-world scenario: review a feature branch by comparing its Rust functions against the handbook chapters and cite specific sections when recommending safer ownership, error propagation, or benchmarking approaches.
Quick Start
Ask the skill to review the Rust function for borrowing, Result error handling, Clippy compliance, and performance so the changes match Apollo's handbook.