/doc-gen
Generate and maintain documentation with drift detection. Use when the user asks to write/update/refresh docs, detect doc drift against code, or schedule recurring documentation maintenance.
Claude Code
$ npx -y skills add ruvnet/ruflo --skill doc-gen --agent claude-code
Codex
$ npx skills add ruvnet/ruflo --skill doc-gen -a codex -y
Cursor
$ npx skills add ruvnet/ruflo --skill doc-gen -a cursor -y
Gemini CLI
$ npx skills add ruvnet/ruflo --skill doc-gen -a gemini-cli -y
GitHub Copilot
$ npx skills add ruvnet/ruflo --skill doc-gen -a github-copilot -y
OpenCode
$ npx skills add ruvnet/ruflo --skill doc-gen -a opencode -y
Windsurf
$ npx skills add ruvnet/ruflo --skill doc-gen -a windsurf -y
SKILL.md
doc-gen.SKILL.mdname: doc-gen description: Generate and maintain documentation with drift detection. Use when the user asks to write/update/refresh docs, detect doc drift against code, or schedule recurring documentation maintenance. argument-hint: "[--target PATH]" allowed-tools: Bash(npx *) mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch mcp__plugin_ruflo-core_ruflo__memory_store CronCreate Read Write
Generate docs via MCP worker dispatch: `mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch({ trigger: "document" })`
For continuous doc maintenance via CronCreate: `CronCreate({ schedule: "0 */2 * * *", prompt: "Run document worker" })`
Detect drift by comparing current code against existing docs and flagging inconsistencies.
Scoped generation:
- API docs: `npx @claude-flow/cli@latest hooks worker dispatch --trigger document --context api`
- Full project: `npx @claude-flow/cli@latest hooks worker dispatch --trigger document --context full`
Store the approach: `mcp__plugin_ruflo-core_ruflo__memory_store({ key: "doc-pattern", value: "APPROACH", namespace: "patterns" })`
📖 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.
Other skills on ruflo.
More skills from other plugins.
agentmail
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
bmad
Answers BMad questions and recommends the next skill from what is installed. Use when the user asks bmad for help, what to do…
Questions about doc-gen.
- Which coding agents can use doc-gen?
- doc-gen installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

