gpd-undo

Identify the last GPD-related commit and revert it with a safety checkpoint.

Updated Mar 15, 2026
One-click install
npx skills add https://github.com/MichaelsEngineering/get-physics-done-test --skill gpd-undo-michaelsengineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpd-undo
Source: https://github.com/MichaelsEngineering/get-physics-done-test/tree/main/.agents/skills/gpd-undo
Command: npx skills add https://github.com/MichaelsEngineering/get-physics-done-test --skill gpd-undo-michaelsengineering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely rollback the last GPD operation by reverting the most recent commit while creating a safety checkpoint that preserves reversibility, ensuring research workflows can undo mistakes without losing state.

Core Features & Use Cases

  • Safe identification and rollback of the last GPD-related commit.
  • Automatic safety checkpoint tagging before revert to enable reversal if needed.
  • Clear conflict handling guidance, state tracking updates, and user-confirmation prompts for controlled undo operations.
  • Use Case: A researcher needs to revert an experimental plan or execution that produced incorrect results without destabilizing the repository.

Quick Start

Run the undo workflow to revert the last GPD commit with a safety checkpoint.

Frequently Asked Questions about gpd-undo

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

FAQPage Schema
How do I rollback the last GPD commit safely in a local Git repository?

The safe rollback workflow detects the last GPD-related commit in your local repository, creates a checkpoint tag, and executes a revert while prompting for user confirmation to ensure the operation is reversible.

What is a GPD safety checkpoint and how does it protect my research state?

A GPD safety checkpoint is an automatic tag created before a revert operation, preserving your repository state so you can reverse the undo action if it causes unexpected conflicts or state-management issues.

Does the GPD undo workflow work on merge commits?

No, the GPD undo workflow includes non-merge guardrails to ensure safe state management, meaning it specifically blocks the revert process if the latest GPD-related commit is a merge commit.

How do I handle state tracking updates after reverting a GPD operation?

After reverting a GPD operation, the workflow provides optional STATE.md updates to ensure your state tracking file accurately reflects the rolled-back repository state without requiring manual file editing.

Can I undo an experimental plan execution in Git without destabilizing my repository?

Yes, you can undo an experimental plan execution by reverting the last GPD commit, which applies a safe revert while creating a checkpoint to prevent repository destabilization and data loss.