Back to skills

apollo-federation

development

Helps you write Apollo Federation 2.x subgraph schemas for composing multiple GraphQL APIs into a single supergraph. Covers entity definitions with @key, field sharing with @shareable, computed fields

Setup & Installation

npx skills add https://github.com/apollographql/apollo-federation --skill apollo-federation
or paste the link and ask your coding assistant to install it
https://github.com/apollographql/apollo-federation
View on GitHub

What This Skill Does

Helps you write Apollo Federation 2.x subgraph schemas for composing multiple GraphQL APIs into a single supergraph. Covers entity definitions with @key, field sharing with @shareable, computed fields via @requires, and other federation directives. Federation directive rules are easy to get wrong, and composition errors are cryptic. Having the correct syntax, constraints, and patterns inline while editing schemas saves repeated trips to the docs.

When to use it

  • Working with apollo federation functionality
  • Implementing apollo federation features
  • Debugging apollo federation related issues