Session Handoff — End-of-Session Notes
Generate a handoff note at the end of a work session for continuity in the next session.
Process
- Identify the current project directory
- Run
git logto review changes made during this session - Run
git statusto check for uncommitted changes - Generate a handoff note in the format below
- Save to the project's memory directory (e.g.,
~/.claude/projects/{project}/memory/)
Format
---
name: session_{YYYYMMDD}_handoff
description: {Project name} session handoff ({date})
type: project
---
# Session Handoff: {Project Name} ({YYYY/MM/DD})
## Completed Work
- ...
- ...
## Current State
- Build: passing / errors
- Deployed: yes / no
- Uncommitted changes: yes / no
## Remaining Tasks
1. ...
2. ...
## Key File Paths
- ...
## Known Bugs / Notes
- ...
## Environment Variable Changes
- (list if any)
Save Rules
- File name:
session_{YYYYMMDD}_handoff.md - If a handoff for the same day exists, overwrite it
- Update the project's memory index file if one exists
- Suggest cleaning up old handoff notes (older than 2 weeks)