doc-gen

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
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" })
通过MCP worker调度生成文档:
mcp__claude-flow__hooks_worker-dispatch({ trigger: "document" })
通过CronCreate实现持续文档维护:
CronCreate({ schedule: "0 */2 * * *", prompt: "Run document worker" })
通过对比当前代码与现有文档并标记不一致之处来检测漂移。
范围化生成:
  • API文档:
    npx @claude-flow/cli@latest hooks worker dispatch --trigger document --scope api
  • 完整项目:
    npx @claude-flow/cli@latest hooks worker dispatch --trigger document --scope full
存储方法:
mcp__claude-flow__memory_store({ key: "doc-pattern", value: "APPROACH", namespace: "patterns" })