Community코딩 & 개발github.com

apollographql/rust-best-practices

Apollo GraphQL의 모범 사례 핸드북을 기반으로 관용적인 Rust 코드를 작성하기 위한 가이드입니다. 이 스킬은 다음과 같은 경우에 사용합니다: (1) 새 Rust 코드나 함수를 작성할 때, (2) 기존 Rust 코드를 검토하거나 리팩터링할 때, (3) 대여 vs 복제 또는 소유권 패턴을 결정할 때, (4) Result 타입으로 오류 처리를 구현할 때, (5) Rust 코드의 성능을 최적화할 때, (6) Rust 프로젝트에 대한 테스트나 문서를 작성할 때.

rust-best-practices란 무엇인가요?

이 스킬은 Apollo GraphQL의 엔지니어링 팀이 수년간 Rust를 실무에서 사용하며 얻은 모범 사례를 체계적으로 정리한 지식 기반입니다. 개발자가 Rust 코드를 작성하거나 리뷰할 때 더 관용적이고 안전하며 성능 좋은 코드를 작성할 수 있도록 돕습니다. 주요 다루는 주제로는 소유권(ownership), 대여(borrowing), 복제(cloning) 패턴 선택, Result 타입을 활용한 오류 처리, 성능 최적화 기법, 효과적인 테스트 및 문서화 방법 등이 포함됩니다. Cursor, Claude Code, Codex와 같은 AI 에이전트와 함께 사용하기 적합하며, Rust 프로젝트 전반에 걸쳐 일관된 코딩 스타일과 아키텍처 결정을 내리는 데 도움을 줍니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/apollographql/skills/tree/main/skills/rust-best-practices

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

rust-best-practices은(는) 무엇을 하나요?

Apollo GraphQL의 모범 사례 핸드북을 기반으로 관용적인 Rust 코드를 작성하기 위한 가이드입니다. 이 스킬은 다음과 같은 경우에 사용합니다: (1) 새 Rust 코드나 함수를 작성할 때, (2) 기존 Rust 코드를 검토하거나 리팩터링할 때, (3) 대여 vs 복제 또는 소유권 패턴을 결정할 때, (4) Result 타입으로 오류 처리를 구현할 때, (5) Rust 코드의 성능을 최적화할 때, (6) Rust 프로젝트에 대한 테스트나 문서를 작성할 때.

Individual skills in this repo

This repo contains 9 individual skills — each has its own dedicated page.

apollographql/apollo-client

Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries or mutations with hooks, (3) configuring caching or cache policies, (4) managing local state with reactive variables, (5) troubleshooting Apollo Client errors or performance issues.

apollographql/apollo-connectors

Guide for integrating REST APIs into GraphQL supergraphs using Apollo Connectors with @source and @connect directives. Use this skill when the user: (1) mentions "connectors", "Apollo Connectors", or "REST Connector", (2) wants to integrate a REST API into GraphQL, (3) references @source or @connect directives, (4) works with files containing "# Note to AI Friends: This is an Apollo Connectors schema".

apollographql/apollo-federation

Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated supergraph, (2) defining or modifying entities with @key, (3) sharing types/fields across subgraphs with @shareable, (4) working with federation directives (@external, @requires, @provides, @override, @inaccessible), (5) troubleshooting composition errors, (6) any task involving federation schema design patterns.

apollographql/apollo-mcp-server

Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP tools from GraphQL operations, (3) using introspection tools (introspect, search, validate, execute), (4) troubleshooting MCP server connectivity or tool execution issues.

apollographql/apollo-router

Version-aware guide for configuring and running Apollo Router for federated GraphQL supergraphs. Generates correct YAML for both Router v1.x and v2.x. Use this skill when: (1) setting up Apollo Router to run a supergraph, (2) configuring routing, headers, or CORS, (3) implementing custom plugins (Rhai scripts or coprocessors), (4) configuring telemetry (tracing, metrics, logging), (5) troubleshooting Router performance or connectivity issues.

apollographql/apollo-server

Guide for building GraphQL servers with Apollo Server 5.x. Use this skill when: (1) setting up a new Apollo Server project, (2) writing resolvers or defining GraphQL schemas, (3) implementing authentication or authorization, (4) creating plugins or custom data sources, (5) troubleshooting Apollo Server errors or performance issues.

apollographql/graphql-operations

Guide for writing GraphQL operations (queries, mutations, fragments) following best practices. Use this skill when: (1) writing GraphQL queries or mutations, (2) organizing operations with fragments, (3) optimizing data fetching patterns, (4) setting up type generation or linting, (5) reviewing operations for efficiency.

apollographql/graphql-schema

Guide for designing GraphQL schemas following industry best practices. Use this skill when: (1) designing a new GraphQL schema or API, (2) reviewing existing schema for improvements, (3) deciding on type structures or nullability, (4) implementing pagination or error patterns, (5) ensuring security in schema design.

apollographql/rover

Guide for using Apollo Rover CLI to manage GraphQL schemas and federation. Use this skill when: (1) publishing or fetching subgraph/graph schemas, (2) composing supergraph schemas locally or via GraphOS, (3) running local supergraph development with rover dev, (4) validating schemas with check and lint commands, (5) configuring Rover authentication and environment, (6) exploring or searching a graph's schema for agent-driven discovery (rover schema describe / rover schema search).

관련 스킬