What problem does it solve?
Rollback provides a safe, auditable way to undo implementation work by mapping commits to plan tasks, showing exactly what will change, and requiring explicit confirmation before making any code modifications.
Core Features & Use Cases
- Commit-to-task mapping: Read the current plan and correlate commits to specific tasks so rollbacks target the right work.
- Flexible rollback scopes: Support full-phase rollbacks, selective task reverts, and single-commit undos with clear previews of affected files and dependencies.
- Safety and governance: Stash uncommitted changes, prefer git revert for shared branches, avoid force-pushes, and log the rollback in session artifacts; useful for undoing a mistaken feature, reverting API changes, or recovering from a bad deployment.
- Cross-repo and migration awareness: Highlight database migrations and cross-repository impacts and advise on down-migrations or coordinated rollbacks when needed.
Quick Start
Ask the rollback skill to preview and revert the last two implemented tasks for <task-name> on the current branch, showing commits, affected files, and required confirmations.