AGENT SKILL

doc-gen

Generate and maintain documentation with drift detection. Use when the user asks to write/update/refresh docs, detect doc drift against code, or schedule recurring documentation maintenance.

License 许可
MIT
最近更新
2026-10-08
Stars
★ 11
Forks
3

01 前言 Front Matter

name
doc-gen
description
Generate and maintain documentation with drift detection. Use when the user asks to write/update/refresh docs, detect doc drift against code, or schedule recurring documentation maintenance.
allowed-tools
Bash(npx *) mcp__plugin_ruflo-core_ruflo__hooks_worker-dispatch mcp__plugin_ruflo-core_ruflo__memory_store CronCreate Read Write
argument-hint
[--target PATH]

03 SKILL.md 正文

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" })

04 同仓库更多 Skills