auto-setup
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Generate a structured handoff document that another Claude session (or your future self) can consume immediately to continue where you left off.
> /plugin marketplace add rohitg00/pro-workflow > /plugin install pro-workflow@pro-workflow
How it fires
How this command gets triggered: by you, by Claude, or both.
/handoffContext 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.
Generate a structured handoff document that another Claude session (or your future self) can consume immediately to continue where you left off.
/handoff /handoff --full /handoff --compact
When the user runs `/handoff`:
1. **Gather current state**:
2. **Query learnings captured this session**:
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**:
# Session Handoff — [date] [time] ## Status - **Branch**: feature/xyz - **Commits this session**: 3 - **Uncommitted changes**: 2 files modified - **Tests**: passing / failing / not run ## What's Done - [completed task 1] - [completed task 2] ## What's In Progress - [current task with context on where you stopped] - [file:line that needs attention next] ## What's Pending - [next task that hasn't been started] - [blocked items with reason] ## Key Decisions Made - [decision 1 and why] - [decision 2 and why] ## Learnings Captured - [Category] Rule (from this session) ## Files Touched - `path/to/file1.ts` — [what changed] - `path/to/file2.ts` — [what changed] ## Gotchas for Next Session - [thing that tripped you up] - [non-obvious behavior discovered] ## Resume Command Copy this into your next session: > Continue working on [branch]. [1-2 sentence context]. Next step: [specific action].
4. **Save the handoff** to `~/.pro-workflow/handoffs/[date]-[branch].md`
`/wrap-up` is a checklist to close a session properly. `/handoff` is a document designed to be consumed by the next session — it's written for the reader, not the writer.
---
**Trigger:** Use when user says "handoff", "hand off", "pass to next session", "create handoff", "session transfer", "continue later", or when ending a session and wants to resume smoothly.
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Smart context compaction with state preservation — saves critical state before compact and restores after
Track session costs, understand token spend, and get optimization tips