Undo Plan — Git skill for Claude Code
Work out the safest way back from a messy git state and show exact commands, running none of the risky ones.
How to install Undo Plan
Installs to ~/.claude/skills/tidybytetools-claude-code-commands-undo-plan/SKILL.md
mkdir -p ~/.claude/skills/tidybytetools-claude-code-commands-undo-plan && curl -fsSL https://raw.githubusercontent.com/tidybytetools/claude-code-commands/HEAD/commands/undo-plan.md -o ~/.claude/skills/tidybytetools-claude-code-commands-undo-plan/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Undo Plan does
description: "Work out the safest way back from a messy git state and show exact commands, running none of the risky ones" argument-hint: "[what went wrong]" allowed-tools: "Read Grep Glob Bash(git status *) Bash(git diff *) Bash(git log *) Bash(git show *) Bash(git blame *) Bash(git stash list) Bash(git reflog -n *)"
Context (read-only snapshot taken when you run this)
- Status: !
git status --short --branch || true - Reflog: !
git reflog -n 10 || true - Stashes: !`git stash list
Alternatives in Git
- Get Commit Details — git show --name-status [COMMIT_ID] git diff [COMMIT_ID]^ [COMMIT_ID] 1.3k ★
- Drive Acquisition — Work GitHub issues that drive acquisition — verify relevance, close stale ones, fan out at most two engineer a 324 ★
- Eval Merge — /eval-merge — Three-Way Version Merge 216 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claudemerge
Three-way merge of pending .framework-new conflicts in a consuming repo: auto-applies clean merges, surfaces g
Feature Next
Reads the project's feature state (index, feature folders, git branches, working tree) and tells you the natur
Git Init
Check the Git repository, create or update .gitignore, show Git state.
Spine Backfill
Recover a unit's spine contract from its existing prose as evidence, and re-plan an already-authored or reconc
Spine Plan
Plan-first spine population — a Socratic per-unit dialogue that authors a unit's contract (purpose/pre/post) u
Plan Close
Close out a finished staged-rollout .plan/ — verify completion, distill the story into a final PR body, clean
Related Agents
Implementer Risky
Builds one task of risk class arriscada (data, login, money or hard to undo) test-first on its own branch. Dis
Risk Judge
Judges one risky step of a wStack task in away mode. Returns whether the step has an undo, who it reaches, and
Code App Agent
Build or change Code Builder code apps — React apps whose source Code Builder's engine keeps in git — for a li