/install doc-generator
README Generator
Overview
Automatically analyzes a codebase and generates a comprehensive, professional README.md.
When to Use
- User asks to "generate a README", "create documentation", or "document this project"
- New project needs a README but none exists
- Existing README is outdated or incomplete
How It Works
Step 1: Analyze project structure
Run: dir /b /s /a:d (Windows) or find . -maxdepth 2 -type d (macOS/Linux)
Step 2: Detect project type
Check for: package.json (JS), setup.py/pyproject.toml (Python), Cargo.toml (Rust), go.mod (Go), pom.xml (Java)
Step 3: Generate README sections
- Project Title - from package.json name or directory name
- Badges - CI status, version, license, downloads
- One-liner Description
- Features - auto-detect from exports and main functions
- Installation - standard install for detected type
- Usage - realistic examples from source code
- API Reference - parse function signatures
- Contributing + License
Output Format
Write a complete README.md with all sections. Keep descriptions under 80 chars per line. Include real badges (shields.io) and actual code examples from the source.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doc-generator - After installation, invoke the skill by name or use
/doc-generator - Provide required inputs per the skill's parameter spec and get structured output
What is Doc Generator?
Auto-generates professional README.md from code structure, package.json, and directory analysis. Triggers: generate readme, create readme, readme from code,... It is an AI Agent Skill for Claude Code / OpenClaw, with 82 downloads so far.
How do I install Doc Generator?
Run "/install doc-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Doc Generator free?
Yes, Doc Generator is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Doc Generator support?
Doc Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Doc Generator?
It is built and maintained by SKY-lv (@sky-lv); the current version is v1.0.0.