Aller au contenu
Skillpedia
Programmation générale48k · #4233

conductor-revert

Ce qu’il fait

Cet outil vous aide à annuler des modifications dans votre code de façon organisée. Il permet de revenir en arrière sur des parties précises de votre travail, comme une tâche, une phase ou un projet entier, en utilisant l'historique Git.

Quand l’utiliser

  • ✓Quand vous voulez annuler une modification précise sans perturber l'historique.
  • ✓Si vous souhaitez revenir à un état précédent d'une partie du projet.
  • ✓Pour corriger une erreur en annulant les dernières modifications effectuées.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/conductor-revert/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Annule la tâche 2.3 du projet « auth_20250115 ».”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'outil vérifie que votre projet est prêt pour l'annulation, examine l'historique Git pour trouver les bonnes modifications, puis vous demande votre confirmation avant de les annuler.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.


…
Questions fréquentes

Que se passe-t-il si j'ai des modifications non enregistrées ?

L'outil vous en avertit et vous demande si vous voulez mettre ces modifications de côté temporairement (stash), les enregistrer de façon permanente (commit) ou annuler l'opération.

Que sont les « tracks », les « phases » et les « tâches » ?

Ce sont des façons d'organiser le travail. Le « track » est l'ensemble du projet, la « phase » est une étape plus importante à l'intérieur du projet, et la « tâche » est un travail plus petit au sein d'une phase.

Et si un conflit survient pendant l'annulation ?

L'outil s'arrête et vous signale le conflit en indiquant quels fichiers sont concernés. Il ne tente pas de le résoudre automatiquement et vous propose de continuer ou d'annuler.

Détails

Description originale de l’auteur

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

repo: sickn33/agentic-awesome-skills

Popularité

Étoiles GitHub
48k
Position au classement
#4233
Licence
MIT
Mis à jour
15/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires