Skip to main content
Generaldavepoon

gsd:undo

Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks.

Stars
2,987
Source
davepoon/buildwithclaude
Updated
2026-05-26
Slug
davepoon--buildwithclaude--undo
View on GitHubRaw SKILL.md

// install — copy + paste into any project

mkdir -p .claude/skills && curl -fsSL https://raw.githubusercontent.com/davepoon/buildwithclaude/HEAD/plugins/gsd/skills/undo/SKILL.md -o .claude/skills/undo.md

Drops the SKILL.md into .claude/skills/undo.md. Works with Claude Code, Cursor, and any agent that loads SKILL.md files from .claude/skills/.

Safe git revert — roll back GSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.

Three modes:

  • --last N: Show recent GSD commits for interactive selection
  • --phase NN: Revert all commits for a phase (manifest + git log fallback)
  • --plan NN-MM: Revert all commits for a specific plan
@${CLAUDE_PLUGIN_ROOT}/workflows/undo.md @${CLAUDE_PLUGIN_ROOT}/references/ui-brand.md @${CLAUDE_PLUGIN_ROOT}/references/gate-prompts.md $ARGUMENTS Execute the undo workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/undo.md end-to-end.