Skip to content
Development
Skill

/gsd-docs-update

Generate or update project documentation verified against the codebase

From plugin
gsd-core
11k72 skills64 agents72 commands7 hooks

Claude Code

$ npx -y skills add open-gsd/gsd-core --skill gsd-docs-update --agent claude-code

SKILL.md

gsd-docs-update.SKILL.md
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>$ARGUMENTS</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.

<objective> Generate and update up to 9 documentation files for the current project. Each doc type is written by a gsd-doc-writer subagent that explores the codebase directly — no hallucinated paths, phantom endpoints, or stale signatures.

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

</objective>

<execution_context> @~/.claude/gsd-core/workflows/docs-update.md </execution_context>

<context> Arguments: see the `<arguments>` block above.

**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

</context>

<process> Execute end-to-end. Preserve all workflow gates (preservation_check, flag handling, wave execution, monorepo dispatch, commit, reporting). </process>

Read more
@open-gsd
Ships withgsd-core

Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

11k72 skills64 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11.4k
Star history of open-gsd/gsd-core on GitHub, a chart by star-history.com

Other skills on gsd-core.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about gsd-docs-update.

Which coding agents can use gsd-docs-update?
gsd-docs-update installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.