Capture current session context to .claude/HANDOFF.md
Creates a comprehensive handoff document preserving session context for future Claude sessions.
/plugin marketplace add thepushkarp/handoff/plugin install thepushkarp-handoff-plugins-handoff@thepushkarp/handoffCreate a comprehensive handoff document to preserve context for future Claude sessions.
Analyze Session Context Review the current conversation and gather:
Check Git Status (if in a git repo)
Run git status and git diff --name-only to identify modified files.
Read Existing Handoff (if any) Try to read .claude/HANDOFF.md to check if it exists. If it does, you'll append to it.
Create Directory and Append Handoff
Ensure .claude/ directory exists with mkdir -p .claude, then append a new timestamped entry to .claude/HANDOFF.md:
---
## Handoff: [TIMESTAMP]
### Current Task State
[What was being worked on, current status]
### Key Decisions
- [Decision 1]: [Rationale]
- [Decision 2]: [Rationale]
### Modified Files
- `path/to/file1.ts` - [brief description of changes]
- `path/to/file2.py` - [brief description of changes]
### Blockers / Open Questions
- [Any unresolved issues or questions]
### Next Steps
1. [First actionable item]
2. [Second actionable item]
3. [Third actionable item]
### Critical Context
[Important gotchas, patterns, or context the next session needs]
---
Confirm Handoff Created After writing, confirm the handoff was appended successfully and summarize what was captured.