with one click
summarize
// Summarize session/branch changes from git and conversation. Use for 'summarize', 'summarize the branch', 'summarize the session', or PR description drafts.
// Summarize session/branch changes from git and conversation. Use for 'summarize', 'summarize the branch', 'summarize the session', or PR description drafts.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | summarize |
| description | Summarize session/branch changes from git and conversation. Use for 'summarize', 'summarize the branch', 'summarize the session', or PR description drafts. |
Generate a concise, pasteable summary of what was built and decided this session. Combines two sources:
Either source alone is valid. When both exist, synthesize them into one unified summary rather than two separate sections.
A Markdown unordered list (- bullets). Each bullet:
- **Bold Category Label** —- **Label** — patternExample shape:
- **CLI** — bin/entry.mjs + src/orchestrator/ supervises the three subprocesses with wait-for-file and wait-for-TCP gates so the client never proxies into a not-yet-ready backend.
- **Mocks** — mock-server.ts, mock-redis.ts, mock-realtime.ts. Ships both in-memory and real-Redis variants; full Redis API parity including transactions.
- **Decision** — Deferred the Redis persistence layer to the next milestone; current implementation is in-memory only by design.
Gather context — run these in parallel where applicable:
git rev-parse --git-dir 2>/dev/nullgit log --oneline origin/main..HEAD — commits on branchgit diff origin/main --stat — files changedgit diff origin/main -- '*.md' '*.json' (limited) — scan CLAUDE.md, package.json for orientation~/.claude/followups/<project>.md and skim the most recent session sectionIf git data is available, read a representative sample of changed files — focus on entry points, new modules, key types. Don't read every file; use the stat output to identify clusters.
Write the summary — synthesize both sources into a single unified list:
Write the summary file:
~/.claude/summaries/ exists (mkdir -p ~/.claude/summaries)~/.claude/summaries/, delete the rest~/.claude/summaries/summary-YYYY-MM-DD-HHMMSS.md using current local timePrint the full summary to chat so the user can copy-paste it.
Report a one-line link to the file (e.g. Written to ~/.claude/summaries/summary-2026-05-08-143022.md)