Agent skill
specswarm-rollback
Safely rollback failed features (DESTRUCTIVE). ALWAYS confirms on rollback/undo/revert/abort intent.
Install this agent skill to your Project
npx add-skill https://github.com/MartyBonacci/specswarm/tree/main/plugins/specswarm/skills/specswarm-rollback
SKILL.md
SpecSwarm Rollback
Provides natural language access to /specswarm:rollback command.
When to Invoke
Trigger this skill when the user mentions:
- Rolling back or reverting changes
- Undoing a feature or build
- Aborting a failed feature
- Cleaning up after a failed build
Examples:
- "Roll back the last feature"
- "Undo changes from the build"
- "Revert the feature branch"
- "Abort this feature"
- "Clean up the failed build"
Instructions
ALWAYS Confirm (Regardless of Confidence):
-
Detect that user wants to rollback/undo/revert
-
ALWAYS ask for confirmation using AskUserQuestion tool:
Question: "ROLLBACK CONFIRMATION - Destructive Operation"
Description: "This will revert your feature branch changes and clean up artifacts. This cannot be easily undone."
Options:
- Option 1 (label: "Yes, rollback"): "Rollback feature and clean up artifacts"
- Option 2 (label: "No, cancel"): "Cancel - keep current state"
-
If user selects Option 1, run:
/specswarm:rollback -
If user selects Option 2, acknowledge cancellation
Semantic Understanding
Rollback equivalents: rollback, roll back, undo, revert, abort, cancel, clean up, tear down, discard Target terms: feature, build, branch, changes, work
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
specswarm-build
Spec-driven feature development workflow. Triggers on build/create/add/implement/develop intent.
specswarm-modify
Modify features with impact analysis and compatibility checks. Triggers on modify/change/update/refactor intent.
specswarm-fix
Fix bugs with regression testing and auto-retry. Triggers on fix/debug/broken/error/not-working intent.
specswarm-release
Prepare releases with changelog, version bump, and tagging. Confirms on release/tag/publish/version intent.
specswarm-ship
Quality-gated merge to parent branch (DESTRUCTIVE). ALWAYS confirms on ship/deploy/merge/release intent.
specswarm-metrics
Show feature metrics and sprint analytics. Triggers on metrics/stats/analytics/how-did-we-do intent.
Didn't find tool you were looking for?