gsd-undo

Revert GSD-related Git commits by phase or plan identifiers.

Updated May 21, 2026
One-click install
npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-undo-jedmamosto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-undo
Source: https://github.com/jedmamosto/m-and-ms/tree/main/.agents/skills/gsd-undo
Command: npx skills add https://github.com/jedmamosto/m-and-ms --skill gsd-undo-jedmamosto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents risky, manual rollback of GSD changes by guiding you through a safe git revert workflow with clear options, dependency checks, and a confirmation gate.

Core Features & Use Cases

  • Revert recent GSD activity: Select and roll back the last N GSD commits interactively from recent history.
  • Revert an entire phase: Roll back everything mapped to a given phase number using the phase manifest, with git log fallbacks to ensure coverage.
  • Revert a specific plan: Roll back all commits tied to an NN-MM plan identifier for targeted undo operations.
  • Safety guardrails: Performs dependency checks and requires explicit confirmation before executing changes.

Quick Start

Run gsd-undo in phase mode to roll back all commits for phase 12.

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?

To safely revert git commits from a specific phase, you can use a guided workflow that checks a phase manifest for dependencies and requires explicit confirmation before executing git revert actions. This prevents risky manual rollbacks during development.

Can I undo all commits tied to a specific plan identifier in git?

Yes, you can undo all commits tied to a specific plan identifier in git by targeting the NN-MM plan identifier. The system rolls back all associated commits for targeted undo operations while applying safety guardrails.

What is the best way to rollback recent git changes interactively?

The best way to rollback recent git changes interactively is by selecting and rolling back the last N commits from recent history. This method includes a review step and an explicit confirmation gate before performing the git revert actions.

Does reverting a completed git phase require dependency checks?

Yes, reverting a completed git phase requires dependency checks to ensure safe rollback. The workflow uses a phase manifest to verify dependencies and prompts an explicit confirmation gate before executing any git revert actions.

What happens if the phase manifest is missing when reverting git changes?

If the phase manifest is missing when reverting git changes, the workflow uses git log fallbacks to ensure full coverage. It still performs dependency checks and requires explicit confirmation before executing the git revert actions.