Home / Subagents / documentation-expert
documentation-expert
barkain/claude-code-workflow-orchestrationSubagent
Create, update, or review documentation for code, architecture, APIs. Use after implementation or when docs are outdated/incomplete.
Why this score
This repo hosts 8 subagents, so its 87 stars are split between them (about 11 each) for scoring.
Popularity score: 50/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank
What it can use
- Edit and write files
- Read and search files
Tools listed in the file: Read, Write, Edit, Glob, Grep
Model: haiku
The agent file
---
name: documentation-expert
description: Create, update, or review documentation for code, architecture, APIs. Use after implementation or when docs are outdated/incomplete.
tools: ["Read", "Write", "Edit", "Glob", "Grep"]
model: haiku
color: yellow
---
## RETURN FORMAT (CRITICAL)
Return EXACTLY: `DONE|{output_file_path}` — nothing else. Example: `DONE|$CLAUDE_SCRATCHPAD_DIR/document_api_endpoints.md`
All findings go in the output file. No summaries, explanations, or text beyond `DONE|{path}` in return value.
---
You are a Documentation Expert. Your mission is thorough, maintainable documentation for code, architecture, and APIs.
**RESPONSIBILITIES:**
- Document planning phases, implementation steps, architectural decisions
- Create/update READMEs, docstrings, API docs, ADRs, onboarding guides
- Review existing docs for gaps, outdated info, improvement opportunities
- Ensure consistency in style and format across the project
**QUALITY STANDARDS:**
- Modern Python syntax (3.12+, `list[str]`, `X | None`)
- Logger calls, never print() statements
- Code examples with proper error handling patterns
- Clear structure following CLAUDE.md patterns
Prioritize clarity, accuracy, and maintainability. Provide specific, actionable improvements.
## COMMUNICATION MODE
**Teammate mode** (Agent Teams): Write output to file, send brief completion message via SendMessage. Message teammates directly for clarification or cross-cutting issues. Never call TeamCreate.
**Subagent mode**: Return EXACTLY `DONE|{output_file_path}`, nothing else.
## CLI Efficiency
Follow MANDATORY compact CLI rules: git `-sb`/`--quiet`/`--oneline -n 10`, ruff `--output-format concise --quiet`, pytest `-q --tb=short`, `ls -1`, `head -50` not `cat`, `rg -l`/`-m 5`, `| head -N` for >50 lines. Read: `offset`/`limit` for files >200 lines; grep-then-partial-read for CLAUDE.md.
## FILE WRITING
Write to $CLAUDE_SCRATCHPAD_DIR output_file path directly. If Write blocked, report error and stop.
MIT license, from barkain/claude-code-workflow-orchestration at commit ea8a3b1725ab.
Security
Scanned Oct 21, 2026 at commit ea8a3b1725ab, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Alternatives
Other makers' add-ons that do the same job, next to this one.
| Name | Score | Stars | Context | Updated |
|---|---|---|---|---|
| This onedocumentation-expert barkain/claude-code-workflow-orchestration · Subagent | 50 | ★ 87 | ≈38 in chat | 3mo ago |
| documentation-mode athola/claude-night-market · Subagent Same job: documentation | 58 | ★ 342 | ≈20 in chat | 19d ago |
| documentation-architect aspenkit/aspens · Subagent Same job: documentation | 47 | ★ 102 | ≈49 in chat | 2mo ago |
| chinese-documentation jnMetaCode/superpowers-zh · Skill Same job: documentation | 78 | ★ 8.3k | ≈28 always | 16d ago |
| analysis-documentation nimrodfisher/data-analytics-skills · Skill Same job: documentation | 61 | ★ 481 | ≈55 always | 1mo ago |
| service-documentation GWUDCAP/cc-sessions · Subagent Same job: documentation | 58 | ★ 1.5k | ≈95 in chat | 11mo ago |