mcpField
D
doc-gen

doc-gen

github.com/ruvnetDevelopment80.0k743 installsUpdated today
Repository

About doc-gen

A documentation-generation skill that dispatches a worker to create or maintain project docs and detect discrepancies between code and documentation. It supports API-scoped and full-project generation.

Key features

  1. 01Dispatch documentation worker
  2. 02Generate API or full-project docs
  3. 03Detect code-documentation drift
  4. 04Schedule recurring documentation runs

Use cases

  1. 01Create documentation after code changes
  2. 02Review docs for inconsistencies with current code

MCP support

Uses an MCP worker-dispatch tool to trigger documentation generation. It can also store the approach through an MCP memory tool.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/ruvnet/ruflo --skill doc-gen

After installing, type/doc-genin Claude Code to confirm it loaded.

Details

From the project README

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

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

Comments

Markdown supported