graphql-schema-stitching-%26-federation-agent by agentskillexchange/skills
npx skills add https://github.com/agentskillexchange/skills --skill 'GraphQL Schema Stitching & Federation Agent'管理来自子图模式的 Apollo Federation v2 超图组合,验证组合规则并生成 rover CLI 部署清单。处理 @key、@shareable 和 @override 指令。
此技能在分布式 GraphQL 子图服务间编排 Apollo Federation v2 超图组合。它使用 Rover CLI 根据联邦组合规则验证子图模式,检查 @key 指令定义、实体解析兼容性和 @shareable 字段声明。该代理通过 rover supergraph compose 生成超图 SDL,并使用 rover graph check 对照 Apollo Studio 检测相对于先前模式版本的破坏性变更。当 SDL 文件不可用时,子图内省可从运行的服务中发现模式。该技能处理用于在子图间渐进式实体迁移的 @override 指令,生成包含回滚步骤的迁移计划。合约模式变体使用 @tag 指令为特定合作伙伴的 API 接口过滤超图。性能分析识别实体解析中的 N+1 查询模式,并推荐 @requires 指令优化。该代理为 Apollo Router 生成部署清单,包含查询规划缓存大小、通过 WebSocket 的订阅支持以及基于操作复杂度分数的速率限制等配置。
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a codex
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clawhub install graphql-schema-stitching-federation-agent
每周安装次数
–
代码仓库
GitHub 星标数
1
首次出现
–
Manages Apollo Federation v2 supergraph composition from subgraph schemas, validating composition rules and generating rover CLI deployment manifests. Handles @key, @shareable, and @override directives.
This skill orchestrates Apollo Federation v2 supergraph composition across distributed GraphQL subgraph services. It uses the Rover CLI to validate subgraph schemas against federation composition rules, checking @key directive definitions, entity resolution compatibility, and @shareable field declarations. The agent generates supergraph SDL through rover supergraph compose, detecting breaking changes against the previous schema version using rover graph check against Apollo Studio. Subgraph introspection discovers schemas from running services when SDL files are unavailable. The skill handles @override directives for progressive entity migration between subgraphs, generating migration plans with rollback steps. Contract schema variants filter the supergraph for partner-specific API surfaces using @tag directives. Performance analysis identifies N+1 query patterns in entity resolution and recommends @requires directive optimizations. The agent produces deployment manifests for Apollo Router with configuration for query planning cache sizes, subscription support via WebSocket, and rate limiting per operation complexity scores.
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-stitching-federation-agent -a codex
clawhub install graphql-schema-stitching-federation-agent
Weekly Installs
–
Repository
GitHub Stars
1
First Seen
–
Azure Data Explorer (Kusto) 查询技能:KQL数据分析、日志遥测与时间序列处理
114,200 周安装