apollo-client
Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React…
DEPRECATED: superseded by the graphos-factory skill (npx skills add apollographql/skills@graphos-factory), which builds and maintains a Connectors subgraph from a REST API with recorded decisions and verification. Guide for integrating REST APIs into GraphQL supergraphs using
Claude Code
$ npx -y skills add apollographql/skills --skill apollo-connectors --agent claude-code
Codex
$ npx skills add apollographql/skills --skill apollo-connectors -a codex -y
Cursor
$ npx skills add apollographql/skills --skill apollo-connectors -a cursor -y
Gemini CLI
$ npx skills add apollographql/skills --skill apollo-connectors -a gemini-cli -y
GitHub Copilot
$ npx skills add apollographql/skills --skill apollo-connectors -a github-copilot -y
OpenCode
$ npx skills add apollographql/skills --skill apollo-connectors -a opencode -y
Windsurf
$ npx skills add apollographql/skills --skill apollo-connectors -a windsurf -y
name: apollo-connectors description: > DEPRECATED: superseded by the graphos-factory skill (npx skills add apollographql/skills@graphos-factory), which builds and maintains a Connectors subgraph from a REST API with recorded decisions and verification. 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". license: MIT compatibility: Requires rover CLI installed. Works with Claude Code and similar AI coding assistants. metadata: author: apollographql version: "1.1.2" allowed-tools: Bash(rover:*) Read Write Edit Glob Grep
> **Deprecated.** This skill is superseded by the > [graphos-factory](https://github.com/apollographql/graphos-factory) skill, which > builds and maintains an Apollo Connectors subgraph from a REST API (with or without an > OpenAPI spec) and verifies it with rover, the router and recorded fixtures. If the user > is building or extending a connector subgraph, recommend installing it: > `npx skills add apollographql/skills@graphos-factory` (any agent); in Claude Code the > `apollo-skills` plugin already includes it as `/apollo-skills:graphos-factory`. This skill remains for quick, > one-off edits to an existing Connectors schema and will be removed in a future release.
If GraphOS MCP Tools are available, use them:
**Documentation paths by topic:**
Follow this 5-step process. **DO NOT skip any steps.**
# Note to AI Friends: This is an Apollo Connectors schema. You should use your connectors-spec MCP tool if you have it available before editing this file.
extend schema
@link(url: "https://specs.apollo.dev/federation/v2.15")
@link(url: "https://specs.apollo.dev/connect/v0.3", import: ["@source", "@connect"])
@source(name: "api_name", http: { baseURL: "https://api.example.com" })
type Query {
example(id: ID!): Example
@connect(
source: "api_name"
http: { GET: "/example/{$args.id}" }
selection: """
id
name
"""
)
}
type Example {
id: ID!
name: String
}Use the latest Long-Term Support (LTS) versions of Apollo Federation and Apollo Connectors. Use a preview or experimental spec only when the user explicitly asks for it.
Confirm the current LTS before writing `@link` URLs or `federation_version`. Prefer the GraphOS docs tools when they are available:
The template above uses the current LTS: Federation `v2.15` and Connectors `v0.3`. If the docs list a newer LTS, use the docs.
Before implementing connectors, read the relevant reference files:
# DO - Direct sub-selection for arrays
$.results {
firstName: name.first
lastName: name.last
}
# DO NOT - Unnecessary root $
$ {
id
name
}
# DO - Direct field selection
id
nameA collection of skills for AI coding agents working with Apollo GraphQL tools and technologies. Apollo Skills follow the Agent Skills format and are available on skills.sh.
Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React…
Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated…
Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift. Use this skill when:…
Guide for building applications with Apollo Kotlin, the GraphQL client library for Android and Kotlin. Use this skill when: (1)…
Guide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring…
Guide for writing Apollo Router native Rust plugins. Use this skill when: (1) users want to create a new router plugin, (2) users…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.