checkpoint
Skill14 starsChanged 37 days agoMITView on GitHub
Save and restore work state with Git-based lightweight checkpoint system. Use before risky work, milestone completion, experimental changes. Keywords: checkpoint, save, restore, rollback, snapshot, backup, git, stash.
91 other projects use a version of this.
Adopted by
Most recently taken up by
- TheLunchTrae/claude-code-configstheir own version, first seen Nov 8, 2026
- codewithmukesh/dotnet-claude-kittheir own version, first seen Nov 8, 2026
- pedrohcgs/claude-code-my-workflowtheir own version, first seen Nov 7, 2026
- flonat/flonat-researchtheir own version, first seen Nov 3, 2026
- jboczek/skillstheir own version, first seen Nov 1, 2026
- AhmedMerza/claude-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use aside, spinoff and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
TheKREATORSSkillaside
Answer a quick side question without interrupting or losing context from the current task. Resume work automatically after answering.
Also in 3 projects that use this
AhmedMerzaSkillspinoff
After a branch is finished, harvest the work it made CHEAP — the helper you wrote that four other sites now hand-roll, the plumbing that turned a deferred feature small, the pattern that just split the codebase in two. Produces a follow-up backlog (0–3 candidates, feeding /issue), NEVER commits on the current branch. Invoke with /spinoff at the tail of the chain — after /fix-review has settled the review findings, before the MR merges — or when the user asks \"what else should we do while we're here / what did this unlock / anything to follow up on\". This is ship-check's optional twin — that finds what's MISSING and blocks the merge; this finds what's now CHEAP and blocks nothing. Restraint-gated: \"nothing spun off\" is the common and correct answer, and a finding that would have been equally valid before this branch is not a finding.
Also in 3 projects that use this
TheKREATORSSkillinstinct-export
Export instincts from project/global scope to a file
Also in 3 projects that use this
seek888Skillopen-gstack-browser
Launch GStack Browser — AI-controlled Chromium with the sidebar extension baked in. Opens a visible browser window where you can watch every action in real time. The sidebar shows a live activity feed and chat. Anti-bot stealth built in. Use when asked to "open gstack browser", "launch browser", "connect chrome", "open chrome", "real browser", "launch chrome", "side panel", or "control my browser". Voice triggers (speech-to-text aliases): "show me the browser".
Also in 5 projects that use this
seek888Skilldesign-html
Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".
Also in 5 projects that use this
ayudaySkillsetup-deploy
Configure deployment settings for /land-and-deploy. Detects your deploy platform (Fly.io, Render, Vercel, Netlify, Heroku, GitHub Actions, custom), production URL, health check endpoints, and deploy status commands. Writes the configuration to CLAUDE.md so all future deploys are automatic. Use when: "setup deploy", "configure deployment", "set up land-and-deploy", "how do I deploy with gstack", "add deploy config".
Also in 5 projects that use this
- +2 more from TheKREATORS
- +2 more from seek888
Other versions91 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 91
- pedrohcgs/claude-code-my-workflow★ 1.7ksame name
- codewithmukesh/dotnet-claude-kit★ 808same name
- leonvanzyl/agentic-coding-starter-kit★ 447same name
- myICOR/myPKA★ 319same name
- hsantanna88/clo-author★ 262same name
- hugosantanna/clo-author★ 262same name
- sterlingcrispin/claude_slash_commands★ 200same name
- flonat/flonat-research★ 150same name
- josipjelic/orchestrated-project-template★ 96same name
- panayiotism/claude-harness★ 79same name
81 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- adaptSkill
- animateSkill
- auditSkill
- bolderSkill
- brainstormSkill
- build-fixSkill
- business-panelSkill
- clarifySkill
- colorizeSkill
- composition-patternsSkill
- confidence-checkSkill
- config-doctorSkill
- critiqueSkill
- delightSkill
- design-auditSkill
- devils-advocateSkill
- distillSkill
- eval-harnessSkill
- feature-plannerSkill
- fix-prSkill
- frontend-designSkill
- gap-analysisSkill
- grill-with-docsSkill
- hardenSkill
- impeccableSkill
- layoutSkill
- learnSkill
- optimizeSkill
- overdriveSkill
- polishSkill
- pytest-runnerSkill
- python-best-practicesSkill
- quieterSkill
- react-best-practicesSkill
- sc-helpSkill
- security-auditSkill
- shapeSkill
- tddSkill
- typesetSkill
- ui-ux-pro-maxSkill
- uv-packageSkill
- verifySkill
- web-design-guidelinesSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 85 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Core Principle: Always checkpoint before risky work → Safe experimentation → Rollback if needed
- Distinctive: line 23
Before starting experimental changes
- Distinctive: line 25
Before PR submission (save final state)
- Distinctive: line 38
Verify current state is clean
- Distinctive: line 39
Create stash or commit if changes exist
- Distinctive: line 150
Action: Keep only the most recent 5 checkpoints, delete the rest
- Very specific: line 258
Run /checkpoint clear when 5+ accumulate
- Distinctive: line 260
Create checkpoints only in working states
“Common” is measured: kept by at least 6 in 10 of the 85 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Dynamic Context
Current git state:
!git log --oneline -5 2>/dev/null
Existing stashes:
!git stash list 2>/dev/null || echo "No stashes"
Checkpoint Skill
Purpose
Save, compare, and restore work state when necessary using Git stash/commit-based lightweight checkpoint system.
Core Principle: Always checkpoint before risky work → Safe experimentation → Rollback if needed
Activation Triggers
- Before risky refactoring
- Before starting experimental changes
- On major milestone completion
- Before PR submission (save final state)
- User explicit request:
/checkpoint,checkpoint,save
Commands
Create Checkpoint
/checkpoint create <name>Actions:
- Verify current state is clean
- Create stash or commit if changes exist
- Record in
.claude/checkpoints.log - Save timestamp and Git SHA
Example:
/checkpoint create before-auth-refactor
✅ Checkpoint Created
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Name: before-auth-refactor
Time: 2025-01-26 14:30:22
SHA: a1b2c3d
Files: 12 staged, 3 modified
Status: Clean state saved
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Verify Against Checkpoint
/checkpoint verify <name>Actions:
- Find saved checkpoint
- Compare with current state
- Report change metrics
Example:
/checkpoint verify before-auth-refactor
📊 Checkpoint Comparison
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Checkpoint: before-auth-refactor
Created: 2025-01-26 14:30:22
Current SHA: d4e5f6g
📁 Files Changed: 8
├─ src/auth/login.ts (+45, -12)
├─ src/auth/middleware.ts (+23, -5)
├─ src/api/user.ts (+15, -8)
└─ ... 5 more files
📈 Test Coverage:
Before: 78%
After: 85% (+7%)
🧪 Tests:
Before: 42 passed
After: 47 passed (+5 new)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━List Checkpoints
/checkpoint listExample:
/checkpoint list
📋 Saved Checkpoints
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Name Time SHA Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
before-auth-refactor 2025-01-26 14:30 a1b2c3d ← HEAD~3
feature-complete 2025-01-26 12:15 x7y8z9a ← HEAD~8
initial-setup 2025-01-26 09:00 m4n5o6p ← HEAD~15
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total: 3 checkpointsRestore Checkpoint
/checkpoint restore <name>Actions:
- Backup current changes (auto stash)
- Restore to checkpoint
- Confirm restoration
Example:
/checkpoint restore before-auth-refactor
⚠️ Restore Confirmation
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This will:
1. Stash current changes (auto-backup)
2. Reset to checkpoint: before-auth-refactor
3. You will lose: 8 file changes since checkpoint
Proceed? [y/N]Clear Old Checkpoints
/checkpoint clearAction: Keep only the most recent 5 checkpoints, delete the rest
Implementation Details
Checkpoint Log Format
.claude/checkpoints.log:
[2025-01-26T14:30:22] before-auth-refactor | SHA:a1b2c3d | stash@{0}
[2025-01-26T12:15:10] feature-complete | SHA:x7y8z9a | commit
[2025-01-26T09:00:05] initial-setup | SHA:m4n5o6p | commitGit Commands Used
# Create checkpoint (commit-based)
git add -A
git commit -m "checkpoint: <name>"
# Create checkpoint (stash-based for uncommitted work)
git stash push -m "checkpoint: <name>"
# Verify
git diff <checkpoint-sha>..HEAD --stat
# Restore
git stash # backup current
git checkout <checkpoint-sha>
# List
git log --oneline --grep="checkpoint:"Workflow Integration
Typical Development Flow
/checkpoint create "start-feature"
│
├─→ Implementation work
│
├─→ /verify quick
│
├─→ /checkpoint create "mid-feature"
│
├─→ Risky refactoring
│ │
│ ├─→ Success → Continue
│ │
│ └─→ Failure → /checkpoint restore "mid-feature"
│
├─→ /verify full
│
└─→ /checkpoint create "feature-complete"With /verify
/checkpoint create "before-refactor"
... refactoring ...
/verify full
│
├─→ ✅ Pass → Continue
│
└─→ ❌ Fail → /checkpoint restore "before-refactor"With /feature-planner
Auto-checkpoint before each Phase:
Phase 1 start → /checkpoint create "phase-1-start"
Phase 1 complete → /checkpoint create "phase-1-complete"
Phase 2 start → /checkpoint create "phase-2-start"
...Best Practices
Checkpoint Naming Rules
✅ Good:
- before-auth-refactor
- phase-2-complete
- pre-db-migration
- working-login-flow
❌ Bad:
- checkpoint1
- test
- temp
- asdfRecommended Checkpoint Timing
| Situation | Checkpoint Name |
| Feature start | start-<feature> |
| Reached working state | working-<feature> |
| Before risky change | before-<change> |
| Phase completion | phase-N-complete |
| Before PR | pre-pr-<feature> |
Checkpoint Management
- Run
/checkpoint clearwhen 5+ accumulate - Use meaningful names
- Create checkpoints only in working states
Quick Reference
| Command | Description |
/checkpoint create <name> | Create checkpoint |
/checkpoint verify <name> | Compare with checkpoint |
/checkpoint list | List all checkpoints |
/checkpoint restore <name> | Restore to checkpoint |
/checkpoint clear | Clean old checkpoints |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

