ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Doc Pipeline

Skill by dapan0902

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/dapan0902/doc-pipeline
Or

name: doc-pipeline display_name:api文档生成 description: Generates API documentation from Python source code through a multi-step pipeline. Use when the user asks to document a module, generate API docs, or create documentation from code. metadata: pattern: pipeline version:1.0.1 steps: "4"

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.

Metadata

Author@dapan0902
Stars3376
Views0
Updated2026-03-24
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-dapan0902-doc-pipeline": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.