[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-apollo-graphql-apollo-federation":3,"mdc-noqon8-key":37,"related-org-apollo-graphql-apollo-federation":862,"related-repo-apollo-graphql-apollo-federation":1026},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":12,"stars":24,"repoUrl":25,"updatedAt":26,"license":27,"forks":28,"topics":29,"repo":32,"sourceUrl":35,"mdContent":36},"apollo-federation","author Apollo Federation subgraph schemas","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\u002Ffields 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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},"apollo-graphql","Apollo GraphQL","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fapollo-graphql.png","apollographql",[13,17,20,21],{"name":14,"slug":15,"type":16},"GraphQL","graphql","tag",{"name":18,"slug":19,"type":16},"Architecture","architecture",{"name":9,"slug":8,"type":16},{"name":22,"slug":23,"type":16},"API Development","api-development",97,"https:\u002F\u002Fgithub.com\u002Fapollographql\u002Fskills","2026-07-30T05:31:51.648593","MIT",11,[30,31,15],"agent-skills","apollo",{"repoUrl":25,"stars":24,"forks":28,"topics":33,"description":34},[30,31,15],"Apollo GraphQL Agent Skills","https:\u002F\u002Fgithub.com\u002Fapollographql\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fapollo-federation","---\nname: apollo-federation\ndescription: >\n  Guide for authoring Apollo Federation subgraph schemas. Use this skill when:\n  (1) creating new subgraph schemas for a federated supergraph,\n  (2) defining or modifying entities with @key,\n  (3) sharing types\u002Ffields across subgraphs with @shareable,\n  (4) working with federation directives (@external, @requires, @provides, @override, @inaccessible),\n  (5) troubleshooting composition errors,\n  (6) any task involving federation schema design patterns.\nlicense: MIT\ncompatibility: Works with any Federation 2.x compatible subgraph library (Apollo Server, GraphQL Yoga, etc.)\nmetadata:\n  author: apollographql\n  version: \"1.0.2\"\nallowed-tools: Bash(rover:*) Read Write Edit Glob Grep\n---\n\n# Apollo Federation Schema Authoring\n\nApollo Federation enables composing multiple GraphQL APIs (subgraphs) into a unified supergraph.\n\n## Federation 2 Schema Setup\n\nEvery Federation 2 subgraph must opt-in via `@link`:\n\n```graphql\nextend schema\n  @link(url: \"https:\u002F\u002Fspecs.apollo.dev\u002Ffederation\u002Fv2.12\",\n        import: [\"@key\", \"@shareable\", \"@external\", \"@requires\", \"@provides\"])\n```\n\nImport only the directives your subgraph uses. The version shown (`v2.12`) is\nillustrative — check the [Federation changelog](https:\u002F\u002Fwww.apollographql.com\u002Fdocs\u002Fgraphos\u002Fschema-design\u002Ffederated-schemas\u002Freference\u002Fversions)\nfor currently supported versions before copying it verbatim.\n\n> A subgraph's `@link` version is a floor, not the composition version — see\n> [Federation versions](references\u002Fcomposition.md#federation-versions-floor-vs-composition)\n> for the full explanation.\n\n## Core Directives Quick Reference\n\n| Directive | Purpose | Example |\n|-----------|---------|---------|\n| `@key` | Define entity with unique key | `type Product @key(fields: \"id\")` |\n| `@shareable` | Allow multiple subgraphs to resolve field | `type Position @shareable { x: Int! }` |\n| `@external` | Reference field from another subgraph | `weight: Int @external` |\n| `@requires` | Computed field depending on external fields | `shippingCost: Int @requires(fields: \"weight\")` |\n| `@provides` | Conditionally resolve external field | `@provides(fields: \"name\")` |\n| `@override` | Migrate field to this subgraph | `@override(from: \"Products\")` |\n| `@inaccessible` | Hide from API schema | `internalId: ID! @inaccessible` |\n| `@interfaceObject` | Add fields to entity interface | `type Media @interfaceObject` |\n\n## Reference Files\n\nDetailed documentation for specific topics:\n\n- [Directives](references\u002Fdirectives.md) - All federation directives with syntax, examples, and rules\n- [Schema Patterns](references\u002Fschema-patterns.md) - Multi-subgraph patterns and recipes\n- [Composition](references\u002Fcomposition.md) - Composition rules, error codes, and debugging\n\n## Key Patterns\n\n### Entity Definition\n\n```graphql\ntype Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Int\n}\n```\n\n### Entity Contributions Across Subgraphs\n\n```graphql\n# Products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Int\n}\n\n# Reviews subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  reviews: [Review!]!\n  averageRating: Float\n}\n```\n\n### Computed Fields with @requires\n\n```graphql\ntype Product @key(fields: \"id\") {\n  id: ID!\n  size: Int @external\n  weight: Int @external\n  shippingEstimate: String @requires(fields: \"size weight\")\n}\n```\n\n### Value Types with @shareable\n\n```graphql\ntype Money @shareable {\n  amount: Int!\n  currency: String!\n}\n```\n\n### Entity Stub (Reference Without Contributing)\n\n```graphql\ntype Product @key(fields: \"id\", resolvable: false) {\n  id: ID!\n}\n```\n\n## Ground Rules\n\n- ALWAYS use Federation 2.x syntax with `@link` directive\n- ALWAYS import only the directives your subgraph uses\n- NEVER use `@shareable` without ensuring all subgraphs return identical values for that field\n- PREFER `@key` with single ID field for simple entity identification\n- USE `rover supergraph compose` to validate composition locally\n- USE `rover subgraph check` to validate against production supergraph\n",{"data":38,"body":43},{"name":4,"description":6,"license":27,"compatibility":39,"metadata":40,"allowed-tools":42},"Works with any Federation 2.x compatible subgraph library (Apollo Server, GraphQL Yoga, etc.)",{"author":11,"version":41},"1.0.2","Bash(rover:*) Read Write Edit Glob Grep",{"type":44,"children":45},"root",[46,55,61,68,82,121,145,169,175,416,422,427,465,471,478,527,533,644,650,702,708,746,752,781,787,856],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"apollo-federation-schema-authoring",[52],{"type":53,"value":54},"text","Apollo Federation Schema Authoring",{"type":47,"tag":56,"props":57,"children":58},"p",{},[59],{"type":53,"value":60},"Apollo Federation enables composing multiple GraphQL APIs (subgraphs) into a unified supergraph.",{"type":47,"tag":62,"props":63,"children":65},"h2",{"id":64},"federation-2-schema-setup",[66],{"type":53,"value":67},"Federation 2 Schema Setup",{"type":47,"tag":56,"props":69,"children":70},{},[71,73,80],{"type":53,"value":72},"Every Federation 2 subgraph must opt-in via ",{"type":47,"tag":74,"props":75,"children":77},"code",{"className":76},[],[78],{"type":53,"value":79},"@link",{"type":53,"value":81},":",{"type":47,"tag":83,"props":84,"children":88},"pre",{"className":85,"code":86,"language":15,"meta":87,"style":87},"language-graphql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","extend schema\n  @link(url: \"https:\u002F\u002Fspecs.apollo.dev\u002Ffederation\u002Fv2.12\",\n        import: [\"@key\", \"@shareable\", \"@external\", \"@requires\", \"@provides\"])\n","",[89],{"type":47,"tag":74,"props":90,"children":91},{"__ignoreMap":87},[92,103,112],{"type":47,"tag":93,"props":94,"children":97},"span",{"class":95,"line":96},"line",1,[98],{"type":47,"tag":93,"props":99,"children":100},{},[101],{"type":53,"value":102},"extend schema\n",{"type":47,"tag":93,"props":104,"children":106},{"class":95,"line":105},2,[107],{"type":47,"tag":93,"props":108,"children":109},{},[110],{"type":53,"value":111},"  @link(url: \"https:\u002F\u002Fspecs.apollo.dev\u002Ffederation\u002Fv2.12\",\n",{"type":47,"tag":93,"props":113,"children":115},{"class":95,"line":114},3,[116],{"type":47,"tag":93,"props":117,"children":118},{},[119],{"type":53,"value":120},"        import: [\"@key\", \"@shareable\", \"@external\", \"@requires\", \"@provides\"])\n",{"type":47,"tag":56,"props":122,"children":123},{},[124,126,132,134,143],{"type":53,"value":125},"Import only the directives your subgraph uses. The version shown (",{"type":47,"tag":74,"props":127,"children":129},{"className":128},[],[130],{"type":53,"value":131},"v2.12",{"type":53,"value":133},") is\nillustrative — check the ",{"type":47,"tag":135,"props":136,"children":140},"a",{"href":137,"rel":138},"https:\u002F\u002Fwww.apollographql.com\u002Fdocs\u002Fgraphos\u002Fschema-design\u002Ffederated-schemas\u002Freference\u002Fversions",[139],"nofollow",[141],{"type":53,"value":142},"Federation changelog",{"type":53,"value":144},"\nfor currently supported versions before copying it verbatim.",{"type":47,"tag":146,"props":147,"children":148},"blockquote",{},[149],{"type":47,"tag":56,"props":150,"children":151},{},[152,154,159,161,167],{"type":53,"value":153},"A subgraph's ",{"type":47,"tag":74,"props":155,"children":157},{"className":156},[],[158],{"type":53,"value":79},{"type":53,"value":160}," version is a floor, not the composition version — see\n",{"type":47,"tag":135,"props":162,"children":164},{"href":163},"references\u002Fcomposition.md#federation-versions-floor-vs-composition",[165],{"type":53,"value":166},"Federation versions",{"type":53,"value":168},"\nfor the full explanation.",{"type":47,"tag":62,"props":170,"children":172},{"id":171},"core-directives-quick-reference",[173],{"type":53,"value":174},"Core Directives Quick Reference",{"type":47,"tag":176,"props":177,"children":178},"table",{},[179,203],{"type":47,"tag":180,"props":181,"children":182},"thead",{},[183],{"type":47,"tag":184,"props":185,"children":186},"tr",{},[187,193,198],{"type":47,"tag":188,"props":189,"children":190},"th",{},[191],{"type":53,"value":192},"Directive",{"type":47,"tag":188,"props":194,"children":195},{},[196],{"type":53,"value":197},"Purpose",{"type":47,"tag":188,"props":199,"children":200},{},[201],{"type":53,"value":202},"Example",{"type":47,"tag":204,"props":205,"children":206},"tbody",{},[207,234,260,286,312,338,364,390],{"type":47,"tag":184,"props":208,"children":209},{},[210,220,225],{"type":47,"tag":211,"props":212,"children":213},"td",{},[214],{"type":47,"tag":74,"props":215,"children":217},{"className":216},[],[218],{"type":53,"value":219},"@key",{"type":47,"tag":211,"props":221,"children":222},{},[223],{"type":53,"value":224},"Define entity with unique key",{"type":47,"tag":211,"props":226,"children":227},{},[228],{"type":47,"tag":74,"props":229,"children":231},{"className":230},[],[232],{"type":53,"value":233},"type Product @key(fields: \"id\")",{"type":47,"tag":184,"props":235,"children":236},{},[237,246,251],{"type":47,"tag":211,"props":238,"children":239},{},[240],{"type":47,"tag":74,"props":241,"children":243},{"className":242},[],[244],{"type":53,"value":245},"@shareable",{"type":47,"tag":211,"props":247,"children":248},{},[249],{"type":53,"value":250},"Allow multiple subgraphs to resolve field",{"type":47,"tag":211,"props":252,"children":253},{},[254],{"type":47,"tag":74,"props":255,"children":257},{"className":256},[],[258],{"type":53,"value":259},"type Position @shareable { x: Int! }",{"type":47,"tag":184,"props":261,"children":262},{},[263,272,277],{"type":47,"tag":211,"props":264,"children":265},{},[266],{"type":47,"tag":74,"props":267,"children":269},{"className":268},[],[270],{"type":53,"value":271},"@external",{"type":47,"tag":211,"props":273,"children":274},{},[275],{"type":53,"value":276},"Reference field from another subgraph",{"type":47,"tag":211,"props":278,"children":279},{},[280],{"type":47,"tag":74,"props":281,"children":283},{"className":282},[],[284],{"type":53,"value":285},"weight: Int @external",{"type":47,"tag":184,"props":287,"children":288},{},[289,298,303],{"type":47,"tag":211,"props":290,"children":291},{},[292],{"type":47,"tag":74,"props":293,"children":295},{"className":294},[],[296],{"type":53,"value":297},"@requires",{"type":47,"tag":211,"props":299,"children":300},{},[301],{"type":53,"value":302},"Computed field depending on external fields",{"type":47,"tag":211,"props":304,"children":305},{},[306],{"type":47,"tag":74,"props":307,"children":309},{"className":308},[],[310],{"type":53,"value":311},"shippingCost: Int @requires(fields: \"weight\")",{"type":47,"tag":184,"props":313,"children":314},{},[315,324,329],{"type":47,"tag":211,"props":316,"children":317},{},[318],{"type":47,"tag":74,"props":319,"children":321},{"className":320},[],[322],{"type":53,"value":323},"@provides",{"type":47,"tag":211,"props":325,"children":326},{},[327],{"type":53,"value":328},"Conditionally resolve external field",{"type":47,"tag":211,"props":330,"children":331},{},[332],{"type":47,"tag":74,"props":333,"children":335},{"className":334},[],[336],{"type":53,"value":337},"@provides(fields: \"name\")",{"type":47,"tag":184,"props":339,"children":340},{},[341,350,355],{"type":47,"tag":211,"props":342,"children":343},{},[344],{"type":47,"tag":74,"props":345,"children":347},{"className":346},[],[348],{"type":53,"value":349},"@override",{"type":47,"tag":211,"props":351,"children":352},{},[353],{"type":53,"value":354},"Migrate field to this subgraph",{"type":47,"tag":211,"props":356,"children":357},{},[358],{"type":47,"tag":74,"props":359,"children":361},{"className":360},[],[362],{"type":53,"value":363},"@override(from: \"Products\")",{"type":47,"tag":184,"props":365,"children":366},{},[367,376,381],{"type":47,"tag":211,"props":368,"children":369},{},[370],{"type":47,"tag":74,"props":371,"children":373},{"className":372},[],[374],{"type":53,"value":375},"@inaccessible",{"type":47,"tag":211,"props":377,"children":378},{},[379],{"type":53,"value":380},"Hide from API schema",{"type":47,"tag":211,"props":382,"children":383},{},[384],{"type":47,"tag":74,"props":385,"children":387},{"className":386},[],[388],{"type":53,"value":389},"internalId: ID! @inaccessible",{"type":47,"tag":184,"props":391,"children":392},{},[393,402,407],{"type":47,"tag":211,"props":394,"children":395},{},[396],{"type":47,"tag":74,"props":397,"children":399},{"className":398},[],[400],{"type":53,"value":401},"@interfaceObject",{"type":47,"tag":211,"props":403,"children":404},{},[405],{"type":53,"value":406},"Add fields to entity interface",{"type":47,"tag":211,"props":408,"children":409},{},[410],{"type":47,"tag":74,"props":411,"children":413},{"className":412},[],[414],{"type":53,"value":415},"type Media @interfaceObject",{"type":47,"tag":62,"props":417,"children":419},{"id":418},"reference-files",[420],{"type":53,"value":421},"Reference Files",{"type":47,"tag":56,"props":423,"children":424},{},[425],{"type":53,"value":426},"Detailed documentation for specific topics:",{"type":47,"tag":428,"props":429,"children":430},"ul",{},[431,443,454],{"type":47,"tag":432,"props":433,"children":434},"li",{},[435,441],{"type":47,"tag":135,"props":436,"children":438},{"href":437},"references\u002Fdirectives.md",[439],{"type":53,"value":440},"Directives",{"type":53,"value":442}," - All federation directives with syntax, examples, and rules",{"type":47,"tag":432,"props":444,"children":445},{},[446,452],{"type":47,"tag":135,"props":447,"children":449},{"href":448},"references\u002Fschema-patterns.md",[450],{"type":53,"value":451},"Schema Patterns",{"type":53,"value":453}," - Multi-subgraph patterns and recipes",{"type":47,"tag":432,"props":455,"children":456},{},[457,463],{"type":47,"tag":135,"props":458,"children":460},{"href":459},"references\u002Fcomposition.md",[461],{"type":53,"value":462},"Composition",{"type":53,"value":464}," - Composition rules, error codes, and debugging",{"type":47,"tag":62,"props":466,"children":468},{"id":467},"key-patterns",[469],{"type":53,"value":470},"Key Patterns",{"type":47,"tag":472,"props":473,"children":475},"h3",{"id":474},"entity-definition",[476],{"type":53,"value":477},"Entity Definition",{"type":47,"tag":83,"props":479,"children":481},{"className":85,"code":480,"language":15,"meta":87,"style":87},"type Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Int\n}\n",[482],{"type":47,"tag":74,"props":483,"children":484},{"__ignoreMap":87},[485,493,501,509,518],{"type":47,"tag":93,"props":486,"children":487},{"class":95,"line":96},[488],{"type":47,"tag":93,"props":489,"children":490},{},[491],{"type":53,"value":492},"type Product @key(fields: \"id\") {\n",{"type":47,"tag":93,"props":494,"children":495},{"class":95,"line":105},[496],{"type":47,"tag":93,"props":497,"children":498},{},[499],{"type":53,"value":500},"  id: ID!\n",{"type":47,"tag":93,"props":502,"children":503},{"class":95,"line":114},[504],{"type":47,"tag":93,"props":505,"children":506},{},[507],{"type":53,"value":508},"  name: String!\n",{"type":47,"tag":93,"props":510,"children":512},{"class":95,"line":511},4,[513],{"type":47,"tag":93,"props":514,"children":515},{},[516],{"type":53,"value":517},"  price: Int\n",{"type":47,"tag":93,"props":519,"children":521},{"class":95,"line":520},5,[522],{"type":47,"tag":93,"props":523,"children":524},{},[525],{"type":53,"value":526},"}\n",{"type":47,"tag":472,"props":528,"children":530},{"id":529},"entity-contributions-across-subgraphs",[531],{"type":53,"value":532},"Entity Contributions Across Subgraphs",{"type":47,"tag":83,"props":534,"children":536},{"className":85,"code":535,"language":15,"meta":87,"style":87},"# Products subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  name: String!\n  price: Int\n}\n\n# Reviews subgraph\ntype Product @key(fields: \"id\") {\n  id: ID!\n  reviews: [Review!]!\n  averageRating: Float\n}\n",[537],{"type":47,"tag":74,"props":538,"children":539},{"__ignoreMap":87},[540,548,555,562,569,576,584,594,603,611,619,627,636],{"type":47,"tag":93,"props":541,"children":542},{"class":95,"line":96},[543],{"type":47,"tag":93,"props":544,"children":545},{},[546],{"type":53,"value":547},"# Products subgraph\n",{"type":47,"tag":93,"props":549,"children":550},{"class":95,"line":105},[551],{"type":47,"tag":93,"props":552,"children":553},{},[554],{"type":53,"value":492},{"type":47,"tag":93,"props":556,"children":557},{"class":95,"line":114},[558],{"type":47,"tag":93,"props":559,"children":560},{},[561],{"type":53,"value":500},{"type":47,"tag":93,"props":563,"children":564},{"class":95,"line":511},[565],{"type":47,"tag":93,"props":566,"children":567},{},[568],{"type":53,"value":508},{"type":47,"tag":93,"props":570,"children":571},{"class":95,"line":520},[572],{"type":47,"tag":93,"props":573,"children":574},{},[575],{"type":53,"value":517},{"type":47,"tag":93,"props":577,"children":579},{"class":95,"line":578},6,[580],{"type":47,"tag":93,"props":581,"children":582},{},[583],{"type":53,"value":526},{"type":47,"tag":93,"props":585,"children":587},{"class":95,"line":586},7,[588],{"type":47,"tag":93,"props":589,"children":591},{"emptyLinePlaceholder":590},true,[592],{"type":53,"value":593},"\n",{"type":47,"tag":93,"props":595,"children":597},{"class":95,"line":596},8,[598],{"type":47,"tag":93,"props":599,"children":600},{},[601],{"type":53,"value":602},"# Reviews subgraph\n",{"type":47,"tag":93,"props":604,"children":606},{"class":95,"line":605},9,[607],{"type":47,"tag":93,"props":608,"children":609},{},[610],{"type":53,"value":492},{"type":47,"tag":93,"props":612,"children":614},{"class":95,"line":613},10,[615],{"type":47,"tag":93,"props":616,"children":617},{},[618],{"type":53,"value":500},{"type":47,"tag":93,"props":620,"children":621},{"class":95,"line":28},[622],{"type":47,"tag":93,"props":623,"children":624},{},[625],{"type":53,"value":626},"  reviews: [Review!]!\n",{"type":47,"tag":93,"props":628,"children":630},{"class":95,"line":629},12,[631],{"type":47,"tag":93,"props":632,"children":633},{},[634],{"type":53,"value":635},"  averageRating: Float\n",{"type":47,"tag":93,"props":637,"children":639},{"class":95,"line":638},13,[640],{"type":47,"tag":93,"props":641,"children":642},{},[643],{"type":53,"value":526},{"type":47,"tag":472,"props":645,"children":647},{"id":646},"computed-fields-with-requires",[648],{"type":53,"value":649},"Computed Fields with @requires",{"type":47,"tag":83,"props":651,"children":653},{"className":85,"code":652,"language":15,"meta":87,"style":87},"type Product @key(fields: \"id\") {\n  id: ID!\n  size: Int @external\n  weight: Int @external\n  shippingEstimate: String @requires(fields: \"size weight\")\n}\n",[654],{"type":47,"tag":74,"props":655,"children":656},{"__ignoreMap":87},[657,664,671,679,687,695],{"type":47,"tag":93,"props":658,"children":659},{"class":95,"line":96},[660],{"type":47,"tag":93,"props":661,"children":662},{},[663],{"type":53,"value":492},{"type":47,"tag":93,"props":665,"children":666},{"class":95,"line":105},[667],{"type":47,"tag":93,"props":668,"children":669},{},[670],{"type":53,"value":500},{"type":47,"tag":93,"props":672,"children":673},{"class":95,"line":114},[674],{"type":47,"tag":93,"props":675,"children":676},{},[677],{"type":53,"value":678},"  size: Int @external\n",{"type":47,"tag":93,"props":680,"children":681},{"class":95,"line":511},[682],{"type":47,"tag":93,"props":683,"children":684},{},[685],{"type":53,"value":686},"  weight: Int @external\n",{"type":47,"tag":93,"props":688,"children":689},{"class":95,"line":520},[690],{"type":47,"tag":93,"props":691,"children":692},{},[693],{"type":53,"value":694},"  shippingEstimate: String @requires(fields: \"size weight\")\n",{"type":47,"tag":93,"props":696,"children":697},{"class":95,"line":578},[698],{"type":47,"tag":93,"props":699,"children":700},{},[701],{"type":53,"value":526},{"type":47,"tag":472,"props":703,"children":705},{"id":704},"value-types-with-shareable",[706],{"type":53,"value":707},"Value Types with @shareable",{"type":47,"tag":83,"props":709,"children":711},{"className":85,"code":710,"language":15,"meta":87,"style":87},"type Money @shareable {\n  amount: Int!\n  currency: String!\n}\n",[712],{"type":47,"tag":74,"props":713,"children":714},{"__ignoreMap":87},[715,723,731,739],{"type":47,"tag":93,"props":716,"children":717},{"class":95,"line":96},[718],{"type":47,"tag":93,"props":719,"children":720},{},[721],{"type":53,"value":722},"type Money @shareable {\n",{"type":47,"tag":93,"props":724,"children":725},{"class":95,"line":105},[726],{"type":47,"tag":93,"props":727,"children":728},{},[729],{"type":53,"value":730},"  amount: Int!\n",{"type":47,"tag":93,"props":732,"children":733},{"class":95,"line":114},[734],{"type":47,"tag":93,"props":735,"children":736},{},[737],{"type":53,"value":738},"  currency: String!\n",{"type":47,"tag":93,"props":740,"children":741},{"class":95,"line":511},[742],{"type":47,"tag":93,"props":743,"children":744},{},[745],{"type":53,"value":526},{"type":47,"tag":472,"props":747,"children":749},{"id":748},"entity-stub-reference-without-contributing",[750],{"type":53,"value":751},"Entity Stub (Reference Without Contributing)",{"type":47,"tag":83,"props":753,"children":755},{"className":85,"code":754,"language":15,"meta":87,"style":87},"type Product @key(fields: \"id\", resolvable: false) {\n  id: ID!\n}\n",[756],{"type":47,"tag":74,"props":757,"children":758},{"__ignoreMap":87},[759,767,774],{"type":47,"tag":93,"props":760,"children":761},{"class":95,"line":96},[762],{"type":47,"tag":93,"props":763,"children":764},{},[765],{"type":53,"value":766},"type Product @key(fields: \"id\", resolvable: false) {\n",{"type":47,"tag":93,"props":768,"children":769},{"class":95,"line":105},[770],{"type":47,"tag":93,"props":771,"children":772},{},[773],{"type":53,"value":500},{"type":47,"tag":93,"props":775,"children":776},{"class":95,"line":114},[777],{"type":47,"tag":93,"props":778,"children":779},{},[780],{"type":53,"value":526},{"type":47,"tag":62,"props":782,"children":784},{"id":783},"ground-rules",[785],{"type":53,"value":786},"Ground Rules",{"type":47,"tag":428,"props":788,"children":789},{},[790,802,807,819,831,844],{"type":47,"tag":432,"props":791,"children":792},{},[793,795,800],{"type":53,"value":794},"ALWAYS use Federation 2.x syntax with ",{"type":47,"tag":74,"props":796,"children":798},{"className":797},[],[799],{"type":53,"value":79},{"type":53,"value":801}," directive",{"type":47,"tag":432,"props":803,"children":804},{},[805],{"type":53,"value":806},"ALWAYS import only the directives your subgraph uses",{"type":47,"tag":432,"props":808,"children":809},{},[810,812,817],{"type":53,"value":811},"NEVER use ",{"type":47,"tag":74,"props":813,"children":815},{"className":814},[],[816],{"type":53,"value":245},{"type":53,"value":818}," without ensuring all subgraphs return identical values for that field",{"type":47,"tag":432,"props":820,"children":821},{},[822,824,829],{"type":53,"value":823},"PREFER ",{"type":47,"tag":74,"props":825,"children":827},{"className":826},[],[828],{"type":53,"value":219},{"type":53,"value":830}," with single ID field for simple entity identification",{"type":47,"tag":432,"props":832,"children":833},{},[834,836,842],{"type":53,"value":835},"USE ",{"type":47,"tag":74,"props":837,"children":839},{"className":838},[],[840],{"type":53,"value":841},"rover supergraph compose",{"type":53,"value":843}," to validate composition locally",{"type":47,"tag":432,"props":845,"children":846},{},[847,848,854],{"type":53,"value":835},{"type":47,"tag":74,"props":849,"children":851},{"className":850},[],[852],{"type":53,"value":853},"rover subgraph check",{"type":53,"value":855}," to validate against production supergraph",{"type":47,"tag":857,"props":858,"children":859},"style",{},[860],{"type":53,"value":861},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":863,"total":1025},[864,879,892,899,920,935,948,961,976,992,1002,1013],{"slug":865,"name":865,"fn":866,"description":867,"org":868,"tags":869,"stars":24,"repoUrl":25,"updatedAt":878},"apollo-client","build React apps with 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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[870,871,874,875],{"name":9,"slug":8,"type":16},{"name":872,"slug":873,"type":16},"Frontend","frontend",{"name":14,"slug":15,"type":16},{"name":876,"slug":877,"type":16},"React","react","2026-04-06T18:01:12.268638",{"slug":880,"name":880,"fn":881,"description":882,"org":883,"tags":884,"stars":24,"repoUrl":25,"updatedAt":891},"apollo-connectors","integrate REST APIs with 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\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[885,886,887,888],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":889,"slug":890,"type":16},"REST API","rest-api","2026-04-06T18:01:23.758345",{"slug":4,"name":4,"fn":5,"description":6,"org":893,"tags":894,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[895,896,897,898],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":900,"name":900,"fn":901,"description":902,"org":903,"tags":904,"stars":24,"repoUrl":25,"updatedAt":919},"apollo-ios","build Apple apps with Apollo iOS","Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift. Use this skill when: (1) adding Apollo iOS to a Swift Package Manager or Xcode project, (2) configuring `apollo-codegen-config.json` and running code generation, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions from SwiftUI views, (5) writing tests against generated operation mocks.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[905,906,907,910,913,916],{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":908,"slug":909,"type":16},"iOS","ios",{"name":911,"slug":912,"type":16},"Mobile","mobile",{"name":914,"slug":915,"type":16},"Swift","swift",{"name":917,"slug":918,"type":16},"Xcode","xcode","2026-04-29T05:35:21.329969",{"slug":921,"name":921,"fn":922,"description":923,"org":924,"tags":925,"stars":24,"repoUrl":25,"updatedAt":934},"apollo-kotlin","build Kotlin apps with Apollo GraphQL","Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1) setting up Apollo Kotlin in a Gradle project for Android, Kotlin\u002FJVM, or KMP, (2) configuring schema download and codegen for GraphQL services, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions,\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[926,929,930,931],{"name":927,"slug":928,"type":16},"Android","android",{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":932,"slug":933,"type":16},"Kotlin","kotlin","2026-04-06T18:01:15.005978",{"slug":936,"name":936,"fn":937,"description":938,"org":939,"tags":940,"stars":24,"repoUrl":25,"updatedAt":947},"apollo-mcp-server","connect MCP agents to GraphQL APIs","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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[941,942,943,944],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":945,"slug":946,"type":16},"MCP","mcp","2026-04-06T18:01:20.578589",{"slug":949,"name":949,"fn":950,"description":951,"org":952,"tags":953,"stars":24,"repoUrl":25,"updatedAt":960},"apollo-router","configure Apollo Router for GraphQL federation","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, (6) securing the graph with JWT, declarative field-level authorization directives, or persisted-query safelisting, (7) managing router.yaml as version-controlled config with CI\u002FCD validation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[954,955,956,959],{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"name":957,"slug":958,"type":16},"Deployment","deployment",{"name":14,"slug":15,"type":16},"2026-07-30T05:31:54.665938",{"slug":962,"name":962,"fn":963,"description":964,"org":965,"tags":966,"stars":24,"repoUrl":25,"updatedAt":975},"apollo-router-plugin-creator","write Apollo Router Rust plugins","Guide for writing Apollo Router native Rust plugins. Use this skill when: (1) users want to create a new router plugin, (2) users want to add service hooks (router_service, supergraph_service, execution_service, subgraph_service), (3) users want to modify an existing router plugin, (4) users need to understand router plugin patterns or the request lifecycle. (5) triggers on requests like \"create a new plugin\", \"add a router plugin\", \"modify the X plugin\", or \"add subgraph_service hook\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[967,968,969,972],{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":970,"slug":971,"type":16},"Plugin Development","plugin-development",{"name":973,"slug":974,"type":16},"Rust","rust","2026-04-06T18:01:27.176974",{"slug":977,"name":977,"fn":978,"description":979,"org":980,"tags":981,"stars":24,"repoUrl":25,"updatedAt":991},"apollo-server","build GraphQL servers with 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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[982,983,984,985,988],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":986,"slug":987,"type":16},"Node.js","nodejs",{"name":989,"slug":990,"type":16},"TypeScript","typescript","2026-04-06T18:01:13.653038",{"slug":993,"name":993,"fn":994,"description":995,"org":996,"tags":997,"stars":24,"repoUrl":25,"updatedAt":1001},"graphql-operations","write GraphQL queries and mutations","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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[998,999,1000],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},"2026-04-06T18:01:25.530906",{"slug":1003,"name":1003,"fn":1004,"description":1005,"org":1006,"tags":1007,"stars":24,"repoUrl":25,"updatedAt":1012},"graphql-schema","design GraphQL schemas","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.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1008,1009,1010,1011],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},"2026-04-06T18:01:19.140592",{"slug":1014,"name":1014,"fn":1015,"description":1016,"org":1017,"tags":1018,"stars":24,"repoUrl":25,"updatedAt":1024},"rover","manage GraphQL schemas with Apollo Rover","Guide for using Apollo Rover CLI to manage GraphQL schemas and federation. Use this skill when: (1) publishing or fetching subgraph\u002Fgraph 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 \u002F rover schema search).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1019,1020,1023],{"name":9,"slug":8,"type":16},{"name":1021,"slug":1022,"type":16},"CLI","cli",{"name":14,"slug":15,"type":16},"2026-07-30T05:31:52.675547",15,{"items":1027,"total":1079},[1028,1035,1042,1049,1058,1065,1072],{"slug":865,"name":865,"fn":866,"description":867,"org":1029,"tags":1030,"stars":24,"repoUrl":25,"updatedAt":878},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1031,1032,1033,1034],{"name":9,"slug":8,"type":16},{"name":872,"slug":873,"type":16},{"name":14,"slug":15,"type":16},{"name":876,"slug":877,"type":16},{"slug":880,"name":880,"fn":881,"description":882,"org":1036,"tags":1037,"stars":24,"repoUrl":25,"updatedAt":891},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1038,1039,1040,1041],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":889,"slug":890,"type":16},{"slug":4,"name":4,"fn":5,"description":6,"org":1043,"tags":1044,"stars":24,"repoUrl":25,"updatedAt":26},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1045,1046,1047,1048],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"name":14,"slug":15,"type":16},{"slug":900,"name":900,"fn":901,"description":902,"org":1050,"tags":1051,"stars":24,"repoUrl":25,"updatedAt":919},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1052,1053,1054,1055,1056,1057],{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":908,"slug":909,"type":16},{"name":911,"slug":912,"type":16},{"name":914,"slug":915,"type":16},{"name":917,"slug":918,"type":16},{"slug":921,"name":921,"fn":922,"description":923,"org":1059,"tags":1060,"stars":24,"repoUrl":25,"updatedAt":934},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1061,1062,1063,1064],{"name":927,"slug":928,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":932,"slug":933,"type":16},{"slug":936,"name":936,"fn":937,"description":938,"org":1066,"tags":1067,"stars":24,"repoUrl":25,"updatedAt":947},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1068,1069,1070,1071],{"name":22,"slug":23,"type":16},{"name":9,"slug":8,"type":16},{"name":14,"slug":15,"type":16},{"name":945,"slug":946,"type":16},{"slug":949,"name":949,"fn":950,"description":951,"org":1073,"tags":1074,"stars":24,"repoUrl":25,"updatedAt":960},{"slug":8,"name":9,"logoUrl":10,"githubOrg":11},[1075,1076,1077,1078],{"name":9,"slug":8,"type":16},{"name":18,"slug":19,"type":16},{"name":957,"slug":958,"type":16},{"name":14,"slug":15,"type":16},14]