# gsd:undo

> gsd:undo is an Agent Skill for development published in the davepoon/buildwithclaude repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

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

- Skill name: `gsd:undo`
- Category: [Development](https://www.openparable.com/skill/development/1)
- Source: https://github.com/davepoon/buildwithclaude/blob/HEAD/plugins/gsd/skills/undo/SKILL.md
- Repository: davepoon/buildwithclaude (3,182 GitHub stars when collected)

## SKILL.md

<objective>
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
</objective>

<execution_context>
@${CLAUDE_PLUGIN_ROOT}/workflows/undo.md
@${CLAUDE_PLUGIN_ROOT}/references/ui-brand.md
@${CLAUDE_PLUGIN_ROOT}/references/gate-prompts.md
</execution_context>

<context>
$ARGUMENTS
</context>

<process>
Execute the undo workflow from @${CLAUDE_PLUGIN_ROOT}/workflows/undo.md end-to-end.
</process>

---

Source: https://www.openparable.com/skill/development/gsd-undo (OpenParable). Cite the canonical URL above.
