Command
/handoff
Generate a structured handoff document that another Claude session (or your future self) can consume immediately to continue where you left off.
One command from pro-workflow.
shell
$ npx -y skills add rohitg00/pro-workflow --agent claude-codeShips with pro-workflow. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/handoff
Context preview
What this command does when you run it.
Generate a structured handoff document that another Claude session (or your future self) can consume immediately to continue where you left off.
Stats
Stars2,638
Forks255
LanguageJavaScript
Command definition
handoff.md
# /handoff - Session Handoff Document Generate a structured handoff document that another Claude session (or your future self) can consume immediately to continue where you left off. ## Usage ``` /handoff /handoff --full /handoff --compact ``` ## How It Works When the user runs `/handoff`: 1. **Gather current state**: - Run `git status` and `git diff --stat` to see uncommitted work - Run `git log --oneline -5` to see recent commits this session - Check the session's edit count and corrections from the database - List files modified this session 2. **Query learnings captured this session**: ```bash sqlite3 ~/.pro-workflow/data.db " SELECT category, rule, mistake, correction FROM learnings WHERE created_at >= datetime('now', '-4 hours') ORDER BY created_at DESC " ``` 3. **Generate the handoff document**: ```markdown # Session Handoff — [date] [time] ## Status - **Branch**: feature/xyz - **Commits this session**: 3 - **Uncommitted changes**: 2 files modified
