원클릭으로
update-docs
Use at the end of a unit of work, before commit or PR, to verify related documentation matches the new state
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use at the end of a unit of work, before commit or PR, to verify related documentation matches the new state
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Grilling and design session that challenges your plan against the existing codebase, domain model, and documented decisions; sharpens terminology; updates documentation (CONTEXT.md, design docs) inline as decisions crystallize; and produces committable implementation plans. Use when user wants to stress-test, design, or plan a feature against their project's language and documented decisions.
Grilling and design session that challenges your plan against the existing codebase, domain model, and documented decisions; sharpens terminology; updates documentation (CONTEXT.md, design docs) inline as decisions crystallize; and produces committable implementation plans. Use when user wants to stress-test, design, or plan a feature against their project's language and documented decisions.
Capture polished screenshots of terminal applications and TUIs. Use before terminal-control when the user wants a terminal screenshot or live TUI state documented.
Plan a huge chunk of work — more than one agent session can hold — as a shared map of investigation tickets, and resolve them one at a time until the way to the destination is clear.
Review local docs and create a git commit or pull request. Use when committing changes with documentation review, or opening a PR.
Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help commiting code, writing commit messages, or reviewing staged changes.
| name | update-docs |
| description | Use at the end of a unit of work, before commit or PR, to verify related documentation matches the new state |
Use this when wrapping up a unit of work. The mission is narrow: verify related documentation matches the new state before commit or PR, without turning the change into a general documentation cleanup.
Check documentation against the staged diff only.
git diff --staged --name-only
git diff --staged
If nothing is staged, stop and ask for the intended diff or for changes to be staged first.
Do not fix unrelated stale documentation in this pass. After completing updates, flag it to the user as potentially needing addressing.
Design docs are decision artifacts, not evergreen current-state documentation. Once accepted, they record what was decided at the time; do not edit the body just because implementation has drifted.
Only update a design doc body when the staged work is the first-pass implementation of that specific design and the implementation changes the intended decision before the design settles.
For older design docs, status is the only normal update:
Rejected when the documented path was explored and intentionally declinedSuperseded by <newer design> when a newer design replaces itAgent docs describe how future agents should operate in the repo. This includes files like CLAUDE.md, AGENTS.md, skill files, local agent instructions, and similar guidance.
Update them when the staged change affects:
Keep these docs directive and practical.
User docs are everything meant to help the human configure, deploy, or understand the project: READMEs, guides, API docs, examples, changelogs, package metadata, deployment notes, and similar files.
Update them when the staged change affects user-visible behavior, configuration, commands, APIs, installation, deployment, examples, or troubleshooting.
Do not add internal architecture detail to user-facing docs unless users need it to make correct decisions.
From the staged diff, identify the feature, command, API, config, workflow, or behavior being changed. Then inspect the documentation locations that are likely to describe it.
Common places:
Read each relevant document to understand its purpose, audience, current style, and level of detail to ensure updates match.
After checking the obvious places, search for references that may live elsewhere.
Use terms from the diff: feature names, command names, flags, config keys, API paths, class/module names, service names, and user-facing concepts.
Example patterns:
rg "feature-or-command-name" -g "*.md" -g "*.mdx" -g "*.rst" -g "*.txt" -g "*.json" -g "*.yaml" -g "*.yml"
rg "config_key|related concept|old behavior" docs .github agents .agents 2>/dev/null
Follow direct cross-references if clearly related.
Update documentation when a reader relying on the current docs would be misled, surprised, or missing important information because of the staged change.
Usually update docs for:
Rejected or Superseded by ...Usually do not update docs for:
Rejected or Superseded by ... updatesMatch the document you are editing.
If the right update would be large or contentious, stop and report the documentation gap instead of guessing.
After updating docs:
The end state: related docs are current, historical docs stay historical, and the commit remains focused.