skill-rollback

Featured

Roll back to a previous checkpoint via git — use when a change went wrong and you need to revert

AI & Automation 3,887 stars 365 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Checkpoint Rollback Safely rollback to a previous checkpoint while preserving lessons learned. **Core principle:** List checkpoints → Confirm explicitly → Create safety backup → Restore → Preserve lessons. --- ## Subcommand Detection Parse the user's request to determine mode: | User Request | Mode | Action | |--------------|------|--------| | `list`, `show checkpoints`, no argument | LIST | Show available checkpoints | | `octo-checkpoint-*` tag name | ROLLBACK | Rollback to specific checkpoint | --- ## Mode: LIST (Default) ### Step 1: Fetch Available Checkpoints ```bash # List all octo checkpoints with dates git tag -l "octo-checkpoint-*" --sort=-creatordate --format='%(refname:short)|%(creatordate:short)|%(contents:subject)' ``` ### Step 2: Present Checkpoint Table ```markdown ## Available Checkpoints | Tag | Created | Description | |-----|---------|-------------| | octo-checkpoint-post-discover-20260203-143022 | 2026-02-03 | After Discover phase | | octo-checkpoint-post-define-20260203-150145 | 2026-02-03 | After Define phase | Usage: `/octo:rollback <tag-name>` ``` **If no checkpoints found:** ``` No checkpoints found. Checkpoints are created automatically after each Octopus phase. To create a manual checkpoint: git tag -a octo-checkpoint-manual-$(date +%Y%m%d-%H%M%S) -m "Manual checkpoint" ``` --- ## Mode: ROLLBACK ### Step 1: Validate Checkpoint Exists ```bash # Check if tag exists git tag -l "$CHECKPOINT_TAG" | grep -q . || echo "TAG_NOT_FOUND" ...

Details

Author
nyldn
Repository
nyldn/claude-octopus
Created
6 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category