
Doc Gen
- 647 installs
- 67k repo stars
- Updated August 4, 2026
- ruvnet/ruflo
doc-gen is a Claude Flow skill that generates, updates, and maintains project documentation from code and context, detects doc drift against source, and can schedule recurring document workers for developers who need alw
About
doc-gen is a RuFlo Claude Flow skill that generates and maintains documentation with drift detection, dispatching work through mcp__claude-flow__hooks_worker-dispatch with trigger document. Developers can schedule recurring maintenance via CronCreate—for example schedule 0 */2 * * * to run a document worker every two hours—so docs refresh as code evolves. The skill compares current code against existing documentation and flags inconsistencies rather than blindly overwriting files. It uses Bash for npx commands, Read and Write for file updates, and memory_store for context persistence. Reach for doc-gen when asked to write, update, or refresh docs, detect drift, or automate recurring documentation upkeep in Claude Code agent sessions.
- Automatically generates documentation from source code and comments
- Supports multiple output formats including Markdown, HTML, and structured docs
- Maintains living documentation that updates as your codebase evolves
- Integrates directly with Claude, Cursor, and other agent workflows
- Reduces documentation debt by producing consistent, accurate references
Doc Gen by the numbers
- 647 all-time installs (skills.sh)
- +10 installs in the week ending Jul 26, 2026 (Skillselion tracking)
- Ranked #342 of 1,879 Documentation skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/ruflo --skill doc-genAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 647 |
|---|---|
| repo stars | ★ 67k |
| Last updated | August 4, 2026 |
| Repository | ruvnet/ruflo ↗ |
How do you keep docs synced with code changes?
Automatically generate, update, and maintain high-quality documentation from code, comments, and project context.
Who is it for?
Developers maintaining README, API, or internal docs who want automated generation plus drift detection in claude-flow workflows.
Skip if: Developers needing one-off prose without code coupling or teams without claude-flow worker dispatch and CronCreate access.
When should I use this skill?
The user asks to write, update, refresh docs, detect documentation drift, or schedule recurring documentation maintenance.
What you get
Updated documentation files, drift flags, and optional CronCreate schedules for recurring doc workers.
- updated documentation
- drift detection report
By the numbers
- Supports CronCreate schedules such as every 2 hours (0 */2 * * *)
Files
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" })
Related skills
How it compares
Choose doc-gen over manual README edits when claude-flow worker dispatch and scheduled drift checks should keep docs aligned with code.
FAQ
How does doc-gen update documentation?
doc-gen dispatches claude-flow document workers through hooks_worker-dispatch with trigger document. The skill reads and writes project files, compares code to existing docs, and flags drift before applying updates.
Can doc-gen run documentation on a schedule?
doc-gen supports CronCreate for recurring maintenance—for example schedule 0 */2 * * * to run a document worker every two hours. Scheduled runs keep docs aligned as the codebase changes.