mcpField
D
deployment-strategy

deployment-strategy

github.com/oakossCloud & DevOps2091 installsUpdated 10w ago
Repository

About deployment-strategy

deployment-strategy is a skill for development and operations teams selecting deployment approaches and planning safe releases. It focuses on rollback, progressive delivery, blast-radius control, and promotion across environments.

Key features

  1. 01Blue-green, canary, and rolling deployments
  2. 02Rollback procedures and safety checks
  3. 03Health checks and readiness gates
  4. 04Feature flags and progressive delivery
  5. 05Multi-environment promotion workflows
  6. 06Expand-contract database migrations

Use cases

  1. 01Choose a strategy for a release
  2. 02Plan and verify rollback procedures
  3. 03Configure health checks and readiness gates
  4. 04Plan promotion from development through production

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/oakoss/agent-skills --skill deployment-strategy

After installing, type/deployment-strategyin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
deployment-patterns.md
environment-management.md
rollback-and-safety.md

Details

From the project README

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

Comments

Markdown supported