Handle deployment workflows with pre-flight checks and rollback awareness
Manages deployment workflows with safety checks and best practices.
Invoke this skill when:
/deploy commandGit Status
Tests
Dependencies
Find deployment method:
script/deploy or similarMakefile for deploy targetpackage.json for deploy scriptExecute with confirmation:
Verification
Rollback Plan
git push heroku main
heroku logs --tail
docker build -t app:latest .
docker push registry/app:latest
kubectl rollout restart deployment/app
vercel --prod
# or
netlify deploy --prod
ssh user@server 'cd /app && git pull && restart-service'
If deployment fails:
git revert <commit>
# or
git reset --hard <previous-good-commit>
git push --force # only if absolutely necessary
## Deployment Checklist
- [ ] Tests passing
- [ ] No uncommitted changes
- [ ] Branch up-to-date
- [ ] Dependencies secure
- [ ] Deployment method identified
- [ ] Target environment confirmed
- [ ] Rollback plan documented
- [ ] Health checks defined
- [ ] Monitoring ready