State Update — Git skill for Claude Code
更新指定 dir(或 cwd)的 docs/owner/STATE.md — 看對話 + git + PR API 推斷進度提 patch.
How to install State Update
Installs to ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-update/SKILL.md
mkdir -p ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-update && curl -fsSL https://raw.githubusercontent.com/GGGODLIN/gggodlin-cc-harness/HEAD/commands/state-update.md -o ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-update/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What State Update does
description: 更新指定 dir(或 cwd)的 docs/owner/STATE.md — 看對話 + git + PR API 推斷進度提 patch
State Update
更新 `/docs/owner/STATE.md`,`` 解析方式:
- Invoke 時帶 path arg(如
/state-update或 prompt 內指定)→ 用該 path - 未帶 → 用 cwd
`` 必須有 `.git`(git worktree 算)。否則輸出 `BD_CAPTURE: not-evaluated not a git project` 後退出。
流程
- Read
/docs/owner/STATE.md- 不存在 → 跳到 Step 8 (Create)
- 路徑存在但 Read
Alternatives in Git
- Git Worktree Docs Issue: Dependency Installation — GitHub — Community feedback on official docs with full worktree lifecycle walkthrough 81.1k ★
- Git Status — Read the Files and run the Commands and summarize the current state of the git repository 3.4k ★
- Merge Command — Finalize worktree work: update docs, commit, merge to main, clean up 1.3k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Init Project Docs
在目前的 git repo 建立 docs/owner/STATE.md 與帳本 log 骨架、加入本地 exclude,並把帳本生命週期指針寫入 repo CLAUDE.md
Fullstack Parallel Init
Set up parallel-mode contract sync — create the .fullstack-sync/ state dir, auto-detect shared-file ownership,
Google Drive – Memyard
git clone https://github.com/zagmoai/public-google-drive ~/.claude/skills/public-google-drive Create and edit
Hermes Claude Plan
Hermes agent plugin that routes Anthropic API requests through anthropic claude plan. zero modifications to he
Document And Ship
Explore changes, update docs, commit, push, and create PR
Finish Session
Finish session with build, lint, tests, docs update, and commit
Related Agents
User Service API
GET /api/v1/users # List users (paginated) GET /api/v1/users/{id} # Get specific user POST /api/v1/users # Cre
Session Workflow
Session startup and shutdown discipline — use at the start and end of every development session to orient from
Projectatlas Verifier
Validate worker outputs and update checklist state; never rewrite docs.