skills/handoff/SKILL.md
Create a focused handoff prompt file for clean conversation-level handoffs. Deterministically assembles context from git state and prove artifacts, generates a small LLM pickup note, recommends the right agent, and outputs the exact command to start a fresh session. Use when hitting context limits, transitioning between phases, or wanting a clean restart without losing context.
npx skillsauth add mjmorales/claude-prove handoffInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create .prove/handoff.md so a fresh session picks up where this one left off.
$ARGUMENTS and conversation context.bash "$PLUGIN_DIR/skills/handoff/scripts/gather-context.sh" "$PROJECT_ROOT" "$PLUGIN_DIR"
Capture the full output -- this becomes the body of the handoff file. If $ARGUMENTS is provided, note it as additional context for Phase 2.
Generate a 3-5 sentence pickup note -- the only LLM-generated part. Answer:
Conditional additions:
.prove/runs/<branch>/<slug>/): reference the specific step id from scripts/prove-run show state.prove/decisions/ has entries: mention the most recent decision$ARGUMENTS provided: incorporate itBe concrete: "Fix the failing test in auth/middleware.test.ts caused by the new token format" over "Continue working on auth."
If agents/ exists, read .md files and parse frontmatter description. Match against the pickup note's work domain:
claude --agent agents/<name>.md --prompt-file .prove/handoff.md/prove:create:create-agent firstclaude --prompt-file .prove/handoff.mdWrite .prove/handoff.md:
# Handoff Context
<!-- Auto-generated by /prove:handoff. Safe to delete after use. -->
## Pickup Note
<from Phase 2>
<gathered context from Phase 1 -- State, Files Modified, Prove Artifacts, Discovery>
## Files to Read First
<3-7 files, priority-ordered with one-line rationale.
Priority: task plan > modified files > decision records > config>
## Instructions
1. Read the files listed in "Files to Read First" before starting
2. <specific resume point from the pickup note>
3. Run validation before committing: <validator commands from .claude/.prove.json>
4. When done, delete: `rm .prove/handoff.md`
Output to the user: confirm file written, show the recommended command, explain agent match if applicable.
tools
Clean and compact prove's durable memory layers — team Lore, the Codex (scrum decisions), annotations, and contributor artifacts — keeping the tribal knowledge that grows team accuracy and folding away the rot. Triggers on "janitor", "clean the lore", "compact the lore", "compact the codex", "memory cleanup", "clean up team memory", "prune stale decisions", "tidy tribal knowledge", "lore cleanup". You are the driver: the CLI emits inventories and executes writes; the `memory-janitor` agent judges each entry; a per-team batch gate approves; nothing is ever deleted — consolidation, promotion, and supersession only.
testing
Anchor session context into prove primitives before compaction and rehydrate from them after. Built-in compaction summarizes by recency and drops the claude-prove state an agent needs to reorient; this skill externalizes volatile context into durable anchors (scrum tasks, decisions, run-state, a compact-anchors pointer file) pre-compact, then runs a deterministic reorientation sequence post-compact. Use before a manual /compact, when context is about to auto-compact, or immediately after a compaction. Triggers on "smart compact", "prepare for compaction", "anchor before compact", "context is getting long", "rehydrate", "reorient after compact".
tools
Apply model-driven CONTENT reshaping to stored run artifacts that sit behind the current schema, on explicit operator invocation only. Triggers on "migrate runs", "migrate run artifacts", "run content migration", "reshape run artifacts", "bring runs to current schema". You are the driver: the `run-state migrate-runs` CLI mechanically detects which artifacts are behind and emits a plan naming each one plus its migration-instruction file; you read the instructions and reshape the prose/findings, gated by the operator. The deterministic `schema migrate` handles structural column moves; this skill covers only the content reshaping beyond them. Never run as a background or resident loop — only when the operator asks.
tools
Synthesize the 7-section risk-forward Review Brief from a run's reasoning log. Triggers on "reasoning brief", "review brief", "synthesize the brief", "generate the brief", "brief the run", "brief for review", "story brief". You are the driver: the `acb brief` CLI renders a mechanical preservation-safe backbone and proves preservation; you synthesize the narrative prose (summary + changes), single-pass or multipass over episode chunks, then gate it through Stage-1 (mechanical, blocking) and Stage-2 (prose judge, advisory).