session-handoff
End-of-session handoff that captures all knowledge, dispatches session output across the canonical 7-bucket docs/ taxonomy (aligned with memory-hygiene v3.3), and prepares paste-ready prompts for the next session. Includes a built-in label audit (Phase 0), cross-session consolidation when multiple handoffs accumulate, a mandatory doc-freshness reverse-lint + skill-freshness audit that catches stale normative guidance, future-to-do GitHub issue emission, and a closing user-facing live-dashboard recap for the chat.
v1.18 is the current release — makes the Phase 4 reverse-lint actually run (it was dead on plugin-scope installs and scanned zero files everywhere else, while reporting "clean"), moves the step into a bundled, tested reverse_lint_step.sh, adds find_own_script.sh and resolve_dep.sh so bundled and sibling-plugin scripts resolve at all three install roots, and extends the skill-freshness audit to the nested plugin layout it had been skipping. v1.13 added the review-findings audit (handoff §7 table + step 24d merge into the usage record), hardened subagent-usage verification (including the unit-mismatch variant: a non-zero scalar can still be ~2× off the itemized truth), a new-model rate-table caveat, next-prompt gating (write one only when a next action is recommended), and docs-only handoff-PR auto-merge — on top of the v1.9 bucket-aware dispatch.
Quick Start
You: /session-handoff
Claude: [scans git log, writes handoff doc, updates memory, creates next-session prompt]
You: wrap up this session
Claude: [same — triggers on natural language too]
You: consolidate handoffs
Claude: [merges 3+ handoff docs into a single source-of-truth plan]
Installation
Claude Code (plugin install — recommended):
# Add the marketplace, then install the plugin
claude plugin marketplace add wan-huiyan/session-handoff
claude plugin install session-handoff@wan-huiyan-session-handoff
Claude Code (git clone):
git clone https://github.com/wan-huiyan/session-handoff.git ~/.claude/skills/session-handoff
Cursor (2.4+):
# Per-project rule (most reliable)
mkdir -p .cursor/rules
# Copy plugins/session-handoff/SKILL.md content into .cursor/rules/session-handoff.mdc with alwaysApply: true
# Or via npx skills CLI
npx skills add wan-huiyan/session-handoff --global
What You Get
Every handoff dispatches session output across the 7 canonical buckets (rich sessions touch 3-5 of them):
| Bucket | Populated when the session... |
|---|
docs/decisions/ | Made an architectural or methodological choice (ADRs) |
docs/runbooks/ | Created/updated an operational procedure (retrain, rerun, QA) |
docs/analysis/ | Produced findings, investigations, diagnostics |
docs/references/ | Updated schemas, data dictionaries, project conventions |
docs/reviews/ | Produced review-panel or audit output |
docs/handoffs/ | Always — the session handoff doc + next-session prompt (+ parallel prompts) |
docs/deliverables/ | Produced an external-facing artifact (client draft, published output, slides) |
Plus: