Provides a safe, dependency-checked git revert mechanism for GSD project phases.

Install

mkdir -p .claude/skills/gsd-undo-open-gsd && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11659" && unzip -o skill.zip -d .claude/skills/gsd-undo-open-gsd && rm skill.zip

Installs to .claude/skills/gsd-undo-open-gsd

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Safe git revert. Roll back phase or plan commits using the phase manifest with dependency checks.
97 charsno explicit “when” trigger
Intermediate

Key capabilities

  • Revert all commits for a specified phase
  • Revert all commits for a specific plan
  • Show recent GSD commits for interactive selection
  • Perform dependency checks before execution
  • Provide a confirmation gate before reverting

How it works

The skill reverts GSD phase or plan commits using the phase manifest, performing dependency checks and requiring confirmation before execution.

Inputs & outputs

You give it
A phase number, a plan range, or a number for last N commits
You get back
Git commits reverted based on the input

When to use gsd-undo

  • Undoing a development phase
  • Rolling back planned changes
  • Reverting complex GSD operations

About this skill

<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/gsd-core/workflows/undo.md @/.claude/gsd-core/references/ui-brand.md @~/.claude/gsd-core/references/gate-prompts.md </execution_context>

<context> $ARGUMENTS </context> <process> Execute end-to-end. </process>

When not to use it

  • When a confirmation gate is not desired
  • When dependency checks are not needed

Limitations

  • Limited to GSD phase or plan commits
  • Requires a phase manifest for operation

How it compares

This skill provides specific modes for reverting GSD phases or plans with dependency checks and a confirmation gate, unlike a generic git revert.

Compared to similar skills

gsd-undo side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
gsd-undo (this skill)01moNo flagsIntermediate
resolve-conflicts818moReviewIntermediate
openspec-onboard106moReviewBeginner
codex-cli-bridge99moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry