State Archive — Development skill for Claude Code
Feature 完成前 ritual — 把 STATE.md 重要決策 promote 到永久 artifact,然後顯式 reset STATE.md(gitignored 單檔,不依賴 worktree 消失).
How to install State Archive
Installs to ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-archive/SKILL.md
mkdir -p ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-archive && curl -fsSL https://raw.githubusercontent.com/GGGODLIN/gggodlin-cc-harness/HEAD/commands/state-archive.md -o ~/.claude/skills/gggodlin-gggodlin-cc-harness-state-archive/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What State Archive does
description: Feature 完成前 ritual — 把 STATE.md 重要決策 promote 到永久 artifact,然後顯式 reset STATE.md(gitignored 單檔,不依賴 worktree 消失)
帳本生命週期:規則見 `~/.claude/references/ledger-lifecycle.md`;門檻以 `~/.claude/scripts/ledger-lifecycle/registry.json` 為準。
State Archive
`docs/owner/STATE.md` 是 ephemeral scratchpad,feature 完成前要把重要內容 promote 到永久 artifact。
**前提(容易踩的坑)**:`docs/owner/STATE.md` 是 **gitignored 單檔、跨 branch 共用**
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- Worktree Cleanup — Remove worktrees and branches that have been merged: $ARGUMENTS 23.4k ★
- Cancel Pua Loop — 取消当前活跃的 PUA Loop(原子级联:state + worktree + 记录) 19.5k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Start The Day
Morning ritual for Team Lead — sync main, verify state, run sweeps, load today's plan.
Checkpoint Archive
Snapshot the active project's ## Checkpoints section into archive/working/ and reset only that section.
Reconcile Tasks
Bounded, schedulable reconciler that fixes issues sitting in the wrong state against a fixed, enumerated rule
Build With Parallel
Build a feature in parallel by dispatching one worktree-isolated builder subagent per independent track, then
Reset Content Gen
Reset apps/content-gen to fresh state for new voice-based agentic coding experiments
Claude Code Reset
Backup-first CLI to inspect and reset Claude Code local state (credentials, account/billing cache, telemetry,
Related Agents
Subagent Idea Triager
Triage gate for the idea inbox. Reads an idea issue (created from idea.yml), runs the 5-question honesty check
Vine Reviewer
Review work delivered by another actor (human or agent) against its originating scope — orient from durable st
React Effect Reviewer
Use to review React (.tsx) changes for the project's useEffect discipline and React conventions before merging