conductor-revert
Annuler les modifications git par unité de travail logique
Safely undo git commits by track, phase, or task with full history preservation. This skill provides structured revert workflows with explicit confirmation and conflict detection.
Télécharger le ZIP du skill
Importer dans Claude
Allez dans Paramètres → Capacités → Skills → Importer un skill
Activez et commencez à utiliser
Tester
Utilisation de "conductor-revert". Revert task 2.3 in auth_20250115
Résultat attendu:
REVERT EXECUTION PLAN
Target: Task 2.3 in auth_20250115
Commits to revert (in reverse chronological order):
1. abc1234 - feat: add OAuth callback handler (auth_20250115)
2. def5678 - chore: mark task 2.3 complete (auth_20250115)
Files that will be affected:
- src/auth/oauth.ts (will be deleted)
- src/routes/callback.ts (will be deleted)
- conductor/tracks/auth_20250115/plan.md (modified)
Plan updates:
- Task 2.3: [~] -> [ ]
!! WARNING !!
This operation will:
- Create 2 revert commits
- Modify 3 files
- Reset 1 task to pending status
Type 'YES' to proceed, or anything else to cancel:
Utilisation de "conductor-revert". Revert phase 1 in dashboard_20250112
Résultat attendu:
REVERT EXECUTION PLAN
Target: Phase 1 in dashboard_20250112 (Tasks 1.1 through 1.4)
Commits to revert (in reverse chronological order):
1. ghi9012 - feat: add dashboard export (dashboard_20250112)
2. jkl3456 - chore: mark task 1.4 complete (dashboard_20250112)
3. mno7890 - feat: add chart filters (dashboard_20250112)
4. pqr1234 - chore: mark task 1.3 complete (dashboard_20250112)
5. stu5678 - feat: add data hooks (dashboard_20250112)
6. vwx9012 - chore: mark task 1.2 complete (dashboard_20250112)
7. yza3456 - feat: add chart rendering (dashboard_20250112)
8. bcd7890 - chore: mark task 1.1 complete (dashboard_20250112)
Type 'YES' to proceed, or anything else to cancel:
Audit de sécurité
SûrAll 59 static analysis findings are false positives. The detected 'external_commands' patterns are Markdown documentation examples, not executable code. The skill describes safe git revert operations with explicit safety rules forbidding dangerous commands like git reset --hard and git push --force. Requires explicit user confirmation before any changes.
Facteurs de risque
⚙️ Commandes externes (54)
Score de qualité
Ce que vous pouvez construire
Annuler une implémentation de fonctionnalité échouée
Annuler tous les commits pour une tâche spécifique qui a introduit des bugs ou ne répondait pas aux exigences
Restaurer un état de travail précédent
Annuler une phase entière de travail pour revenir à un état stable connu avant un refactoring majeur
Nettoyer le travail expérimental
Supprimer toutes les traces d'un track expérimental qui n'a pas été fusionné en production
Essayez ces prompts
Revert task 2.3 in the auth_20250115 track. Show me what commits will be affected and confirm before proceeding.
Revert phase 2 of the dashboard_20250112 track. I want to see the full plan with all affected files before confirming.
Help me revert some recent work. Show me the available tracks and tasks I can revert.
Revert the entire experiment_20250120 track. This experimental feature was not approved and needs to be fully removed from history.
Bonnes pratiques
- Toujours examiner le plan d'exécution complet avant de confirmer toute opération d'annulation
- Exécuter les tests après la fin de l'annulation pour vérifier que l'application fonctionne correctement
- Communiquer avec votre équipe avant d'annuler un travail partagé ou révisé
Éviter
- N'utilisez pas cette compétence pour cacher des erreurs aux membres de l'équipe - discutez des problèmes ouvertement
- Évitez d'annuler un travail sur lequel d'autres ont construit sans coordination
- Ne sautez pas l'étape de confirmation explicite - examinez toujours le plan d'abord