en un clic
Roll back a deployment to the previous stable version
npx skills add https://github.com/kaelen2026/ai-harness-template --skill rollbackCopiez et collez cette commande dans Claude Code pour installer le skill
Roll back a deployment to the previous stable version
npx skills add https://github.com/kaelen2026/ai-harness-template --skill rollbackCopiez et collez cette commande dans Claude Code pour installer le skill
Commit a verified task implementation to git
Implement the current in-progress task
Open a pull request for the current feature branch
Convert a PRD into a technical specification
Recover from a failed or blocked task
Deploy the current release to a target environment
| name | rollback |
| description | Roll back a deployment to the previous stable version |
$ARGUMENTS for the target environment and optional target version. If environment is empty, ask the user.docs/RELEASE.md for rollback stepsgit log --oneline -20 to review recent version historydeploy-history.json), read the last two entriesproduction and this is not auto-triggered by a smoke test failure → require the user to type yes to confirm.Print current and target versions:
Current version: <commit hash> - <commit message> (<timestamp>)
Rollback target: <commit hash> - <commit message> (<timestamp>)
Environment: <environment>
Confirm rollback? (yes/no)
yesFollow the rollback steps in docs/RELEASE.md exactly — do not skip any step.
[1/N] Running: <step description>
Result: ✓ success / ✗ failed
If any rollback step fails → stop immediately, go to Error Handling.
Same as in the release skill: poll the health check endpoint for up to 5 minutes.
Timeout → treat as rollback failure, go to Error Handling.
Re-run smoke tests against the rolled-back version (critical paths only, no recursive rollback trigger):
Success:
✅ Rollback complete: <environment>
Rolled back from: <old commit hash>
Rolled back to: <target commit hash>
Timestamp: <ISO timestamp>
Trigger: <manual / auto-triggered by smoke test>
Service status: healthy (smoke tests passed)
Recommended next steps:
1. Investigate why the original version failed
2. Fix and redeploy when ready
Failure:
❌ Rollback failed: <environment>
Failed step: <step description>
Error: <error details>
⚠️ Manual intervention required.
Access the deployment platform directly to restore service.
| Situation | Action |
|---|---|
| A rollback step fails | Stop execution, print full error output, clearly state "manual intervention required" — do not attempt further automated recovery |
| Smoke tests still fail after rollback | Print report, note "rolled-back version is also broken", do not trigger another rollback, wait for manual action |
docs/RELEASE.md has no rollback steps | Abort: "No rollback steps found in RELEASE.md. Please add them, or roll back manually via the deployment platform." |
| Cannot determine the previous version | List recent git tags and commits, ask the user to specify the target version manually |