deployment-strategy

Deployment strategy patterns for zero-downtime releases. Covers blue-green, canary, rolling, and recreate strategies with rollback procedures, health checks, feature flags, progressive delivery, and environment promotion workflows. Use when choosing a deployment strategy, implementing rollback procedures, configuring health checks, setting up environment promotion pipelines, planning progressive delivery with feature flags, or reducing blast radius during releases.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "deployment-strategy" with this command: npx skills add oakoss/agent-skills

Deployment Strategy

Overview

Covers deployment strategy selection, rollback safety, and progressive delivery patterns. Focuses on zero-downtime release techniques, blast radius management, and environment promotion workflows from development through production.

When to use: Choosing between blue-green, canary, or rolling deployments, implementing rollback procedures, configuring health checks and readiness gates, planning environment promotion workflows, integrating feature flags for progressive delivery.

When NOT to use: CI/CD pipeline mechanics and GitHub Actions workflows (use ci-cd-architecture skill), infrastructure provisioning and cloud platform selection (use ci-cd-architecture skill), application architecture decisions (use framework-specific skills).

Quick Reference

NeedStrategy
Instant rollbackBlue-green (swap traffic back to previous environment)
Gradual risk validationCanary (route 1-5% traffic, monitor, then expand)
Default Kubernetes updatesRolling (replace pods incrementally with maxSurge/maxUnavail)
Full environment replaceRecreate (stop all old, start all new; accepts brief downtime)
Feature-level controlFeature flags (decouple deploy from release)
Database schema changesExpand-contract migration (additive first, remove later)
Multi-environment promotiondev -> staging -> production with gates between each
Blast radius reductionCanary + feature flags + automated rollback triggers
Health verificationLiveness, readiness, and startup probes at infrastructure level
Rollback without redeployFeature flags to disable problematic code paths

Common Mistakes

MistakeCorrect Pattern
No rollback plan before deployingDefine rollback procedure and verify it works before every production release
Destructive database migrations alongside app deployUse expand-contract: add new columns/tables first, migrate data, remove old later
Canary without automated health monitoringSet error rate and latency thresholds that auto-halt rollout when breached
Blue-green with shared mutable databaseUse backward-compatible schema changes so both versions work against the same database
Feature flags without cleanup lifecycleAssign an owner and removal date to every flag; treat stale flags as tech debt
Skipping staging and deploying directly to productionPromote through environments with automated gates between each stage
Rolling deploy without readiness probesConfigure readiness probes so traffic routes only to healthy instances
Same environment config across all stagesUse environment-specific configuration with secrets management per environment
Manual rollback procedures in incident responseAutomate rollback triggers based on error rate, latency, and health check thresholds
Testing only happy paths before releaseInclude failure scenario testing: rollback drills, chaos testing, degraded mode testing

Delegation

  • Audit deployment safety of existing infrastructure: Use Explore agent to review deployment configs, health check definitions, and rollback procedures
  • Implement a specific deployment strategy: Use Task agent to configure blue-green, canary, or rolling deployment for a target platform
  • Plan migration from one deployment strategy to another: Use Plan agent to evaluate current strategy, define migration steps, and identify risks

If the ci-cd-architecture skill is available, delegate CI/CD pipeline setup and GitHub Actions workflow configuration to it. Otherwise, recommend: npx skills add oakoss/agent-skills --skill ci-cd-architecture

References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

playwright

No summary provided by upstream source.

Repository SourceNeeds Review
100-oakoss
Automation

ui-ux-polish

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

tanstack-form

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review