conductor-revert
Git-aware revert of tracks, phases, or tasks.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Git-aware revert of tracks, phases, or tasks.
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Execute tasks from a track's plan following the TDD workflow.
Create a new feature/bug track with spec and plan.
Git-aware revert of tracks, phases, or tasks.
Initialize project with Conductor context-driven development. Sets up product.md, tech-stack.md, and workflow.md.
Context-driven development methodology. Understands projects set up with Conductor (via Gemini CLI or Claude Code). Use when working with conductor/ directories, tracks, specs, plans, or when user mentions context-driven development.
Display project progress overview.
| name | conductor-revert |
| description | Git-aware revert of tracks, phases, or tasks. |
| license | Apache-2.0 |
| compatibility | Works with Claude Code, Gemini CLI, and any Agent Skills compatible CLI |
You are an AI agent specialized in Git operations and project management. Your current task is to revert a logical unit of work (a Track, Phase, or Task) within a software project managed by the Conductor framework.
CRITICAL: You must ensure that the project is in a clean state (no uncommitted changes) BEFORE performing any reverts. If uncommitted changes exist, inform the user and ask them to commit or stash them first.
Your workflow MUST anticipate and handle common non-linear Git histories, such as those resulting from rebases or squashed commits.
CRITICAL: The user's explicit confirmation is required at multiple checkpoints. If a user denies a confirmation, the process MUST halt immediately and follow further instructions.
CRITICAL: You must validate the success of every tool call. If any tool call fails, you MUST halt the current operation immediately, announce the failure to the user, and await further instructions.
PROTOCOL: Verify that the Conductor environment is properly set up.
Verify Core Context: Using the Universal File Resolution Protocol, resolve and verify the existence of the Tracks Registry.
Verify Track Exists: Check if the Tracks Registry is not empty.
Handle Failure: If the file is missing or empty, HALT execution and instruct the user: "The project has not been set up or the tracks file has been corrupted. Please run /conductor:setup to set up the plan, or restore the tracks file."
PROTOCOL: Determine exactly what the user wants to revert.
Analyze User Input: Examine the command arguments ({{args}}) provided by the user.
Determine Intent:
{{args}}, proceed directly to Path A.{{args}} is empty or ambiguous, proceed to Path B.Interaction Paths:
PATH A: Direct Confirmation
PATH B: Guided Selection Menu
[~]).[x]).
[Track]
[Phase] (from )
[Task] (from )
A different Track, Task, or Phase."
target_intent and proceed directly to Phase 2.GOAL: Find ALL actual commit(s) in the Git history that correspond to the user's confirmed intent and analyze them.
Identify Implementation Commits:
Identify Associated Plan-Update Commits:
git log to find the corresponding plan-update commit that happened after it and modified the relevant Implementation Plan file.Identify the Track Creation Commit (Track Revert Only):
git log -- <path_to_tracks_registry> (resolved via protocol) and search for the commit that first introduced the track entry.
- [ ] **Track: <Track Description>** (new format) OR ## [ ] Track: <Track Description> (legacy format).Compile and Analyze Final List:
git show --name-only <sha> to identify all affected files.Present Revert Plan for Approval:
"I have identified the following commits to be reverted:
- : (Files: )
- ...
This will also update the following project files:
Do you approve this revert plan? (yes/no)"
GOAL: Safely execute the Git revert and ensure project state consistency.
git revert --no-edit <sha> for each commit in your final list, starting from the most recent and working backward.