session-endlisted
Install: claude install-skill jkm-4314/claude-code-skills
# Session End Handoff
You are finalizing a work session to preserve context for future sessions. Follow these steps.
**Override note:** This is the generic global version. If this project has a project-level `session-end` skill (in `.claude/skills/session-end/`), that version runs instead of this one and may include project-specific app shutdown logic.
## Step 1: Git-Grounded Reconciliation
Run:
```bash
git log --since="6am" --oneline --all
git diff --stat
```
Cross-reference commits against this Claude session's own work. Flag any commits that THIS session didn't make (other agents, manual commits, or earlier context-cleared sub-sessions). For unfamiliar commits, briefly read the changed files so you can describe them accurately.
## Step 2: Detect Today's Session Entry
Read the top of `.claude/SESSION_LOG.md`.
**If the top entry's date matches today's date** (stub from session-start, or an already-finalized entry being appended to):
- Continue to Step 3 to finalize / augment it.
**If no entry exists for today** (user worked informally without running session-start):
- Ask: "No session-start entry exists for today. Options:
1. Create a retroactive entry for today's work
2. Skip log creation — just run housekeeping (ROADMAP / DECISIONS / MISTAKES / pruning)
3. Do nothing"
- If they pick (1): create a new entry at the top with today's date and next session number, then continue to Step 3.
- If they pick (2): jump to Step 5.
- If they pick (3): stop.
## Step 3: