analyze
CommandAnalyze user corrections and log them into the error notebook
Create a handoff file for another session to pick up
description: "Create a handoff file for another session to pick up"
Generate a handoff file so another Claude Code session can continue where this one left off.
1. **Analyze current session** — What are you working on right now? What files have been modified? What decisions were made?
2. **Write handoff file** — Save to the project's memory directory as `handoff-{topic}.md` with this format:
---
name: handoff-{topic}
description: {one-line summary of what needs to be handed off}
type: project
---
# {Title} Handoff
**Status:** {what's done / what's pending}
**Date:** {today}
## What was done
{bullet list of completed work}
## What's left to do
- [ ] {pending task 1}
- [ ] {pending task 2}
## Key decisions
{any decisions the next session needs to know about}
## Files modified
{list of files changed in this session}3. **Confirm** — Tell the user the handoff file has been saved and will be automatically detected by the next session.
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Analyze user corrections and log them into the error notebook
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Help decide when to use `/compact` based on the current conversation state.
Review the error notebook — flip through past corrections before working
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.