Back to skills

apollo-router-plugin-creator

infrastructure

Guides you through writing native Rust plugins for Apollo Router. It covers the full request lifecycle, service hooks (router, supergraph, execution, subgraph), configuration structs, and registration

Setup & Installation

npx skills add https://github.com/apollographql/apollo-router-plugin-creator --skill apollo-router-plugin-creator
or paste the link and ask your coding assistant to install it
https://github.com/apollographql/apollo-router-plugin-creator
View on GitHub

What This Skill Does

Guides you through writing native Rust plugins for Apollo Router. It covers the full request lifecycle, service hooks (router, supergraph, execution, subgraph), configuration structs, and registration. You get scaffolded plugin files with the right imports and trait implementations. Apollo Router's native plugin API requires specific Rust trait implementations, Tower service composition, and correct registration boilerplate that's easy to get wrong without a reference.

When to use it

  • Working with apollo router plugin creator functionality
  • Implementing apollo router plugin creator features
  • Debugging apollo router plugin creator related issues