revert

Revert Draft tasks, phases, or tracks with git-aware previews and state updates.

39|6|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/mayurpise/draft --skill revert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: revert
Source: https://github.com/mayurpise/draft/tree/main/skills/revert
Command: npx skills add https://github.com/mayurpise/draft --skill revert

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a safe, git-aware revert workflow for Draft projects, enabling you to undo work at the task, phase, or track level while maintaining a coherent history and consistent state.

Core Features & Use Cases

  • Targeted Reverts: Revert a single task, an entire phase, or a full track with preview and confirmation.
  • Preview First: Show commits, affected files, and Draft state changes before applying the revert.
  • State Synchronization: Automatically update plan.md and track metadata after a successful revert.

Quick Start

Identify the target to revert (Task, Phase, or Track) by name or description. Preview the revert to review commits and affected files. Confirm to apply the revert and update Draft state.

Frequently Asked Questions about revert

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

FAQPage Schema
How do I revert a Draft track or task while keeping git history intact?

Reverting a Draft track or task requires identifying the target, previewing the commits and affected files, then confirming execution. This process undoes work at the task, phase, or track level while preserving git change history and updating plan.md.

What is the best way to preview file changes before reverting a Draft phase?

Previewing file changes before reverting a Draft phase involves displaying affected commits, modified files, and planned Draft state updates. This review step ensures you see exactly what the revert modifies before confirming execution.

Can I undo an entire phase in a Draft workflow without breaking the git history?

Yes, you can undo an entire phase in a Draft workflow without breaking git history. The revert applies git-aware changes at the phase level and automatically updates plan.md and track metadata to maintain a coherent project state.

Does reverting a task automatically update plan.md and track metadata?

Yes, reverting a task automatically updates plan.md and track metadata. State synchronization occurs after a successful revert to ensure the Draft workflow reflects the undone work consistently across the codebase.

When should I avoid using a git-aware revert for Draft tracks?

You should avoid using a git-aware revert for Draft tracks if your codebase is not managed with Draft workflows, as the skill requires Draft state synchronization to properly identify targets and update plan.md after reverting changes.