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.
From provenpx claudepluginhub mjmorales/claude-prove --plugin proveThis skill uses the workspace's default tool permissions.
scripts/gather-context.shGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Analyzes BMad project state from catalog CSV, configs, artifacts, and query to recommend next skills or answer questions. Useful for help requests, 'what next', or starting BMad.
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/TASK_PLAN.md exists: reference the specific step to resume.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.