gsd-undo

Revert GSD phase or plan commits with dependency checks and confirmation.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/coco-research/coco --skill gsd-undo-coco-research
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-undo
Source: https://github.com/coco-research/coco/tree/main/systems/gsd/skills/gsd-undo
Command: npx skills add https://github.com/coco-research/coco --skill gsd-undo-coco-research

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you safely roll back GSD work without breaking related changes, by identifying the right commits and checking dependencies before any revert happens.

Core Features & Use Cases

  • Phase rollback: Revert every commit tied to a specific GSD phase using the phase manifest, with git log fallback when the manifest is incomplete.
  • Plan rollback: Undo all commits for a single plan while preserving safety through dependency checks and an explicit confirmation gate.
  • Recent-commit selection: Review recent GSD commits interactively before choosing what to revert, which is useful when only part of the work should be removed.

Quick Start

Use the gsd-undo skill to safely revert the GSD phase or plan that I specify.

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 from a specific development phase without breaking dependencies?

To safely revert git commits from a specific phase, this skill performs dependency checks and requires explicit confirmation before executing a rollback. It uses a phase manifest lookup with a git log fallback to identify the correct commits.

What is the best way to undo an entire plan's commits in version control while preserving unrelated changes?

Undoing an entire plan's commits requires a plan-specific rollback that validates dependencies and prompts an explicit confirmation gate. This ensures only the targeted plan commits are reverted while preserving unrelated work.

Can I interactively select and revert recent commits if the phase manifest is incomplete?

Yes, you can interactively review recent commits to select what to revert. When the phase manifest is incomplete, the skill automatically falls back to parsing the git log to locate the relevant commits for rollback.

Does the rollback process require a manual confirmation before applying the git revert?

Yes, the rollback process requires an explicit confirmation gate before applying any git revert. This validation step ensures you review the identified commits and dependency checks before execution.

When should I use a phase-based rollback instead of reverting individual recent commits?

Use a phase-based rollback when you need to revert every commit tied to a specific development phase, and use recent-commit selection when only part of the work should be removed interactively.