Saltar al contenido
Skillpedia
Programación general48 mil · #4233

conductor-revert

Qué hace

Esta herramienta te ayuda a deshacer cambios en tu código de forma ordenada. Te permite revertir partes concretas de tu trabajo, como una tarea, una fase o un proyecto entero, usando el historial de Git.

Cuándo usarla

  • ✓Cuando necesitas deshacer un cambio concreto sin estropear el historial.
  • ✓Si quieres devolver una parte del proyecto a un estado anterior.
  • ✓Para corregir un error deshaciendo los últimos cambios realizados.

Link de la skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/conductor-revert/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/conductor-revert/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Deshaz la tarea 2.3 del proyecto "auth_20250115".”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

La herramienta comprueba si el proyecto está listo para deshacer cambios, revisa el historial de Git para encontrar los cambios correctos y te pide confirmación antes de deshacerlos.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Revert Track

Revert changes by logical work unit with full git awareness. Supports reverting entire tracks, specific phases, or individual tasks.

Use this skill when

  • Working on revert track tasks or workflows
  • Needing guidance, best practices, or checklists for revert track

Do not use this skill when

  • The task is unrelated to revert track
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.

Pre-flight Checks

  1. Verify Conductor is initialized:

    • Check conductor/tracks.md exists
    • If missing: Display error and suggest running /conductor:setup first
  2. Verify git repository:

    • Run git status to confirm git repo

    • Check for uncommitted changes

    • If uncommitted changes exist:

      WARNING: Uncommitted changes detected
      
      Files with changes:
      {list of files}
      
      Options:
      1. Stash changes and continue
      2. Commit changes first
      3. Cancel revert
      
  3. Verify git is clean enough to revert:

    • No merge in progress
    • No rebase in progress
    • If issues found: Halt and explain resolution steps

Target Selection

If argument provided:

Parse the argument format:

Full track: {trackId}

  • Example: auth_20250115
  • Reverts all commits for the entire track

Specific phase: {trackId}:phase{N}

  • Example: auth_20250115:phase2
  • Reverts commits for phase N and all subsequent phases

Specific task: {trackId}:task{X.Y}

  • Example: auth_20250115:task2.3
  • Reverts commits for task X.Y only

If no argument:

Display guided selection menu:

What would you like to revert?

Currently In Progress:
1. [~] Task 2.3 in dashboard_20250112 (most recent)

Recently Completed:
2. [x] Task 2.2 in dashboard_20250112 (1 hour ago)
3. [x] Phase 1 in dashboard_20250112 (3 hours ago)
4. [x] Full track: auth_20250115 (yesterday)

Options:
5. Enter specific reference (track:phase or track:task)
6. Cancel

Select option:

Commit Discovery

For Task Revert

  1. Search git log for task-specific commits:

    git log --oneline --grep="{trackId}" --grep="Task {X.Y}" --all-match
    
  2. Also find the plan.md update commit:

    git log --oneline --grep="mark task {X.Y} complete" --grep="{trackId}" --all-match
    
  3. Collect all matching commit SHAs

For Phase Revert

  1. Determine task range for the phase by reading plan.md

  2. Search for all task commits in that phase:

    git log --oneline --grep="{trackId}" | grep -E "Task {N}\.[0-9]"
    
  3. Find phase verification commit if exists

  4. Find all plan.md update commits for phase tasks

  5. Collect all matching commit SHAs in chronological order

For Full Track Revert

  1. Find ALL commits mentioning the track:

    git log --oneline --grep="{trackId}"
    
  2. Find track creation commits:

    git log --oneline -- "conductor/tracks/{trackId}/"
    
  3. Collect all matching commit SHAs in chronological order

Execution Plan Display

Before any revert operations, display full plan:

================================================================================
                           REVERT EXECUTION PLAN
================================================================================

Target: {description of what's being reverted}

Commits to revert (in reverse chronological order):
  1. abc1234 - feat: add chart rendering (dashboard_20250112)
  2. def5678 - chore: mark task 2.3 complete (dashboard_20250112)
  3. ghi9012 - feat: add data hooks (dashboard_20250112)
  4. jkl3456 - chore: mark task 2.2 complete (dashboard_20250112)

Files that will be affected:
  - src/components/Dashboard.tsx (modified)
  - src/hooks/useData.ts (will be deleted - was created in these commits)
  - conductor/tracks/dashboard_20250112/plan.md (modified)

Plan updates:
  - Task 2.2: [x] -> [ ]
  - Task 2.3: [~] -> [ ]

================================================================================
                              !! WARNING !!
================================================================================

This operation will:
- Create {N} revert commits
- Modify {M} files
- Reset {P} tasks to pending status

This CANNOT be easily undone without manual intervention.


…
Preguntas frecuentes

¿Qué pasa si tengo cambios sin guardar en un commit?

La herramienta te avisa y te pregunta si quieres guardar esos cambios temporalmente (stash), guardarlos de forma permanente (commit) o cancelar la operación.

¿Qué son los "tracks", las "fases" y las "tareas"?

Son formas de organizar el trabajo. El "track" es el proyecto completo, la "fase" es una etapa más grande dentro del proyecto y la "tarea" es un trabajo más pequeño dentro de una fase.

¿Qué pasa si surge un conflicto al revertir?

La herramienta se detiene y te avisa del conflicto, mostrando qué archivos se han visto afectados. No intenta resolverlo automáticamente y te ofrece opciones para continuar o cancelar.

Detalles

Descripción original del autor

Git-aware undo by logical work unit (track, phase, or task)

repo: sickn33/agentic-awesome-skills

Popularidad

Estrellas en GitHub
48 mil
Posición en el ranking
#4233
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas