/git-workflow:undo-opfrom git-workflow
Rewinds a branch to before a local merge, rebase, reset, amend, or squash using git reflog. Confirms target state and handles uncommitted work.
Ships in git-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
git reflog (or git reflog show <branch>), find the requested
operation, and inspect the entry immediately before it with git log or
git show HEAD@{N}.git stash -u); never create a
checkpoint commit merely to clear the tree.git reset --hard HEAD@{N}, then
git stash pop if needed.Use git revert instead when undoing a published commit by adding a new inverse
commit. Reflog recovery rewinds local history; reset --hard discards unstashed
changes.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/bisect-debugFind the commit that introduced a regression with an automated git bisect, then make a tested fix. Use when behaviour used to work but the culprit is unknown and can be expressed as a pass/fail command./maintain-atomic-commitsFold a change into the local commit it belongs to instead of adding a follow-up. Use for amendments, earlier-commit corrections, rewording, and changes that map to one or more existing local commits; not for a new commit or ordinary rebasing./resolve-merge-conflictResolve conflicts and continue an interrupted git rebase, merge, or cherry-pick. Use for unmerged paths, conflict markers, or a paused history operation.npx claudepluginhub paulinevos/claude-stuff --plugin git-workflowOther plugins' skills for the same job