/ruflo-docs
Generate or update documentation for a file, module, or the entire project
> /plugin marketplace add ruvnet/claude-flowHow 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.mdname: 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
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.
Repo: ruvnet/claude-flow
Other commands on claude-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

