Skip to content
Development
Agent

documentation-expert

Create, update, or review documentation for code, architecture, APIs. Use after implementation or when docs are outdated/incomplete.

From plugin
workflow-orchestrator
898 skills8 agents2 commands1 hook

Claude Code

> /plugin marketplace add barkain/claude-code-workflow-orchestration

Agent definition

documentation-expert.md
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.

Read more
@barkain
Ships withworkflow-orchestrator

A hook-based framework for Claude Code that enforces task delegation to specialized agents, enabling structured workflows and expert-level task handling through intelligent orchestration. See the delegation system in action:

Stars on GitHub

Momentum

stars in total
89
Star history of barkain/claude-code-workflow-orchestration on GitHub, a chart by star-history.com

Other agents on workflow-orchestrator.

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about documentation-expert.

Which coding agents can use documentation-expert?
documentation-expert installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.