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, (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/CD validation.
- Version
- 2.5.0
- License
- MIT
- Compatibility
- Linux/macOS/Windows. Requires a composed supergraph schema from Rover or GraphOS.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Pre-approved tools experimental
Experimental field. Support varies between clients, so this list is what the author declared, not what your client will enforce.
- Bash(router:*)
- Bash(./router:*)
- Bash(rover:*)
- Bash(curl:*)
- Bash(docker:*)
- Read
- Write
- Edit
- Glob
- Grep
Files
- skills/apollo-router/SKILL.md
- skills/apollo-router/LICENSE
- skills/apollo-router/divergence-map.md
- skills/apollo-router/references/configuration.md
- skills/apollo-router/references/connectors.md
- skills/apollo-router/references/headers.md
- skills/apollo-router/references/plugins.md
- skills/apollo-router/references/response-caching.md
- skills/apollo-router/references/telemetry.md
- skills/apollo-router/references/troubleshooting.md
- skills/apollo-router/templates/v1/development.yaml
- skills/apollo-router/templates/v1/production.yaml
- skills/apollo-router/templates/v1/sections/auth.yaml
- skills/apollo-router/templates/v1/sections/cors.yaml
- skills/apollo-router/templates/v1/sections/headers.yaml
- skills/apollo-router/templates/v1/sections/limits.yaml
- skills/apollo-router/templates/v1/sections/telemetry.yaml
- skills/apollo-router/templates/v1/sections/traffic-shaping.yaml
- skills/apollo-router/templates/v2/development.yaml
- skills/apollo-router/templates/v2/production.yaml
- skills/apollo-router/templates/v2/sections/auth.yaml
- skills/apollo-router/templates/v2/sections/connectors.yaml
- skills/apollo-router/templates/v2/sections/cors.yaml
- skills/apollo-router/templates/v2/sections/headers.yaml
- skills/apollo-router/templates/v2/sections/limits.yaml
- skills/apollo-router/templates/v2/sections/response-caching.yaml
- skills/apollo-router/templates/v2/sections/telemetry.yaml
- skills/apollo-router/templates/v2/sections/traffic-shaping.yaml
- skills/apollo-router/validation/checklist.md
Every link opens the file at its source, pinned to the revision this page describes.