Agent skill
deploy-to-production
Production deployment procedures with rollback plans, health checks, and verification steps. Use when deploying to production, planning rollback strategies, or verifying production health after deployment.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/deploy-to-production-avav25-ai-assets
SKILL.md
Deploy to Production
Production deployment skill providing rollback procedures, health check patterns, and verification checklists. Ensures safe, repeatable production deployments.
When to Use
- Deploying application updates to production
- Planning rollback strategies before deployment
- Verifying production health after deployment
- Investigating post-deployment issues
When NOT to Use
- Deploying to staging (use
/deploy-stagingworkflow) - Making infrastructure changes (use
/infra-changeworkflow) - Planning release version and changelog (use
/releaseworkflow)
Deployment Strategies
| Strategy | When to Use | Risk | Downtime |
|---|---|---|---|
| Rolling update | Standard deploys, stateless services | Low | Zero |
| Blue-Green | Critical services, instant rollback needed | Low | Zero |
| Canary | High-risk changes, gradual validation | Medium | Zero |
| Recreate | Stateful services, breaking schema changes | High | Brief |
Rolling Update (Default)
- Gradually replace old pods with new ones
- Health checks gate the rollout — unhealthy pods stop the rollout
- Configure
maxSurgeandmaxUnavailablefor rollout speed - Monitor error rates during rollout window
Canary Deployment
- Deploy new version to small subset (5–10% traffic)
- Monitor error rate, latency, and business metrics for 5–10 minutes
- If healthy → gradually increase traffic (25% → 50% → 100%)
- If degraded → route all traffic back to stable version
Blue-Green Deployment
- Deploy new version alongside current (green alongside blue)
- Run full smoke tests against green
- Switch traffic from blue to green
- Keep blue running for instant rollback (15–30 minutes)
- Decommission blue after confidence period
Pre-Deployment Checklist
- All tests pass on release branch
- Staging deployment verified
- Database migrations tested (forward and rollback)
- Feature flags configured
- Monitoring dashboards ready
- On-call team notified
- Rollback plan documented and tested
- Release notes prepared
Post-Deployment Verification
- Health endpoint returns 200
- Error rate ≤ pre-deploy baseline
- Latency P95 within SLO target
- No new error patterns in logs
- Key user journeys functional
- Database connections stable
- External integrations responding
- Alerts not firing
Integration
- Follows rules:
Agent(devops-engineer)(infrastructure),Agent(sre-engineer)(SLOs, monitoring) - Used by workflows:
/deploy-production,/deploy-staging - Companion resources:
rollback-procedure.md
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?