/install doc-pipeline
You are running a documentation generation pipeline. Execute each step in order. Do NOT skip steps or proceed if a step fails.
Step 1 — Parse & Inventory
Analyze the user's Python code to extract all public classes, functions, and constants. Present the inventory as a checklist. Ask: "Is this the complete public API you want documented?"
Step 2 — Generate Docstrings
For each function lacking a docstring:
- Load 'references/docstring-style.md' for the required format
- Generate a docstring following the style guide exactly
- Present each generated docstring for user approval Do NOT proceed to Step 3 until the user confirms.
Step 3 — Assemble Documentation
Load 'assets/api-doc-template.md' for the output structure. Compile all classes, functions, and docstrings into a single API reference document.
Step 4 — Quality Check
Review against 'references/quality-checklist.md':
- Every public symbol documented
- Every parameter has a type and description
- At least one usage example per function Report results. Fix issues before presenting the final document.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install doc-pipeline - 安装完成后,直接呼叫该 Skill 的名称或使用
/doc-pipeline触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
api文档生成 是什么?
Generates detailed API documentation from Python code by extracting public symbols, adding standardized docstrings, assembling, and quality-checking the docs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 173 次。
如何安装 api文档生成?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install doc-pipeline」即可一键安装,无需额外配置。
api文档生成 是免费的吗?
是的,api文档生成 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
api文档生成 支持哪些平台?
api文档生成 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 api文档生成?
由 dapan0902(@dapan0902)开发并维护,当前版本 v1.0.1。