Skip to content
Development
Command

/ruflo-docs

Generate or update documentation for a file, module, or the entire project

From plugin
claude-flow
67k194 skills157 agents194 commands1 MCP
Install
> /plugin marketplace add ruvnet/ruflo

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/ruflo-docs

Context preview

What this command does when you run it.

Generate or update documentation for a file, module, or the entire project

Command definition

ruflo-docs.md
name: ruflo-docs
description: Generate or update documentation for a file, module, or the entire project

$ARGUMENTS

Generate or update documentation using the document worker and drift detection.

**Full project**: `npx @claude-flow/cli@latest hooks worker dispatch --trigger document` **Specific scope**: `npx @claude-flow/cli@latest hooks worker dispatch --trigger document --scope api`

Parse $ARGUMENTS to determine scope:

  • If a file path is given, generate docs for that file
  • If "api" is given, generate API documentation
  • If no arguments, run full project documentation generation

Steps: 1. Analyze the target for public APIs and existing documentation 2. Detect drift between code and docs 3. Generate or update documentation 4. Report what was created or changed

Ships withclaude-flow

An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.

Get the whole plugin