Apollo Router Plugin Creator
Skill Verified ActiveGuide for writing Apollo Router native Rust plugins. Use this skill when: (1) users want to create a new router plugin, (2) users want to add service hooks (router_service, supergraph_service, execution_service, subgraph_service), (3) users want to modify an existing router plugin, (4) users need to understand router plugin patterns or the request lifecycle. (5) triggers on requests like "create a new plugin", "add a router plugin", "modify the X plugin", or "add subgraph_service hook".
To guide users in creating custom Rust plugins for Apollo Router, enabling them to extend its functionality and integrate custom logic.
Features
- Step-by-step guide for plugin creation
- Detailed explanation of service hooks (router, supergraph, execution, subgraph)
- Examples of common plugin patterns
- Guidance on configuration and registration
- Testing strategies for plugins
Use Cases
- Creating a new router plugin from scratch
- Adding custom logic to service hooks
- Understanding the Apollo Router request lifecycle
- Modifying or extending existing router plugins
Non-Goals
- Developing non-Rust plugins for Apollo Router
- General Apollo Router configuration beyond plugin integration
- Debugging unrelated Rust or Apollo Router issues
Installation
First, add the marketplace
/plugin marketplace add apollographql/skills/plugin install skills@apollo-marketplaceQuality Score
VerifiedTrust Signals
Similar Extensions
API Design Patterns
100Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices
Apollo Router
100Version-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.
Apollo Ios
100Guide for building Apple-platform applications with Apollo iOS, the strongly-typed GraphQL client for Swift. Use this skill when: (1) adding Apollo iOS to a Swift Package Manager or Xcode project, (2) configuring `apollo-codegen-config.json` and running code generation, (3) configuring an `ApolloClient` with auth, interceptors, and caching, (4) writing queries, mutations, or subscriptions from SwiftUI views, (5) writing tests against generated operation mocks.
Apollo Federation
100Guide for authoring Apollo Federation subgraph schemas. Use this skill when: (1) creating new subgraph schemas for a federated supergraph, (2) defining or modifying entities with @key, (3) sharing types/fields across subgraphs with @shareable, (4) working with federation directives (@external, @requires, @provides, @override, @inaccessible), (5) troubleshooting composition errors, (6) any task involving federation schema design patterns.
Plugin Authoring
100Use when creating, modifying, or debugging Claude Code plugins. Triggers on .claude-plugin/, plugin.json, marketplace.json, commands/, agents/, skills/, hooks/ directories. Provides schemas, templates, validation workflows, and troubleshooting.
Lean Ctx
100Context Runtime for AI Agents — 59 MCP tools, 10 read modes, 95+ shell patterns, tree-sitter AST for 18 languages. Compresses LLM context by up to 99%. Use when reading files, running shell commands, searching code, or exploring directories. Auto-installs if not present.