Complete documentation management for enterprise projects. It generates READMEs from repository metadata, extracts API documentation from route definitions or OpenAPI specs, synchronizes version numbers and environment examples across files, and produces user guides, architecture docs, ADRs, runbooks, and changelogs derived from git history. Built-in templates cover README, QUICKSTART, API.md, CONFIGURATION, SECURITY.md, CONTRIBUTING.md, and CHANGELOG.md. Use it to onboard new services, update documentation after code changes, perform documentation audits and gap analyses, and integrate automated doc generation into CI/CD pipelines. Core advantages include consistent documentation structure, faster developer onboarding, reduced manual drift between code and docs, traceable changelogs, and improved operational readiness and compliance.
Complete documentation management for enterprise projects. Handles README generation, API documentation, sync, user guides, and changelogs.
docs/
├── QUICKSTART.md # 5-minute setup guide
├── USER_GUIDE.md # Complete user manual
├── API.md # REST API reference
├── ARCHITECTURE.md # System architecture
├── CONFIGURATION.md # Environment variables
├── AUTHENTICATION.md # Auth & RBAC guide
├── DEPLOYMENT.md # Deployment setup
├── TROUBLESHOOTING.md # Common issues
├── api/
│ └── openapi.yaml # OpenAPI spec
├── adr/ # Architecture decisions
└── runbooks/ # Operational procedures
README.md # Project overview
CHANGELOG.md # Release history
CONTRIBUTING.md # Contributor guide
SECURITY.md # Security policy
scan_for:
- package.json, pyproject.toml, Cargo.toml, go.mod
- tsconfig.json, Dockerfile, .env.example
# {Service Name}
{Description of service role in the pipeline}
## Architecture Role
\`\`\`
[Previous Service] -> [{Service Name}] -> [Next Service]
\`\`\`
## Configuration
### Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| DATABASE_URL | Yes | - | Database connection URL |
## Development
\`\`\`bash
pnpm dev # Run locally
pnpm test # Run tests
\`\`\`
# Generate README for current directory
"Generate a README for this project"
# Generate for specific service
"Create README for services/my-worker"
# Update existing README
"Update the README with new API endpoints"
// Scan locations
glob_patterns:
- "apps/api/src/routes/**/*.ts"
- "src/routes/**/*.ts"
// Parse patterns
patterns:
- "router.(get|post|put|delete|patch)"
- "app.(get|post|put|delete|patch)"
# API Reference
Base URL: \`http://localhost:8787\`
## Authentication
\`\`\`
Authorization: Bearer <API_KEY>
\`\`\`
---
## Endpoints
### POST /v1/analyze
Analyze input text.
**Request:**
\`\`\`json
{
"text": "string",
"mode": "fast|full"
}
\`\`\`
**Response (200 OK):**
\`\`\`json
{
"request_id": "uuid",
"decision": "ALLOW|BLOCK",
"score": 25,
"duration_ms": 150
}
\`\`\`
**Error Responses:**
| Status | Description |
|--------|-------------|
| 400 | Invalid request body |
| 401 | Missing or invalid auth token |
| 429 | Rate limit exceeded |
openapi: 3.0.3
info:
title: Your API
version: 1.0.0
paths:
/v1/analyze:
post:
summary: Analyze input text
security:
- bearerAuth: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/AnalyzeRequest'
# Update all version references
OLD_VERSION="0.9.0"
NEW_VERSION="1.0.0"
find docs/ -name "*.md" -type f -exec sed -i '' "s/$OLD_VERSION/$NEW_VERSION/g" {} \;
trigger: git commit or tag
actions:
1. Parse commit for affected components
2. Map components to documentation files
3. Run freshness checks
4. Flag outdated sections
5. Update version references
grep -rn "v[0-9]\+\.[0-9]\+\.[0-9]\+" docs/ | sort -u
# User Guide
## Quick Start
- Prerequisites
- Installation
- First Run
## Core Features
- Feature 1 walkthrough
- Feature 2 walkthrough
## Configuration
- Basic configuration
- Advanced options
## Troubleshooting
- Common issues
- FAQ
## [Unreleased]
### Added
- New feature X
### Changed
- Modified behavior Y
### Fixed
- Bug fix Z
### Security
- Security improvement
## [1.0.0] - 2025-01-14
### Added
- Initial release
git log --oneline --since="2025-01-01" | \
grep -E "^[a-f0-9]+ (feat|fix|refactor|docs|security):"
trigger: git commit
actions:
1. Parse commit message
2. Identify affected docs
3. Update API.md if routes changed
4. Update README if dependencies changed
5. Flag sections needing review
trigger: git tag
actions:
1. Update all version references
2. Generate CHANGELOG from commits
3. Update README badges
4. Verify API.md matches routes
5. Commit: "docs: prepare for release"
# Full documentation suite
"Generate complete documentation"
# Specific types
"Generate user guide for configuration"
"Create technical documentation for workers"
"Generate changelog for last sprint"
"Create contributing guide"
# Documentation audit
"Audit existing documentation for gaps"
"Check for outdated documentation"
"Validate documentation links"
# Update documentation
"Update docs after API changes"
"Sync documentation versions to 1.0.0"
| File | Purpose |
|------|---------|
| docs/*.md | Main documentation |
| services/*/README.md | Service docs |
| apps/*/README.md | App docs |
| README.md | Project overview |
| CHANGELOG.md | Release history |
Last Updated: 2025-01-14 Version: 1.0.0
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer