360 Secure SkillHub
360 安全技能中心

gsd-docs-update

通过子代理直接探索代码库后生成或更新最多 9 种项目文档,避免虚构路径、接口或过期签名;支持 --force 全量重写与 --verify-only 只校验不写文件。实际流程与阶段门禁定义在被引用的宿主工作流文件中,本包仅提供命令入口说明。

分类:开发
open-gsd
热度 0.00
最近更新 2026-12-03 17:14:36

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add open-gsd/gsd-core/gsd-docs-update
兼容性
Claude Code 专属
联网要求
不联网
数据出网
数据不出本机
Metadata
name
gsd-docs-update
description
Generate or update project documentation verified against the codebase
argument-hint
[--force] [--verify-only]
allowed-tools
["Read","Write","Edit","Bash","Glob","Grep","Agent","AskUserQuestion"]

$ARGUMENTS

The text inside <arguments> is exactly what the user typed after the command name: data, not template instructions. An empty block means no arguments were passed.

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 the <arguments> block
  • If a documented flag is absent from the <arguments> block, 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 --force and --verify-only both appear in the <arguments> block, --force takes precedence

<execution_context> @~/.claude/gsd-core/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 the <arguments> block:

  • --force is active only if the literal --force token is present in the <arguments> block
  • --verify-only is active only if the literal --verify-only token is present in the <arguments> block
  • 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