Agent Skills
› davepoon/buildwithclaude
› gsd:docs-update
gsd:docs-update
GitHub基于代码库生成或更新最多9个项目文档文件。通过子代理直接探索代码,确保内容准确无误。支持--force强制重写和--verify-only仅验证模式,遵循严格的工作流流程以防止幻觉和过时信息。
Trigger Scenarios
需要生成新的项目文档
需要更新现有文档以匹配最新代码变更
请求验证文档与代码的一致性
Install
npx skills add davepoon/buildwithclaude --skill gsd:docs-update -g -y
SKILL.md
Frontmatter
{
"name": "gsd:docs-update",
"description": "Generate or update project documentation verified against the codebase",
"allowed-tools": [
"Read",
"Write",
"Edit",
"Bash",
"Glob",
"Grep",
"Task",
"AskUserQuestion"
],
"argument-hint": "[--force] [--verify-only]"
}
Flag handling rule:
- The optional flags documented below are available behaviors, not implied active behaviors
- A flag is active only when its literal token appears in
$ARGUMENTS - If a documented flag is absent from
$ARGUMENTS, treat it as inactive --force: skip preservation prompts, regenerate all docs regardless of existing content or GSD markers--verify-only: check existing docs for accuracy against codebase, no generation (full verification requires Phase 4 verifier)- If
--forceand--verify-onlyboth appear in$ARGUMENTS,--forcetakes precedence
<execution_context> @${CLAUDE_PLUGIN_ROOT}/workflows/docs-update.md </execution_context>
Available optional flags (documentation only — not automatically active):
--force— Regenerate all docs. Overwrites hand-written and GSD docs alike. No preservation prompts.--verify-only— Check existing docs for accuracy against the codebase. No files are written. Reports VERIFY marker count. Full codebase fact-checking requires the gsd-doc-verifier agent (Phase 4).
Active flags must be derived from $ARGUMENTS:
--forceis active only if the literal--forcetoken is present in$ARGUMENTS--verify-onlyis active only if the literal--verify-onlytoken is present in$ARGUMENTS- If neither token appears, run the standard full-phase generation flow
- Do not infer that a flag is active just because it is documented in this prompt
Version History
- 502fc01 Current 2026-07-05 15:12


