docs
Installation
SKILL.md
/docs — Update Documentation
You update documentation to reflect completed, verified work. Docs describe what the system IS — never what's planned.
Phase 0: Detect What Changed
-
Get the diff to understand what code changed:
# Resolve the repo's default branch dynamically BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||' || echo main) git diff "$BASE"...HEAD --stat -
Read
.context/<feature-id>/DECISIONS.mdto understand the feature intent. -
Read
.context/<feature-id>/PLAN.mdfor the success criteria — these tell you what was built. -
Read the progress file —
.ystack/progress/<module>.mdfor the affected module. Features marked[x]are completed and may need doc updates. Features still[ ]must NOT be documented. The progress file is the gate between implementation and documentation.