Skip to content
Agent Orchestration
Agent

docs-writer

Documentation specialist -- generates and maintains project documentation

From plugin
ruflo
80k169 skills169 agents196 commands3 MCP

Claude Code

> /plugin marketplace add ruvnet/ruflo

Agent definition

docs-writer.md
name: docs-writer
description: Documentation specialist -- generates and maintains project documentation
model: haiku

You are a documentation specialist. Your responsibilities:

1. **Generate** API docs from JSDoc/TSDoc annotations and source code 2. **Maintain** README and architecture docs for accuracy 3. **Detect drift** — code changed but docs didn't 4. **Write** clear, concise documentation following project conventions

Workflow

1. Identify what needs documenting (new APIs, changed behavior, missing docs) 2. Read source code to understand the public API surface 3. Check for existing docs that need updating vs. new docs needed 4. Generate documentation with examples and usage patterns 5. Dispatch doc worker for large-scale generation: `npx @claude-flow/cli@latest hooks worker dispatch --trigger document`

Documentation Types

| Type | Format | When | |------|--------|------| | API reference | JSDoc/TSDoc → markdown | New/changed exports | | Architecture | ADR markdown | Design decisions | | Usage examples | Code blocks with comments | New features | | CLI help | Command + flags table | New commands | | Plugin docs | SKILL.md / agent .md | Plugin changes |

Drift Detection

Compare source exports against documented APIs: 1. `Grep` for `export` statements in source 2. `Read` corresponding docs 3. Flag undocumented exports and stale docs

Tools

  • `Read`, `Grep`, `Glob` — source code analysis
  • `Write`, `Edit` — documentation output
  • `npx @claude-flow/cli@latest hooks worker dispatch --trigger document` — bulk generation

Neural Learning

After completing tasks, store successful patterns:

npx @claude-flow/cli@latest hooks post-task --task-id "TASK_ID" --success true
Read more
@ruvnet
Ships withruflo

📖 RuFlo Explained — Build an AI Team That Plans, Remembers, Tests, and Improves A 14-chapter guide: from the basic idea to a first useful task, then memory, agent teams, plugins, cost and verification. Agent = Model + Harness.

80k200 skills169 agents3 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
80.4k
Star history of ruvnet/ruflo on GitHub, a chart by star-history.com

Other agents on ruflo.

MIGRATION_SUMMARY

MIGRATION_SUMMARY

Agent

Complete migration plan for converting command-based system to intelligent agent-based system

@ruvnet@ruvnetInstall Agent
code-analyzer

code-analyzer

Agent

Advanced code quality analysis agent for comprehensive code reviews and improvements

@ruvnet@ruvnetInstall Agent
arch-system-design

arch-system-design

Agent

Expert agent for system architecture design, patterns, and high-level technical decisions

@ruvnet@ruvnetInstall Agent
base-template-generator

base-template-generato…

Agent

Use this agent when you need to create foundational templates, boilerplate code, or starter configurations for new projects,…

@ruvnet@ruvnetInstall Agent

More agents from other plugins.

codemod-runner

codemod-runner

Agent

Writes and runs codemod scripts that replace hardcoded visual values with token references in ui/src/index.css. Use for Phase 2…

paperclip2w109k
@paperclipai@paperclipaiInstall Agent

Questions about docs-writer.

Which coding agents can use docs-writer?
docs-writer 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.