revert

Reverts Git commits at track, phase, or task levels with confirmation gates.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill revert-madappgang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: revert
Source: https://github.com/MadAppGang/magus/tree/main/plugins/conductor/skills/revert
Command: npx skills add https://github.com/MadAppGang/magus --skill revert-madappgang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a safe and structured way to undo development work at a granular level (track, phase, or task) within a Git repository, ensuring project consistency and preserving history.

Core Features & Use Cases

  • Granular Reversion: Revert commits associated with specific tasks, phases, or entire tracks.
  • Impact Analysis: Clearly shows which commits, files, and status changes will be affected before execution.
  • Confirmation Gates: Requires explicit user approval before performing any revert actions.
  • State Validation: Verifies plan.md and metadata.json consistency after reverting.
  • Use Case: You've completed a task, but a later change revealed a fundamental flaw. Use this Skill to safely undo just that task's commits without affecting other work in the current phase.

Quick Start

Use the revert skill to undo task 2.3.

Frequently Asked Questions about revert

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

FAQPage Schema
How do I undo a specific task in Git without affecting other commits in my current phase?

To undo a specific task in Git safely, this Skill performs granular logical reversion at the task, phase, or track level. It analyzes your Git history and reverts only the commits associated with that specific task, preserving the rest of your current work.

Can I see which files and commits will be affected before performing a Git revert?

Yes, before performing a Git revert, this Skill provides impact analysis by showing exactly which commits, files, and status changes will be affected. It requires explicit approval at confirmation gates before executing any reversion actions.

How does a Git-aware logical undo maintain project consistency after reverting commits?

A Git-aware logical undo maintains project consistency by validating and updating project status files like plan.md and metadata.json after reverting. This ensures your project tracking metadata accurately reflects the current repository state post-reversion.

Does this Git rollback workflow support hard resets or only safe revert commits?

This Git rollback workflow defaults to creating safe revert commits to preserve history, but it can optionally perform hard resets upon explicit user request. You must provide direct approval to trigger destructive hard reset operations.