gsd-undo

Revert GSD-related Git commits by phase, plan range, or recent count.

1|Updated May 24, 2026
One-click install
npx skills add https://github.com/tinner-deinno/innova-skills-lib --skill gsd-undo-tinner-deinno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gsd-undo
Source: https://github.com/tinner-deinno/innova-skills-lib/tree/main/core/gsd/gsd-undo
Command: npx skills add https://github.com/tinner-deinno/innova-skills-lib --skill gsd-undo-tinner-deinno

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It prevents risky, manual rollbacks by providing a controlled way to revert Git commits for a specific GSD phase or plan, with dependency checks and a confirmation gate before actions run.

Core Features & Use Cases

  • Mode-based safe revert: Supports reverting by recent GSD commits (--last N), by entire phase (--phase NN), or by plan range (--plan NN-MM).
  • Phase/plan awareness: Uses a phase manifest and Git log fallback to determine exactly which commits belong to the requested scope.
  • Dependency checks + confirmation gate: Validates dependencies prior to execution to reduce the chance of breaking downstream work, then requires explicit user confirmation.

Quick Start

Ask the assistant to revert the last 10 GSD commits by running: gsd-undo --last 10

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 for a specific release phase?

You can revert Git commits for a specific phase by using manifest-backed commit resolution to identify the exact scope, running dependency checks to prevent breaking downstream work, and confirming the action through an explicit gate before execution.

What is the best way to undo recent Git commits without breaking dependencies?

Undoing recent Git commits safely requires a controlled revert process that validates dependencies prior to execution and enforces an explicit user confirmation gate before applying any rollback changes.

Can I revert a specific plan range of commits in Git?

Yes, you can revert a specific plan range of commits by specifying the range scope, which uses Git log fallback and phase manifest resolution to determine exactly which commits belong to the requested range for rollback.

Does manual Git revert check for downstream dependency conflicts?

Manual Git revert does not check for downstream dependency conflicts, but a controlled rollback process validates dependencies prior to execution to reduce the chance of breaking downstream work before requiring explicit user confirmation.

When should I avoid using a manual Git rollback?

You should avoid a manual Git rollback when undoing work by recent commits, an entire phase, or a specific plan range, because manual reverts lack the phase manifest resolution and dependency checks needed to prevent breaking downstream work.