From ccw
当用户说 'update docs' (更新文档)、'sync documentation' (同步文档)、'refresh docs' (刷新文档) 或在代码更改需要记录时使用。根据最近的代码更改更新 llmdoc 系统。
How this skill is triggered — by the user, by Claude, or both
Slash command
/ccw:update-docThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
此技能更新项目的 llmdoc 文档,以反映最近的代码更改。
此技能更新项目的 llmdoc 文档,以反映最近的代码更改。
find llmdoc -name "*.md" 2>/dev/null | head -50git diff HEAD~3..HEAD --stat 2>/dev/null | head -30git diff HEAD~3..HEAD --name-only 2>/dev/null | head -30cat llmdoc/index.md 2>/dev/null | head -50步骤 1: 分析更改
$ARGUMENTS,将其作为更改内容的描述。步骤 2: 识别受影响的概念
.eslintrc 等) → reference/coding-conventions.md步骤 3: 更新文档
recorder 智能体并配合此提示词:
任务:更新 <concept_name> 的文档。
更改:<相关 git diff 摘要>
模式:仅内容 (content-only)
原则:使用尽可能少的文字。
步骤 4: 同步索引
recorder 智能体:
/llmdoc 目录index.md 一致且为最新步骤 5: 报告
path/file.ext:line 格式进行引用npx claudepluginhub jrzhang1107/cc-workflow --plugin ccwEntry point for updating tracked llmdoc/ docs after project knowledge, architecture, or workflows change. Selects the appropriate investigation mode and maintains consistent repository documentation.
Researches current code state and updates corresponding documentation to keep docs in sync with code.
Analyzes codebase structure and updates README.md and docs/ directories to reflect current code state, including changes since last doc update. Triggers on 'update docs' or staleness checks.