apollo-router-plugin-creator
Guides you through writing native Rust plugins for Apollo Router.
Setup & Installation
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
- Adding JWT authentication or custom header logic at the router service layer
- Building a subgraph service hook to inject dynamic HTTP headers per downstream service
- Creating an execution service checkpoint that blocks specific queries based on policy rules
- Scaffolding a new Rust plugin file with config struct, trait impl, and YAML registration
- Modifying an existing router plugin to add response transformation or rate limiting
Similar Skills
wp-performance
A backend-only agent skill for diagnosing and fixing WordPress performance problems.
wp-playground
wp-playground runs disposable WordPress instances in the browser or locally via CLI, using WebAssembly and SQLite.
wp-wpcli-and-ops
Handles WordPress operational tasks via WP-CLI: database exports and imports, URL and domain migrations with search-replace, plugin and theme management, cron inspection, cache flushing, and multisite operations.
apollo-router
A version-aware configuration generator for Apollo Router, the Rust-based graph router that sits in front of federated GraphQL subgraphs.
