跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Apollo Router Plugin Creator

技能 已验证 活跃

Guide 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.

功能

  • 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

使用场景

  • 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

非目标

  • Developing non-Rust plugins for Apollo Router
  • General Apollo Router configuration beyond plugin integration
  • Debugging unrelated Rust or Apollo Router issues

安装

请先添加 Marketplace

/plugin marketplace add apollographql/skills
/plugin install skills@apollo-marketplace

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交2 days ago
星标62
许可证MIT
状态
查看源代码

类似扩展

API Design Patterns

100

Comprehensive API design patterns covering REST, GraphQL, gRPC, versioning, authentication, and modern API best practices

技能
bobmatnyc

Apollo Router

100

Version-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.

技能
apollographql

Apollo Ios

100

Guide 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.

技能
apollographql

Apollo Federation

100

Guide 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.

技能
apollographql

Plugin Authoring

100

用于在创建、修改或调试 Claude Code 插件时使用。当遇到 .claude-plugin/、plugin.json、marketplace.json、commands/、agents/、skills/ 或 hooks/ 目录时触发。提供模式、模板、验证工作流和故障排除。

技能
ivan-magda

Lean Ctx

100

AI 代理的上下文运行时 — 包含 59 个 MCP 工具、10 种读取模式、95+ 种 shell 模式、支持 18 种语言的 tree-sitter AST。将 LLM 上下文压缩高达 99%。用于读取文件、运行 shell 命令、搜索代码或探索目录。如果不存在,则自动安装。

技能
yvgude