Save and resume development sessions across conversations - preserves context, decisions, and progress for continuity
Saves and resumes development sessions to preserve context, decisions, and progress across conversations.
/plugin marketplace add TechNickAI/ai-coding-config/plugin install ai-coding-config@ai-coding-configsave|resume|list [name].claude/sessions/
├── active.json # Current session pointer
└── <session-id>/
├── metadata.json # Session info (name, created, branch, task)
├── context.md # Decisions, architecture, key context
├── progress.json # Completed steps, current step, blockers
└── files.json # Key files being worked on
</session-structure>
<commands>
## /session save [name]
Save current session state for later resumption.
Create session directory with timestamp ID
Capture metadata:
Write context.md with:
Write progress.json with:
Write files.json with:
Update active.json to point to this session
Example:
/session save "auth-refactor"
Resume a saved session.
.claude/sessions/<id>/If no name/id provided, resume the active session (from active.json).
Example:
/session resume auth-refactor
/session resume # Resume active session
Show all saved sessions with:
Sort by most recently modified. </commands>
<context-capture> When saving context, capture decisions that matter for resumption:Good context entries:
Skip transient details:
{
"completed": [
"Set up database schema",
"Implement user model",
"Add authentication middleware"
],
"current": "Writing login endpoint tests",
"blockers": ["Need to decide on rate limiting strategy"],
"next": ["Implement password reset flow", "Add email verification"]
}
</progress-tracking>
<auto-save>
Consider auto-saving sessions:
- Before long-running operations
- When switching branches
- At natural breakpoints (commit, PR creation)
- When context window gets full (before compaction)
Ask before auto-saving: "Save session before [action]? (y/n)" </auto-save>
<resumption-flow> When resuming a session:This gets the user (and Claude) back up to speed quickly without re-explaining everything. </resumption-flow>
<privacy-notice> Session files may contain sensitive information including architectural decisions, code context, and file paths. The `.claude/sessions/` directory is gitignored by default.Never commit session data to version control. Review session contents before sharing with team members. </privacy-notice>
<best-practices> Save sessions when: - Ending a work session (lunch, EOD, context switch) - Before risky operations - At major milestones - When you'd want to remember "where was I?"Resume sessions when: