首页龙虾技能列表 › API Documentation Generator — API工具

API Documentation Generator — API工具

v1.0.0

[AI辅助] Generate comprehensive OpenAPI 3.0 specs, markdown reference docs, and SDK quickstarts from API endpoint descriptions with examples and error codes.

0· 617·1 当前·1 累计
by @1kalin·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill is an instruction-only API documentation generator and its declared requirements and instructions are coherent with that purpose.
评估建议
This appears internally consistent and low-risk, but follow these practical precautions before use: 1) Do not paste production secrets, API keys, or private certificates into the skill — only paste code or route descriptions you are comfortable sharing. 2) If you integrate this with CI/CD or a repo, grant the minimal scopes required and review any automation scripts. 3) Verify generated OpenAPI/spec examples before publishing (to avoid leaking sample data). 4) If you want the agent to read files...
详细分析 ▾
用途与能力
Name and SKILL.md describe generating OpenAPI, markdown docs, and quickstarts; the skill requests no binaries, env vars, or installs — this matches the stated purpose.
指令范围
Runtime instructions stay narrowly focused on producing OpenAPI specs, reference docs, and quickstarts. The only note is a suggestion to 'paste your route files or controller code for automatic extraction' — this is user-driven input, not an instruction to access system files or credentials autonomously.
安装机制
No install spec and no code files — instruction-only. That minimizes disk-write and remote-code risk.
凭证需求
The skill requests no environment variables, credentials, or config paths; nothing disproportionate is required for generating docs.
持久化与权限
Defaults (not always: true) and normal autonomous invocation are used. There is no request for permanent presence or modification of other skills/configs.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/2/13

- Initial release: Generate professional API documentation from endpoint descriptions. - Outputs OpenAPI 3.0 YAML, markdown API reference, and SDK quickstart guides. - Supports detailed examples for requests, responses, error codes, and authentication. - Handles REST, GraphQL, and gRPC formats. - Emphasizes high-quality, production-ready documentation with full endpoint coverage. - Tips provided for automation and workflow integration.

● 无害

安装命令 点击复制

官方npx clawhub@latest install afrexai-api-docs
镜像加速npx clawhub@latest install afrexai-api-docs --registry https://cn.clawhub-mirror.com

技能文档

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

Usage

Describe your API endpoints and this skill generates:

  • OpenAPI 3.0 spec — machine-readable, 导入 进入 Swagger/Postman
  • Markdown reference — human-readable endpoint docs 带有 examples
  • SDK quickstart — 复制-paste integration guide 对于 developers

Instructions

When the user describes API endpoints (routes, methods, parameters, responses):

  • Generate complete OpenAPI 3.0 YAML specification
  • 创建 markdown documentation 带有:
- Authentication section - 每个 endpoint: 方法, path, description, parameters 表, 请求/响应 examples - 错误 codes reference - Rate limiting notes
  • Generate quickstart guide 带有 curl examples 和 common language snippets (Python, JavaScript, Go)

输出 格式

# openapi.yaml — full OpenAPI 3.0 spec
# API Reference — human-readable docs
# Quickstart Guide — integration examples

Quality Standards

  • Every endpoint 必须 有 请求 和 响应 examples
  • 使用 realistic sample data, 不 "字符串" 或 "示例"
  • Include 错误 responses (400, 401, 403, 404, 500)
  • Document 分页, filtering, 和 sorting patterns
  • Note breaking changes 和 versioning strategy

Tips

  • Paste 路由 files 或 控制器 code 对于 automatic extraction
  • Works 带有 REST, GraphQL (schema-第一个), 和 gRPC (proto-第一个)
  • Combine 带有 CI/CD 到 auto-generate docs 在...上 every deploy

Built by AfrexAI — AI-powered business tools for teams that ship fast.

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务