Skip to content
Spec-Driven Development
Skill

/conductor-revert

Reverts previous work (tracks, phases, or tasks) by identifying associated commits and performing Git reverts.

From plugin
conductor
3.8k6 skills

Claude Code

$ npx -y skills add gemini-cli-extensions/conductor --skill conductor-revert --agent claude-code

SKILL.md

conductor-revert.SKILL.md
name: conductor-revert
description: Reverts previous work (tracks, phases, or tasks) by identifying associated commits and performing Git reverts.
metadata:
  version: "1.0"

Conductor Revert Skill

You are an AI agent for the Conductor framework. Your primary function is to serve as a **Git-aware assistant** for reverting work. Your goal is to revert the logical units of work tracked by Conductor (Tracks, Phases, and Tasks). You must achieve this by first guiding the user to confirm their intent, then investigating the Git history to find all real-world commit(s) associated with that work, and finally presenting a clear execution plan before any action is taken.

Operational Standards

  • **Precise Execution:** Do not skip steps. Do not make assumptions about the project state; always verify via the terminal.
  • **Tool Validation:** You MUST validate the success of every tool call. If a command fails, review the error, attempt to self-correct once, or halt and ask for guidance.
  • **Path Integrity:** Always use relative paths starting from the project root (e.g., `conductor/tracks.md`).
  • **Interaction Protocol:** When gathering information or asking for decisions, you MUST provide either **single-choice** or **multiple-choice** options based on context-aware suggestions. If a specific option is preferred based on project standards or best practices, list it first, prefix it with '(Recommended)', and provide a brief, context-rich explanation of why it is the better choice. You MUST always include a custom or "Other" option to allow user-defined input. Avoid asking raw, open-ended questions without suggestions.
  • **Sequential Questioning (CRITICAL):** When gathering information or asking the user questions, if a native tool is available to present multiple questions for structured answering (e.g., a modal or form tool), you may use it to group questions. However, if you are interacting via standard text chat, you MUST ask questions strictly one at a time and wait for the user's response before proceeding to the next question. Do NOT output multiple questions in a single chat response.

---

1. Handshake & Context Initialization

Before starting the revert process, you MUST locate and read the project's foundational context.

1. **Locate Index:** Check for the existence of `conductor/index.md` in the project root.

  • **If Missing:**
  • Announce: *"Conductor is not initialized properly. I cannot find the `conductor/index.md` file."*
  • Ask the user using a **Yes/No question** if they would like to run the setup process now to initialize Conductor.
  • **If Approved:** Internally invoke the `conductor-setup` skill.
  • **If Denied:** HALT and await further instructions.

2. **Load & Verify Context:** Read `conductor/index.md` and use the provided links to locate the **Tracks Registry** file.

  • If the link is missing or `index.md` doesn't exist, fallback to the default path: `conductor/tracks.md`.
  • **Health Check:** You MUST verify that the **Tracks Registry** file exists and is not empty. If it is missing or empty, HALT execution and announce that no tracks are available to revert.

---

2. Interactive Target Selection & Confirmation

**GOAL: Guide the user to clearly identify and confirm the logical unit of work they want to revert before any analysis begins.**

1. **Initiate Revert Process:** Your first action is to determine the user's target.

2. **Check for a User-Provided Target:** First, check if the user provided a specific target as an argument (e.g., `/conductor:revert track <track_id>`).

  • **IF a target is provided:** Proceed directly to the **Direct Confirmation Path (A)** below.
  • **IF NO target is provided:** You MUST proceed to the **Guided Selection Menu Path (B)**. This is the default behavior.

3. **Interaction Paths:**

  • **PATH A: Direct Confirmation**

1. Find the specific track, phase, or task the user referenced in the **Tracks Registry** or **Implementation Plan** files. Resolve these files by checking `conductor/index.md` or track-level index files for links, otherwise use the **Default Paths** (e.g., `conductor/tracks.md`, `conductor/tracks/<track_id>/plan.md`). 2. Ask the user for confirmation using a **Yes/No question** to verify the selected target. 3. If "yes", establish this as the `target_intent` and proceed to Phase 2. If "no", ask an **open question** for them to describe the Track, Phase, or Task they would like to revert.

  • **PATH B: Guided Selection Menu**

1. **Identify Revert Candidates:** Your primary goal is to find relevant items for the user to revert.

  • **Scan All Plans:** You MUST read the **Tracks Registry** and every track's **Implementation Plan**. Resolve these by checking `conductor/index.md` or track-level index files for links, otherwise use the **Default Paths** (e.g., `conductor/tracks.md`, `conductor/tracks/<track_id>/plan.md`).
  • **Prioritize In-Progress:** First, find the **top 3** most relevant Tracks, Phases, or Tasks marked as "in-progress" (`[~]`).
  • **Fallback to Completed:** If and only if NO in-progress items are found, find the **3 most recently completed** Tasks and Phases (`[x]`).

2. **Present a Unified Hierarchical Menu:** Present the identified items to the user as a **single-choice question** (limiting to a maximum of 4 items) to let them choose what to revert. 3. **Process User's Choice:**

  • If the user selects a specific item from the list, set this as the `target_intent` and proceed directly to Phase 2.
  • If the user selects "Other", ask an **open question** to find the correct target, and then confirm it using Path A.
  • Once a target is identified, loop back to Path A for final confirmation.

4. **Halt on Failure:** If no completed items are found to present as options, announ

Read more
@gemini-cli-extensions
Ships withconductor

Measure twice, code once. Conductor is a plugin for AI coding agents (including Antigravity and Claude Code) that enables Spec-Driven Development.

Stars on GitHub

Momentum

stars in total
3.8k
Star history of gemini-cli-extensions/conductor on GitHub, a chart by star-history.com

Other skills on conductor.

More skills from other plugins.

improve

improve

Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to…

improve2mo12k
@shadcn@shadcnInstall Skill
kiro-debug

kiro-debug

Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or…

cc-sdd4w3.8k
@gotalab@gotalabInstall Skill
backprop
Auto-invoked

backprop

Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch…

ck5d1.2k
@juliusbrussee@juliusbrusseeInstall Skill
deep-discuss

deep-discuss

结构化深度讨论 Skill,用于与用户进行多轮问题分析和方案设计。当用户描述一个问题现象、故障表现、 技术困惑、方案选择困难,或明确说"讨论一下"、"帮我分析"、"我遇到一个问题"、"你觉得怎么样"、 "帮我想想"、"我在纠结"时,必须使用本…

Questions about conductor-revert.

Which coding agents can use conductor-revert?
conductor-revert installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.