GraphQL Schema Documentation Builder by agentskillexchange/skills
npx skills add https://github.com/agentskillexchange/skills --skill 'GraphQL Schema Documentation Builder'利用 graphql-js 自省查询和 SpectaQL,从 GraphQL 模式生成交互式 API 文档。从 SDL 文件生成类型关系图、查询示例和弃用通知。
GraphQL 模式文档构建器技能将 GraphQL 模式定义语言文件转换为全面的 API 文档。它使用 graphql-js 自省查询来提取完整的类型系统,包括对象、接口、联合、枚举和输入类型及其字段级别的描述。
该技能集成了 SpectaQL 用于静态文档站点生成,以及 graphql-voyager 用于交互式模式可视化。它解析 SDL 文件以检测 @deprecated 指令,并为已弃用的字段生成迁移指南,并提供建议的替代方案。
主要功能包括:使用 faker.js 生成带有真实模拟数据的自动查询和变更示例、包含 WebSocket 连接详情的订阅文档、自定义标量文档提取,以及中继风格分页模式检测。该技能还会根据最佳实践(包括 Shopify GraphQL 设计教程指南)验证模式,并使用 graphql-codegen 生成 TypeScript 类型定义,用于客户端 SDK 文档。
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a codex
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
clawhub install graphql-schema-documentation-builder
每周安装次数
–
代码仓库
GitHub 星标数
1
首次出现时间
–
安全审计
Generates interactive API documentation from GraphQL schemas using graphql-js introspection queries and SpectaQL. Produces type relationship diagrams, query examples, and deprecation notices from SDL files.
The GraphQL Schema Documentation Builder skill transforms GraphQL Schema Definition Language files into comprehensive API documentation. It uses graphql-js introspection queries to extract the full type system including objects, interfaces, unions, enums, and input types with their field-level descriptions.
The skill integrates with SpectaQL for static documentation site generation and graphql-voyager for interactive schema visualization. It parses SDL files to detect @deprecated directives and generates migration guides for deprecated fields with suggested alternatives.
Key features include automatic query and mutation example generation with realistic fake data using faker.js, subscription documentation with WebSocket connection details, custom scalar documentation extraction, and relay-style pagination pattern detection. The skill also validates schemas against best practices including the Shopify GraphQL Design Tutorial guidelines and generates TypeScript type definitions using graphql-codegen for client SDK documentation.
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a claude-code
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a cursor
npx skills add agentskillexchange/skills --skill graphql-schema-documentation-builder -a codex
clawhub install graphql-schema-documentation-builder
Weekly Installs
–
Repository
GitHub Stars
1
First Seen
–
Security Audits
agent-browser 浏览器自动化工具 - Vercel Labs 命令行网页操作与测试
147,400 周安装