session-handoff
Installation
SKILL.md
Session Handoff
Preserve enough verified context for a fresh session to continue without guessing. The acceptance contract is the cold-start test: a reader with only the handoff can identify the goal, current state, evidence, and next action.
Route
- Create when the user asks to save or hand off work.
- Resume when the user provides a source or asks to resume a handoff.
- A request to continue current work without handoff intent stays in the current session.
Create
- Use the destination the user names. Otherwise resolve the repository's common worktree root and create an immutable Markdown file in
.ai-workflow/handoff/. If no common root is available, use the current repository root. Give each handoff a distinct readable topic path and never overwrite an existing one. - Build the body with
summarize's contract. Point to authoritative plans, changes, verification, and files instead of copying large content. - Include enough metadata to discover the handoff: title, creation time, summary, keywords, captured working directory, repository identity when available, branch, and current revision. Quote metadata values safely.
- Redact secrets and unrelated personal information. Label machine-local or fragile state, including uncommitted work and temporary paths.
- Confirm that the final file exists and report its path. Do not modify commits, stashes, worktrees, ignore rules, or remote state.