skills.vishalvoidskills/vishalvoid
Technical & DevelopmentIntermediate

apollo-router

Version-aware configuration generator for the Rust-based Apollo Router

Developer Setup

Setup & Installation

bash
npx skills add https://github.com/apollographql/skills --skill apollo-router

Overview

What This Skill Does

Version-aware configuration generator for the Rust-based Apollo Router

Application

When to use this Skill

Documentation

Show Skills.md file

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, you can auto-migrate it:
    router config upgrade router.yaml
Lines 1 - 32 of 266

Recommendations

Explore other random skills

All skillsMy patterns