docs-generate
БесплатноБез исполняемых скриптовНе проверенGenerate or update docs from code annotations, docstrings, and git history. Use when wanting API reference, README from code, or CHANGELOG from conventional…
от laurigates★ 61 звезда на GitHubОб этом скилле
When to Use This Skill
| Use this skill when... | Use docs-sync instead when... |
|---|---|
| Generating fresh API reference docs from docstrings, type signatures, and module structure | Reconciling existing skill/command/agent catalogs with the current codebase |
| Updating README.md from code analysis (installation steps, feature list, badges) | Fixing wrong counts or stale entries in CLAUDE.md / README catalogs |
| Producing a CHANGELOG from conventional-commit history | Preparing a service teardown checklist (use docs-decommission) |
| Building documentation pages that will be served via GitHub Pages or similar | Converting Markdown to print-ready PDF (use docs-latex) |
Context
- Project files: !
find . -maxdepth 1 \( -name 'pyproject.toml' -o -name 'package.json' -o -name 'Cargo.toml' -o -name 'go.mod' \) - Existing docs: !
find . -maxdepth 1 \( -name 'README.md' -o -type d -name 'docs' \) - Source files: !
find . -type f \( -name "*.py" -o -name "*.ts" -o -name "*.js" \) - Python files: !
find . -type f -name "*.py" -not -path '*/node_modules/*' -not -path '*/.claude/worktrees/*'
Parameters
--api: Generate API reference documentation--readme: Update README.md based on code analysis--changelog: Update CHANGELOG.md from git history
Your task
Delegate this task to the agents-plugin:docs agent.
Use the Agent tool with subagent_type: agents-plugin:docs to generate or update project documentation. Pass all the context gathered in Context and the parsed parameters to the agent.
The docs agent should:
Analyze codebase:
- Extract docstrings and type annotations
- Identify public API surface
- Map module structure and dependencies
- Find usage examples in tests
Generate requested documentation:
If
--api:- Create API reference from docstrings
- Document function signatures and types
- Include usage examples
- Generate module hierarchy
If
--readme:- Update project description
- Document installation steps
- Add usage examples
- Update feature list
- Ensure badges are current
If
--changelog:- Parse conventional commits
- Group by version/release
- Categorize by type (feat, fix, docs, etc.)
- Include breaking changes prominently
If no flags: Generate all documentation
Follow documentation standards:
- Clear, concise language
- Consistent formatting
- Working code examples
- Accurate cross-references
Output summary:
- Files created/updated
- Documentation coverage metrics
- Suggested improvements
Provide the agent with:
- All context from Context
- The parsed parameters
- Detected documentation framework (if any)
The agent has expertise in:
- Multi-language documentation extraction
- API reference generation
- README best practices
- Changelog automation from commits
- GitHub Pages integration
Agent Teams (Optional)
For large projects, spawn teammates for parallel documentation generation:
| Teammate | Focus | Value |
|---|---|---|
| API docs teammate | Extract and generate API reference | Parallel with README generation |
| README teammate | Update project README and guides | Parallel with API docs |
| Changelog teammate | Generate changelog from git history | Independent of other doc tasks |
This is optional — the skill works with a single agent for most projects.
Установить docs-generate в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
TaskTodoWriteВложенные файлы
FAQ
Что делает скилл docs-generate?
Generate or update docs from code annotations, docstrings, and git history. Use when wanting API reference, README from code, or CHANGELOG from conventional commits.
Как установить скилл docs-generate?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл docs-generate запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic