deployment-strategy-blue-green

Design blue-green deployment strategy with explicit cutover checks, rollback triggers, and state/data compatibility safeguards. Use when release risk requires fast rollback and environment-level switch control; do not use for canary-percentage experimentation policy design.

kentoshimizu/sw-agent-skills6 installsApache-2.0Synced Aug 22

Works with

Claude CodeCursorCodex CLIGitHub CopilotGemini CLI
---
name: deployment-strategy-blue-green
description: Design blue-green deployment strategy with explicit cutover checks, rollback triggers, and state/data compatibility safeguards. Use when release risk requires fast rollback and environment-level switch control; do not use for canary-percentage experimentation policy design.
license: Apache-2.0
---

# Deployment Strategy Blue Green

## Overview
Use this skill to design low-risk cutovers between two production environments with clear rollback paths.

## Scope Boundaries
- Use this skill when the task matches the trigger condition described in `description`.
- Do not use this skill when the primary task falls outside this skill's domain.

## Shared References
- Data/schema compatibility guidance:
  - `references/blue-green-data-compatibility.md`

## Templates And Assets
- Cutover runbook template:
  - `assets/blue-green-cutover-runbook-template.md`
- Readiness checklist:
  - `assets/blue-green-readiness-checklist.md`

## Inputs To Gather
- Service criticality and acceptable deployment interruption.
- Data/schema compatibility constraints between old/new versions.
- Traffic switching mechanism (LB, DNS, gateway, mesh).
- Health/SLO guardrails and rollback authority.

## Deliverables
- Blue-green rollout and cutover plan.
- Readiness checklist for green environment.
- Rollback trigger matrix and execution runbook.
- Post-cutover verification checklist.

## Quick Cutover Example
1. Deploy to green and run smoke + synthetic checks.
2. Mirror a small read-only validation traffic slice.
3. Switch 100% traffic at cutover window.
4. Rollback immediately if p95/error guardrails breach for N minutes.

## Quality Standard
- Green environment parity is validated before switch.
- Cutover decision uses explicit health/SLO criteria.
- Rollback path is operationally tested and time-bounded.
- Stateful compatibility risks are mitigated in advance.

## Workflow
1. Define cutover/rollback criteria and owners.
2. Validate environment parity and dependencies using `assets/blue-green-readiness-checklist.md`.
3. Execute pre-cutover verification in green and capture steps in `assets/blue-green-cutover-runbook-template.md`.
4. Perform controlled traffic switch.
5. Monitor guardrails and either stabilize or rollback.
6. Decommission blue only after stabilization window.

## Failure Conditions
- Stop when rollback cannot be executed within required recovery time.
- Stop when data/schema compatibility between blue/green is unresolved.
- Escalate when guardrails are missing for critical user paths.

More Deployment & CI/CD skills

azure-enterprise-infra-planner

microsoft/azure-skills

Architect and provision enterprise Azure infrastructure from workload descriptions. For cloud architects and platform engineers planning networking, identity, security, compliance, and multi-resource topologies with WAF alignment. Generates Bicep or Terraform directly (no azd). WHEN: 'plan Azure infrastructure', 'architect Azure landing zone', 'design hub-spoke network', 'plan multi-region DR topology', 'set up VNets firewalls and private endpoints', 'subscription-scope Bicep deployment', 'Azure Backup for VM workloads'. PREFER azure-prepare FOR app-centric workflows.

387.5k

azure-kubernetes-app-deploy

microsoft/azure-skills

Use when deploying an existing web application or API to an already-running Azure Kubernetes Service cluster. Detects the framework, generates a Dockerfile and Kubernetes manifests, validates against AKS Deployment Safeguards, and deploys with verification. WHEN: deploy app to AKS, deploy to existing AKS cluster, containerize app for Kubernetes, generate K8s manifests for Azure, set up CI/CD for AKS, my AKS deployment is failing safeguard checks, I have a Django/Express/Spring Boot app to run on AKS. DO NOT USE FOR: creating or provisioning an AKS cluster (use azure-kubernetes), assessing migration to AKS Automatic (use azure-kubernetes-automatic-readiness), or deploying to non-AKS targets like Web Apps, Container Apps, or Functions.

380.4k

finetuning

microsoft/azure-skills

Fine-tune models on Microsoft Foundry using SFT (supervised), DPO (preference), or RFT (reinforcement with graders). Covers dataset preparation, training job submission, deployment, and evaluation. USE FOR: fine-tune, SFT, DPO, RFT, training data, grader, distillation, fine-tuned model, training job, large file upload, calibrate grader, deploy fine-tuned model, evaluate fine-tuned model. DO NOT USE FOR: general model deployment without fine-tuning (use deploy-model), agent creation (use agents), prompt optimization without training (use prompt-optimizer).

323.2k

← All Deployment & CI/CD skills

Check your AI visibility

One URL in, a 0–100 score and the exact fixes out.

RUN THE CHECK

Browse all the tools

15 tools across six categories
13 of them never send your data anywhere

Free · No signup · No trial clock

SEE THE DIRECTORY