en un clic
Deploy the current release to a target environment
npx skills add https://github.com/kaelen2026/ai-harness-template --skill releaseCopiez et collez cette commande dans Claude Code pour installer le skill
Deploy the current release to a target environment
npx skills add https://github.com/kaelen2026/ai-harness-template --skill releaseCopiez 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
Roll back a deployment to the previous stable version
| name | release |
| description | Deploy the current release to a target environment |
$ARGUMENTS for the target environment (staging / production). Default to staging if empty.docs/RELEASE.md for the project's deployment proceduregit log --oneline -10 to confirm the current HEADgh run list --branch main --limit 5production:
yes to confirm." Abort on anything other than yes.success → abort: "CI is not passing. Fix it before deploying."Work through the checklist in .claude/hooks/pre-deploy.md:
Follow the deployment steps in docs/RELEASE.md exactly — do not skip any step.
Print progress for each step:
[1/N] Running: <step description>
Result: ✓ success / ✗ failed (<error summary>)
If any step fails → stop immediately, go to Error Handling. Do not continue to subsequent steps.
If the deployment is asynchronous (e.g. rolling container update), poll the health check endpoint for up to 5 minutes:
Waiting for service to be ready... (30s / 60s / 90s / ...)
Timeout → treat as deployment failure, go to Error Handling.
smoke-test skillrollback (production) or inform the user to decide (staging)✅ Deployment successful: <environment>
Version: <commit hash>
Timestamp: <ISO timestamp>
Smoke tests: N passed
[staging] Next: confirm functionality, then run /release production
[production] Next: monitor error rate for 15 minutes
| Situation | Action |
|---|---|
| A deployment step fails | Print the failed step and error, do not continue, ask the user to check CI/CD logs |
| Health check times out | Mark deployment failed, trigger rollback (production) or notify user (staging) |
| Smoke tests fail | Trigger rollback automatically (production); print failure details and wait for user decision (staging) |
docs/RELEASE.md has no steps for the target environment | Abort: "No deployment steps found for <environment>. Please update RELEASE.md." |