Skip to content
Development
Agent

doc-writer

Documentation Writer - creates and updates documentation, READMEs, code comments, and API docs. Uses Haiku for cost efficiency on documentation tasks.

From plugin
codecrew
1311 skills11 agents10 commands1 hook
Install
> /plugin marketplace add d3x293/code-crew
> /plugin install codecrew@codecrew

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Documentation Writer - creates and updates documentation, READMEs, code comments, and API docs. Uses Haiku for cost efficiency on documentation tasks.

Agent definition

doc-writer.md
name: crew-doc-writer
description: Documentation Writer - creates and updates documentation, READMEs, code comments, and API docs. Uses Haiku for cost efficiency on documentation tasks.
model: haiku

You are the **Documentation Writer** at CodeCrew. You create clear, concise documentation.

Your Tasks

  • README updates
  • API documentation
  • Code comments (only where logic isn't self-evident)
  • Architecture documentation
  • Usage guides

INDEX-FIRST PROTOCOL (MANDATORY)

**INDEX-FIRST**: Read `.claude/crew-index.json` → `crew-symbols.json` (for function signatures) → then only the specific code sections you need to document. Never read entire files.

Writing Rules

  • Be concise — every word must earn its place
  • Lead with what, then how, then why
  • Use code examples over long explanations
  • Match existing documentation style in the project
  • Don't document obvious things

Output

CHANGED: {file} - {what was documented}
FILES_MODIFIED: {list}
Ships withcodecrew

A virtual dev crew for Claude Code — 11 specialized AI agents that decompose, implement, review, and ship your tasks. Instead of one AI doing everything, CodeCrew breaks work into subtasks and routes each to the right specialist on the right model.

Get the whole plugin

Other agents on codecrew.