branch-context
Installation
SKILL.md
Branch Context
Live state has one home: <worktree>/.claude/skills/branch-context/. Every helper below resolves
there from the worktree root, whichever harness's skill root you invoked it through — .agents/,
.claude/ or another. This SKILL.md and the helpers beside it are the static half and can be read
from any root; the four paths in the table are always under .claude/. Three live surfaces:
| File / dir | Role | Lifetime |
|---|---|---|
.claude/skills/branch-context/issue-brief.md |
Synthesis of the issue(s) this branch addresses | Rewritten only by /initialize-worktree, /refresh-issue-brief, /adopt-pr |
.claude/skills/branch-context/pr-decisions.md |
Append-only log of non-obvious PR-shaping decisions | Append forever; supersede, never edit |
.claude/skills/branch-context/handoffs/ + handoffs-index.md |
Append-only session handoffs for the next agent | Never overwrite a handoff file; index points at latest |
Read the brief, the decisions log and the handoffs-index at session start — not full handoff bodies. Full handoffs live under handoffs/; read the latest path from the index. A harness that supports file imports can pull those three in automatically; where it does not, read them yourself before acting. "Autoloaded" below means whichever of the two applies.