Memory Restore Skill
Restore sprint context from a previous session to continue work.
Instructions
- •
Check for saved memory:
- •Read
.claude/memory/memory_metadata.jsonfor metadata - •Check
pending_restoreflag:- •If
falseor missing: Report "No pending memory to restore" and stop - •If
true: Continue with restore
- •If
- •Read
- •
Read saved context:
- •Read
.claude/memory/current.mdfor saved context
- •Read
- •
Verify branch alignment:
- •Run
git branch --show-current - •Compare with branch recorded in memory file
- •Warn if branches do not match
- •Run
- •
Present restored context to the user:
- •Show sprint name and status
- •List current tasks (with completion status)
- •Show recent work summary
- •Highlight next steps to continue
- •
Clear pending flag:
- •Update
.claude/memory/memory_metadata.jsonsettingpending_restore: false - •This prevents duplicate restores in subsequent sessions
- •Update
- •
Offer to continue from where the previous session left off
Output Format
code
Memory Restored: - Sprint: [sprint name] - Saved: [date/time] - Branch: [branch name] [✓ matches / ⚠ mismatch - current is X] ## Current Tasks [List tasks from memory file] ## Recent Work [Summary from memory file] ## Next Steps [Next steps from memory file] --- Ready to continue. What would you like to work on?
No Pending Restore
If pending_restore is false or missing:
code
No pending memory to restore. (Memory was either already restored or /memory-save was not run before last exit)
Error Handling
If no memory file exists:
code
No saved memory found at .claude/memory/current.md Use /memory-save to create a save point before ending a session.