Auto-generate session summary: what changed, findings, open questions, next steps. Also handles end-of-day signoff — reads git history and conversation context automatically. Triggers: "/session-notes", "/signoff", "signing off", "end of day", "take note for tomorrow"
Generate a session summary by analyzing what actually happened, not what you remember.
Run in parallel:
git log --oneline --since="8 hours ago" (or since last session-notes entry)git diff --stat HEAD~N where N = commits this sessiongit diff for any uncommitted workgit stash list for stashed workGroup commits by theme, not chronologically:
### What Changed
- **<theme>**: <1-line summary> (<files touched>)
- Uncommitted: <what's in progress>
From conversation context, identify:
2-3 concrete next actions. Be specific:
order_manager.py, then run the integration test"Ask: "Anything else to note for next session?" Capture the response if provided. When triggered by signoff phrases ("signing off", "end of day"), this step is non-optional — the user's subjective notes are the primary purpose.
Append to claude-progress.txt (create if missing):
## Session: [YYYY-MM-DD HH:MM] (auto-generated)
### What Changed
- <grouped changes>
### Findings
- <what was learned>
### Decisions
- <choices made and why>
### Open Questions
- <unresolved items>
### Next Steps
1. <specific action>
2. <specific action>
### User Notes
- <anything the user added>
Output the summary and note: "Session notes appended to claude-progress.txt."