handofflisted
Install: claude install-skill real-case/marvin-toolkit
# Handoff
Capture everything a **fresh session** needs to continue the current work, write it to a durable document under `.marvin/handoff/`, and emit a short paste-ready prompt that points the new session at it.
## Core principle
**The next session has zero memory of this conversation.** The handoff must be self-sufficient: every objective, decision, file path, and next step the new session needs — and nothing it would have to re-derive or re-decide. Ground it in *inspected* state (git, files, artifacts), never in assumption. Synthesize the conversation; do not dump the transcript.
## Input
`$ARGUMENTS` — optional focus note or slug hint (e.g. "emphasize the migration risk" or a phrase for the filename). If given, weave it in; otherwise infer the objective from the conversation.
## Workflow
### 1. Inspect the real state
Run read-only commands and base every claim on their output:
```bash
git branch --show-current
git status --short
git log --oneline -10
git diff --stat # uncommitted
# on a topic branch, also the branch's full diff vs its base:
git diff <base>...HEAD --stat
gh pr view --json number,url,state,baseRefName 2>/dev/null # open PR, if any
date -u +"%Y-%m-%dT%H:%M:%SZ" # for the `created` frontmatter
```
Detect pipeline / working-dir artifacts that carry context:
- `.marvin/task/` — the active spec (`<NNN>-<slug>.md`) and `verification.md`
- `.marvin/handoff/` — any existing handoff for this work (see