/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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-pipeline - After installation, invoke the skill by name or use
/doc-pipeline - Provide required inputs per the skill's parameter spec and get structured output
What is api文档生成?
Generates detailed API documentation from Python code by extracting public symbols, adding standardized docstrings, assembling, and quality-checking the docs. It is an AI Agent Skill for Claude Code / OpenClaw, with 173 downloads so far.
How do I install api文档生成?
Run "/install doc-pipeline" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is api文档生成 free?
Yes, api文档生成 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does api文档生成 support?
api文档生成 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created api文档生成?
It is built and maintained by dapan0902 (@dapan0902); the current version is v1.0.1.