apollo-router-plugin-creator
OfficialBuild custom Apollo Router plugins in Rust.
Authorapollographql
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide and structure for developing native Rust plugins for the Apollo Router, enabling developers to extend its functionality with custom logic.
Core Features & Use Cases
- Plugin Development Guide: Step-by-step instructions for creating new router plugins.
- Service Hook Implementation: Details on using
router_service,supergraph_service,execution_service, andsubgraph_servicefor request lifecycle interception. - Common Patterns & Examples: Illustrates patterns like request/response transformation, checkpointing, and async operations with practical code snippets.
- Use Case: You need to add custom authentication logic that inspects HTTP headers before the GraphQL request is processed. This skill guides you to implement this using the
router_servicehook.
Quick Start
Follow the steps in this skill to create a new Rust plugin file, define its configuration and plugin structs, implement the necessary service hooks, and register it with the Apollo Router.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: apollo-router-plugin-creator Download link: https://github.com/apollographql/skills/archive/main.zip#apollo-router-plugin-creator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.