Use when about to start risky changes, before major refactors, or when you need a safe rollback point during multi-step implementations.
60%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/checkpoint/SKILL.mdCreate, restore, list, or clean git checkpoints.
Command: $ARGUMENTS
/checkpoint create feature-authWorkflow:
git add -A
git commit -m "checkpoint: [name]"
git tag checkpoint/[name]Output:
──── Checkpoint Created ────
Name: checkpoint/feature-auth
Commit: abc1234
Files: 5 changed
Time: 2024-01-15 14:30:22/checkpoint restore-pointCreates a timestamp-based restore point before major operations.
git tag restore-point/$(date +%Y%m%d-%H%M%S)Output:
──── Restore Point Created ────
Tag: restore-point/20240115-143022
Use to rollback entire session if needed./checkpoint listgit tag -l "checkpoint/*" | sort -V
git tag -l "restore-point/*" | sortOutput:
──── Checkpoints ────
Checkpoints:
checkpoint/task-1 (2024-01-15 14:20)
checkpoint/task-2 (2024-01-15 14:25)
checkpoint/feature-auth (2024-01-15 14:30)
Restore Points:
restore-point/20240115-141500
restore-point/20240115-143022/checkpoint restore feature-authWarning: This will discard uncommitted changes!
# Confirm with user first
git reset --hard checkpoint/[name]Output:
──── Checkpoint Restored ────
Restored to: checkpoint/feature-auth
Commit: abc1234
Current state matches checkpoint./checkpoint rollback 20240115-143022Rollback to a restore point (undoes all work since).
git reset --hard restore-point/[timestamp]/checkpoint cleanRemove all checkpoint tags (keeps restore points).
git tag -l "checkpoint/*" | xargs -n 1 git tag -dOutput:
──── Checkpoints Cleaned ────
Removed: 5 checkpoint tags
Kept: 2 restore points/checkpoint clean-allRemove ALL checkpoints and restore points.
git tag -l "checkpoint/*" | xargs -n 1 git tag -d
git tag -l "restore-point/*" | xargs -n 1 git tag -dIf no argument provided:
/checkpointCreates a timestamped checkpoint:
checkpoint/auto-20240115-143022/checkpoint restore-point
# Make risky changes
# If it fails:
/checkpoint rollback [timestamp]/checkpoint create step-1
# Work on step 2
/checkpoint create step-2
# If step 2 is wrong:
/checkpoint restore step-1/checkpoint clean # Remove task checkpoints
# Keep restore points for safety──── /checkpoint ────
Operation: [create|restore|list|clean]
[Operation details]| Excuse | Reality |
|---|---|
| "I don't need a checkpoint, it's a small change" | Small changes break things too. A checkpoint takes 2 seconds, a rollback without one takes hours. |
| "Git history is enough" | Checkpoints are labeled save points - faster than hunting through git reflog. |
| "I'll just undo if something goes wrong" | You can't undo what you can't identify. Checkpoints mark the exact safe state. |
fernandezbaptiste/specialist-agent
cd716d9
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.