documentation_engineer — Claude Code subagent: purpose and setup
documentation_engineer — a Claude Code subagent that writes documentation from supplied code, interfaces, and requirements. It turns a documentation request and source material into a task-focused Markdown document.
no license ★ 776 updated 2026-11-12
.claude/agents/documentation_engineer.mdWhat documentation_engineer does
The subagent drafts documentation from code, interfaces, and requirements supplied with the request. It uses the requested audience, purpose, scope, and format to shape the document.
The result is a complete Markdown document with a title, audience, prerequisites, and scope. It can also cover procedures, examples, limitations, errors, and verification steps. Examples are distinguished from verified behavior and recommendations.
It must not fabricate APIs, commands, options, or file paths. The task needs a documentation request and source context, such as APIs, code, schemas, or existing docs.
What it helps with
- document an API from its code and schemas
- write a procedure for a defined audience
- separate verified behavior from examples and recommendations
- describe limitations and verification steps
Example prompts for the agent
- Write an API guide for developers using this code and its schemas.
- Create a Markdown setup procedure and list its prerequisites.
- Document this interface's limitations and explain how to verify the result.
How to install documentation_engineer
Manually: put the files in place
.claude/agents/documentation_engineer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/documentation_engineer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/documentation_engineer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about documentation_engineer
How do I install documentation_engineer in Claude Code?
Add the subagent file at .claude/agents/documentation_engineer.md.
What does documentation_engineer do?
It drafts documentation from supplied code, interfaces, and requirements, distinguishing verified behavior from examples and recommendations.
What does documentation_engineer need to work?
Provide a request with the audience, purpose, scope, and desired format, along with source context such as APIs, code, schemas, or existing documentation.