Generate or update documentation for the current project. Creates README, API docs, and usage examples.
When this skill is invoked, analyze the project and generate/update documentation.
# Get project overview
find . -type f \( -name "*.ts" -o -name "*.js" -o -name "*.py" -o -name "*.go" \) | head -50
# Check for existing docs
ls -la README.md CHANGELOG.md docs/ 2>/dev/null
Check what documentation exists and what's missing:
# Project Name
Brief description of what this project does.
## Installation
```bash
npm install project-name
# or
pnpm add project-name
import { something } from 'project-name';
// Basic usage example
| Variable | Description | Default |
|----------|-------------|---------|
| VAR_1 | Description | value |
functionName(params)Description of the function.
Parameters:
param1 (type) - DescriptionReturns: type - Description
See CONTRIBUTING.md
MIT
## Step 4: Extract API Documentation
For TypeScript/JavaScript projects, extract:
- Exported functions and their JSDoc comments
- Type definitions
- Class methods and properties
For Python projects, extract:
- Functions and docstrings
- Class definitions
- Module-level documentation
## Step 5: Update Existing Documentation
If documentation exists:
1. Check if it's outdated
2. Add missing sections
3. Update code examples to match current API
4. Fix broken links
## Output
After generating documentation:
- Show what was created/updated
- List any manual review needed
- Suggest additional documentation
## Options
- `--readme` - Only generate/update README.md
- `--api` - Only generate API documentation
- `--full` - Generate complete documentation suite
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