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.
npx skills add majiayu000/claude-skill-registry --skill apollo-router --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Apollo Router Config Generator Apollo Router is a high-performance graph router written in Rust for running Apollo Federation 2 supergraphs. It sits in front of your subgraphs and handles query planning, execution, and response composition. **This skill generates version-correct configuration.** Router v1 and v2 have incompatible config schemas in several critical sections (CORS, JWT auth, connectors). Always determine the target version before generating any config. ## Step 1: Version Selection Ask the user **before generating any config**: ``` Which Apollo Router version are you targeting? [1] Router v2.x (recommended — current LTS, required for Connectors) [2] Router v1.x (legacy — end-of-support announced, security patches only) [3] Not sure — help me decide ``` If the user picks **[3]**, display: ``` Quick guide: • Pick v2 if: you're starting fresh, using Apollo Connectors for REST APIs, or want backpressure-based overload protection. • Pick v1 if: you have an existing deployment and haven't migrated yet. Note: Apollo ended active support for v1.x. The v2.10 LTS (Dec 2025) is the current baseline. Migration is strongly recommended. Tip: If you have an existing router.yaml, y
- Step 1: Version Selection
- Step 2: Environment Selection
- Step 3: Feature Selection
- Step 4: Gather Parameters
- CORS
- JWT Authentication
- Connectors (v2 only)
- Operation Limits
- Telemetry
- Traffic Shaping
- Step 5: Generate Config
- Step 6: Validate
- Required Validation Gate (always run)
- Step 7: Conditional Next Steps Handoff
What does the apollo-router skill do?
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.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill apollo-router --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
