gsd-undo

Reverse specified Git commits in a GSD workflow with dependency checks.

Updated May 28, 2026
One-click install
npx skills add https://github.com/SensLiao/Claude-code-setting --skill gsd-undo-sensliao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-undo
Source: https://github.com/SensLiao/Claude-code-setting/tree/main/skills/gsd-undo
Command: npx skills add https://github.com/SensLiao/Claude-code-setting --skill gsd-undo-sensliao

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a safer and more efficient way to roll back GSD phase or plan commits, ensuring no unintended dependencies are broken.

Core Features & Use Cases

  • Safe Commit Reversion: Automatically revert specified commits while checking for dependencies.
  • Phase and Plan Reversion: Undo commits for specific phases or plans defined in the phase manifest.
  • Interactive Mode: Show recent GSD commits for interactive selection.
  • Use Case: Roll back a phase or plan with confidence, knowing the Skill will prevent breaking dependent tasks.

Quick Start

Undo the last 3 commits of the current plan with the command: gsd-undo --plan current-plan.

Frequently Asked Questions about gsd-undo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely revert Git commits without breaking dependencies in a GSD workflow?

Safely reverting Git commits in a GSD workflow requires checking the phase manifest to prevent breaking dependencies. This Skill automates dependency checks during rollback to ensure dependent tasks remain intact.

Can I undo commits for a specific phase or plan instead of individual commits?

Yes, you can undo commits for specific phases or plans. The Skill supports phase and plan-based reversion using the GSD manifest, allowing targeted rollbacks like reverting the last commits of a current plan.

Do I need a GSD phase manifest to perform a dependency check during commit reversion?

Yes, a GSD phase manifest is required to perform dependency checks during commit reversion. The manifest provides the structural context needed to identify and protect dependent tasks from being broken.

What is the best way to select which GSD commits to roll back?

The best way to select GSD commits for rollback is using the interactive mode. This feature displays recent GSD commits, allowing you to interactively choose specific phases, plans, or individual commits to revert safely.

Does this commit reversion tool work without Git installed?

No, this commit reversion tool does not work without Git. Git is a strict dependency for executing the rollback commands and interacting with the repository history during the GSD workflow reversion process.