GraphQL Schema Drift Detector by agentskillexchange/skills
npx skills add https://github.com/agentskillexchange/skills --skill 'GraphQL Schema Drift Detector'使用 graphql-inspector 和 GraphQL 内省查询检测 GraphQL 模式中的破坏性变更。比较模式版本,识别被移除的字段、更改的类型以及已弃用的指令使用情况。
GraphQL Schema 漂移检测器技能用于监控 GraphQL API 模式在不同版本之间的破坏性和危险变更。它使用 graphql-inspector 进行模式比较,并使用标准的 GraphQL 内省查询(__schema)从运行中的端点获取实时模式定义。
检测引擎执行完整的模式差异分析,涵盖对象类型、输入类型、枚举、接口、联合、标量和指令。破坏性变更包括移除的字段、更改的字段类型(缩小输出类型或扩大输入类型)、移除的枚举值以及移除的接口实现。危险变更包括添加必需参数、向输入枚举添加枚举值以及可能影响客户端代码生成的类型更改。
该技能维护本地模式版本历史,支持与任何先前版本进行比较,而不仅仅是紧邻的前一个版本。它通过 Apollo Platform API 与 Apollo Studio 等模式注册表集成,并通过 Hasura Metadata API 与 Hasura 集成。差异报告包括使用持久化查询存储中的操作文档进行客户端影响分析,精确识别哪些查询和变更会中断。输出格式包括 Markdown 变更日志、JSON 机器可读差异和 Slack 格式的通知。
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a codex
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clawhub install graphql-schema-drift-detector
每周安装次数
–
代码仓库
GitHub 星标数
1
首次出现时间
–
安全审计
Detects breaking changes in GraphQL schemas using graphql-inspector and the GraphQL introspection query. Compares schema versions, identifies removed fields, changed types, and deprecated directive usage.
The GraphQL Schema Drift Detector skill monitors GraphQL API schemas for breaking and dangerous changes between versions. It uses graphql-inspector for schema comparison and the standard GraphQL introspection query (__schema) to fetch live schema definitions from running endpoints.
The detection engine performs full schema diff analysis covering object types, input types, enums, interfaces, unions, scalars, and directives. Breaking changes include removed fields, changed field types (narrowing output types or widening input types), removed enum values, and removed interface implementations. Dangerous changes include added required arguments, enum value additions to input enums, and type changes that may affect client codegen.
The skill maintains a local schema version history, enabling comparison against any previous version, not just the immediately prior one. It integrates with schema registries like Apollo Studio via the Apollo Platform API and Hasura via the Hasura Metadata API. Diff reports include client impact analysis using operation documents from persisted query stores, identifying exactly which queries and mutations would break. Output formats include markdown changelogs, JSON machine-readable diffs, and Slack-formatted notifications.
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-drift-detector -a codex
clawhub install graphql-schema-drift-detector
Weekly Installs
–
Repository
GitHub Stars
1
First Seen
–
Security Audits
Lark Skill Maker 教程:基于飞书CLI创建AI技能,自动化工作流与API调用指南
24,400 周安装