What problem does it solve? When a GPD plan, execution, or verification step produces incorrect results, manually rolling back the associated git commit risks losing work or corrupting state tracking. This Skill performs a controlled, reversible rollback of the last GPD-related commit. ## Core Features & Use Cases - Safe Commit Revert: Identifies the last GPD-scoped commit (docs(gpd):, fix(gpd):, feat(gpd):, chore(gpd):, phase-NN scopes) and reverts it via git revert instead of destructive resets. - Safety Checkpoint Tag: Creates a timestamped gpd-checkpoint tag before reverting so the undo operation itself can be reversed with git reset --hard. - State Synchronization: Detects when the reverted commit modified .gpd/STATE.md and rolls back state tracking via the GPD CLI so STATE.md and state.json stay aligned. - Use Case: After a phase execution commit introduced wrong research output, run the undo workflow to preview the impact, confirm, checkpoint, revert, and restore state tracking in one guided flow. ## Quick Start Ask the assistant to undo the last GPD operation, optionally with the --dry-run flag to preview the commit and affected files before confirming the revert.