Use this skill when the user wants to save session progress before running /clear, or when you notice significant progress has been made that should be saved to TASKS.md and committed to git (project)
This skill helps you prepare for a /clear command by saving all session progress to TASKS.md and committing work to git. Optimized for the Survey Automation project with 10 PRPs across 4 phases.
Check current state:
Update the CURRENT STATUS (Session X - YYYY-MM-DD) section with:
## CURRENT STATUS (Session X - YYYY-MM-DD)
### Recently Completed
- YYYY-MM-DD: [What was completed this session]
- Key accomplishment 1
- Key accomplishment 2
- ([test count] tests passing, [coverage]% coverage if applicable)
### In Progress
- [Current task] or "None - Ready to begin Phase X"
### Next Steps
1. [Immediate next action]
2. [Second action]
3. [Third action]
### Blockers
[List blockers or "None currently"]
For completed PRPs, update the PRP status in the PHASES AND PRPS section:
#### PRP-XXX: [Name]
**Status**: COMPLETED ā (YYYY-MM-DD)
**Domain**: Backend/Fullstack/Infrastructure
**Dependencies**: [List]
**Description**: [Description]
**Completion Summary**:
- [test count] tests passing, [coverage]% coverage
- Key features: [feature 1], [feature 2]
- Quality gates: All passed ā
Add new session entry or update current session:
### Session X - YYYY-MM-DD
**Focus**: [What this session focused on]
**Completed**:
- [Accomplishment 1]
- [Accomplishment 2]
- [Accomplishment 3]
**Quality Metrics**: [X tests, Y% coverage, etc.]
**Next Session**: [What to work on next]
IMPORTANT: This project may not have git initialized yet. Check first:
# Check if git repo exists
ls -la .git 2>/dev/null && echo "Git repo exists" || echo "Git not initialized"
# If git exists, check status
git status 2>/dev/null || echo "No git repo"
If git exists:
If git doesn't exist:
Only execute if git repo exists:
git add TASKS.md
git status
git commit -m "chore: save session progress - [brief summary]
[Optional detailed summary if significant work done]
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>"
If other files need committing (code, configs, etc.):
git add -A
git status
git commit -m "feat/fix/chore: [appropriate message]
[Summary of changes]
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>"
Provide a clear summary:
ā
Session Progress Saved!
**Updated TASKS.md**:
- Session: Session X - YYYY-MM-DD
- Phase: Phase X - [name] (X/Y PRPs)
- Completed This Session: [Brief summary]
- Next Steps: [What to do next]
- Total Progress: X/10 PRPs completed
**Git Status** (if applicable):
- ā
TASKS.md committed
- [Other files committed if any]
- Commit: [commit hash] [commit message]
**OR** (if no git):
- ā ļø Git not initialized (recommend: git init)
- TASKS.md updated locally
**Next Steps**:
1. Run: `/clear` to free up context
2. Run: `/recover-context` to reload (takes ~30 seconds)
3. Continue with: [Next action]
**Context Recovery**: Fast (~1000 tokens, 30 seconds)
## CURRENT STATUS (Session X - YYYY-MM-DD)
### Recently Completed
- YYYY-MM-DD: [Completed work description]
- Key accomplishment 1
- Key accomplishment 2
- ([X] tests passing, [Y]% coverage)
### In Progress
- [Current task] or "None - Ready to begin Phase X"
### Next Steps
1. [First action to take]
2. [Second action]
3. [Third action]
### Blockers
[List blockers or "None currently"]
When a PRP is completed:
#### PRP-XXX: [Name]
**Status**: COMPLETED ā (YYYY-MM-DD)
**Domain**: Backend/Fullstack/Infrastructure
**Dependencies**: [Dependencies]
**Description**: [Description]
**Completion Summary**:
- [X] tests passing, [Y]% coverage
- Key features: [list key features]
- Quality gates: All passed ā
- Cost: <$X.XX per operation (if applicable)
[Original acceptance criteria remain]
Update or add session entry:
### Session X - YYYY-MM-DD
**Focus**: [Main focus of this session]
**Completed**:
- [Accomplishment 1]
- [Accomplishment 2]
- [Accomplishment 3]
**Quality Metrics**: [X tests, Y% coverage, Z commits]
**Next Session**: [What to work on next]
User: "save session progress"
Claude:
Context: Just finished PRP-003, all tests passing, all quality gates passed
Claude: "I notice we've just completed PRP-003 (Configuration System) with all quality gates passing. Let me save this session progress."
[Executes save-session skill]
User: "I'm going to run /clear"
Claude: "Let me save the session progress first to make context recovery faster."
[Executes save-session skill]
Context: User has completed 2 PRPs today and is wrapping up
Claude (proactively): "We've made great progress today completing PRP-001 and PRP-002. Let me save this session progress before you end your work session."
[Executes save-session skill]
/recover-context command/recover-context slash commandWhen updating PRP completion summaries, verify these quality gates were passed:
Track these metrics in completion summaries:
This skill prepares TASKS.md for fast context recovery:
After saving, user can:
/clear to free context/recover-context to reload in ~30 seconds