/handoff Command
Creates structured handoff packages with branches, scratchpads, PRs, and worker prompts for task delegation.
/plugin marketplace add jleechanorg/claude-commands/plugin install claude-commands@claude-commands-marketplaceWhen this command is invoked, YOU (Claude) must execute these steps immediately: This is NOT documentation - these are COMMANDS to execute right now. Use TodoWrite to track progress through multi-phase workflows.
Action Steps:
Creates a structured handoff for another worker with PR, scratchpad, and worker prompt.
/handoff [task_name] [description]
/newbranch handoff-[task_name] to create fresh branch from latest mainroadmap/scratchpad_handoff_[task_name].md with:
/r command logic to add entry to roadmap/roadmap.md/newbranch to ensure clean main-based branch for continued work/handoff logging_fix "Add file logging configuration to main application"
Creates:
handoff-logging_fixroadmap/scratchpad_handoff_logging_fix.mdPrimary Output: Copy-paste ready worker prompt with:
Example Output:
šÆ WORKER PROMPT (Copy-paste ready)
TASK: [task_name]
SETUP:
1. Switch to worktree: cd /path/to/worktree_roadmap
2. Checkout handoff branch: git checkout handoff-[task_name]
3. Read specification: roadmap/scratchpad_handoff_[task_name].md
GOAL: [clear objective]
IMPLEMENTATION: [detailed steps]
SUCCESS CRITERIA: [measurable outcomes]
TIMELINE: [estimated hours]
FILES: [key files to create/modify]
START: Read the handoff scratchpad for complete details
Additional Outputs:
After creating the PR, the command automatically invokes /r logic with PR workflow:
git checkout maingit pull origin maingit checkout -b roadmap-handoff-[task_name]roadmap/roadmap.md in "Active WIP Tasks" section:
- **HANDOFF-[TASK_NAME]** š¢ [description] - PR #[number] READY FOR HANDOFF
git commit -m "docs(roadmap): Add handoff task [task_name]"git push origin HEAD:roadmap-handoff-[task_name]gh pr create --title "docs(roadmap): Add handoff task [task_name]" --body "Roadmap update for handoff task"git checkout [original-branch]logging_fix ā LOGGING_FIXHANDOFF-: HANDOFF-LOGGING_FIXThe command generates a formatted prompt that can be directly copied and pasted to hand off work to another developer or AI assistant. The prompt includes all necessary context, setup steps, and implementation guidance for immediate task continuation.
/handoffWrite or update a handoff document so the next agent with fresh context can continue this work.