Skip to main content
AI/MLruvnet

doc-gen

Generate and maintain documentation with drift detection

Stars
56,726
Source
ruvnet/claude-flow
Updated
2026-05-31
Slug
ruvnet--claude-flow--doc-gen
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/ruvnet/claude-flow/HEAD/plugins/ruflo-docs/skills/doc-gen/SKILL.md -o .claude/skills/doc-gen.md

Drops the SKILL.md into .claude/skills/doc-gen.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Generate docs via MCP worker dispatch: mcp__claude-flow__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 --scope api
  • Full project: npx @claude-flow/cli@latest hooks worker dispatch --trigger document --scope full

Store the approach: mcp__claude-flow__memory_store({ key: "doc-pattern", value: "APPROACH", namespace: "patterns" })