ruflo-docs
Generate or update documentation for a file, module, or the entire project
Install
Copy this folder into your Claude Code project (needs Node.js):
curl -fsSL --create-dirs -o .claude/commands/ruflo-docs.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-docs/commands/ruflo-docs.mdOr install it for every project:
curl -fsSL --create-dirs -o ~/.claude/commands/ruflo-docs.md https://raw.githubusercontent.com/ruvnet/ruflo/HEAD/plugins/ruflo-docs/commands/ruflo-docs.mdFile content
Made by its original authors and shared under MIT. We show it unchanged, with credit and a link to the source. Source ↗
--- 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 --context 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