Babysitter checkpoint-management
Git-backed state management for safe rollback. Create and restore checkpoints with tagged commits and metadata tracking.
install
source · Clone the upstream repo
git clone https://github.com/a5c-ai/babysitter
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/a5c-ai/babysitter "$T" && mkdir -p ~/.claude/skills && cp -r "$T/library/methodologies/claudekit/skills/checkpoint-management" ~/.claude/skills/a5c-ai-babysitter-checkpoint-management && rm -rf "$T"
manifest:
library/methodologies/claudekit/skills/checkpoint-management/SKILL.mdsource content
Checkpoint Management
Overview
Git-backed checkpoint system providing safe rollback points during development sessions. Each checkpoint creates a tagged commit with descriptive metadata for easy identification and restoration.
Operations
Create Checkpoint
- Stage all current changes
- Create commit with [CHECKPOINT] prefix
- Tag with claudekit-checkpoint-{timestamp}
- Record metadata: files changed, insertions, deletions
Restore Checkpoint
- List available checkpoints by tag
- Preview changes that would be reverted
- Restore to selected checkpoint via git reset
- Verify restored state matches checkpoint
Session Isolation
Checkpoints are session-scoped. Tags created during a session can be cleaned up without affecting other work.
When to Use
- Before risky refactoring operations
- After passing quality checks (safety checkpoints)
- At the start and end of ClaudeKit sessions
- Before spec execution phases
Processes Used By
(session start/end checkpoints)claudekit-orchestrator
(safety checkpoints after quality checks)claudekit-safety-pipeline