Agent skill
checkpoint-workflow
Stars
163
Forks
31
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/checkpoint-workflow
SKILL.md
Checkpoint Workflow Skill
Core Principle
CHECKPOINT EARLY, CHECKPOINT OFTEN
Never accumulate more than 5 minutes of unsaved work. Every significant unit of work must be persisted before moving to the next.
Checkpoint Triggers
Create a checkpoint when:
- After creating ANY file → commit immediately
- After completing a subtask → update PROGRESS.md + commit
- Before starting a new phase → save current state
- Every 3-5 tool calls → update progress journal
- Before complex operations → pre-operation snapshot
Required Actions
After Every 2-3 Files Created
bash
git add <files>
git commit -m "checkpoint: <brief description>"
git push origin main
Before and After Major Steps
Update docs/claude-integration/PROGRESS.md:
markdown
### Completed Steps:
- [x] Step description (commit: abc123)
### Current State:
- Working on: [specific item]
- Next action: [what comes next]
Commit Message Prefixes
checkpoint:- Work in progresswip:- May not build/workprogress:- Incremental progresssave:- Explicit save point
Recovery Protocol
On context loss or "continue" request:
- Read
docs/claude-integration/PROGRESS.md - Check
git log --oneline -10 - Check
/mnt/transcripts/[latest].txt - Resume from documented "Next Actions"
- Update PROGRESS.md before continuing
Anti-Patterns to Avoid
❌ Creating 10 files then committing all at once ❌ Completing entire task before documenting ❌ Starting context-heavy operations without saving first ❌ Ignoring PROGRESS.md updates
Sample Workflow
1. START TASK
└─> Update PROGRESS.md: "Starting task X"
└─> git commit -m "checkpoint: starting task X"
2. SUBTASK A (2-3 files)
└─> Create files
└─> git commit -m "checkpoint: completed subtask A"
└─> Update PROGRESS.md
3. SUBTASK B (2-3 files)
└─> Create files
└─> git commit -m "checkpoint: completed subtask B"
└─> Update PROGRESS.md
4. COMPLETE
└─> git commit -m "feat: complete task X"
└─> Update PROGRESS.md: "COMPLETE"
Didn't find tool you were looking for?