Communitygithub.com

apollographql/apollo-federation

Apollo Federation 서브그래프 스키마 작성을 위한 가이드입니다. 연합 슈퍼그래프 생성, @key 엔티티 정의/수정, 서브그래프 간 유형/필드 공유, 연합 디렉티브 사용, 구성 오류 해결 등에 사용하세요.

apollo-federation란 무엇인가요?

이 스킬은 Apollo Federation을 사용하여 연합 슈퍼그래프(Federated Supergraph)를 구축할 때 서브그래프 스키마를 올바르게 작성하고 관리하는 방법을 안내합니다. 개발자는 이 스킬을 통해 @key, @shareable, @external, @requires, @provides, @override, @inaccessible과 같은 핵심 Federation 디렉티브를 효과적으로 활용할 수 있으며, 서브그래프 간 엔티티와 타입을 안전하게 정의하고 공유하는 방법을 배울 수 있습니다. 이 가이드는 Apollo GraphQL Federation을 지원하는 모든 플랫폼(Apollo Router, GraphOS 등)에서 사용 가능하며, 구성(Composition) 오류가 발생했을 때 원인을 진단하고 해결하는 데도 도움을 줍니다. 스키마 설계 패턴과 디렉티브 사용법을 상세히 설명하므로, 신규 프로젝트의 서브그래프를 설계하거나 기존 연합 아키텍처를 유지보수하는 모든 개발자에게 유용합니다.

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

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

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

문서

apollo-federation은(는) 무엇을 하나요?

Apollo Federation 서브그래프 스키마 작성을 위한 가이드입니다. 다음 상황에서 이 스킬을 사용하세요: (1) 연합 슈퍼그래프를 위한 새 서브그래프 스키마를 만들 때, (2) @key로 엔티티를 정의하거나 수정할 때, (3) @shareable을 사용해 서브그래프 간 유형/필드를 공유할 때, (4) Federation 디렉티브(@external, @requires, @provides, @override, @inaccessible)를 작업할 때, (5) 구성(Composition) 오류를 해결할 때, (6) Federation 스키마 설계 패턴과 관련된 모든 작업을 할 때.

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

apollographql/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.

관련 스킬