In short.
Blue-Green & Deployment Strategies is an assistant skill for developers and DevOps teams planning releases, but its examples need correction and environment-specific validation. The file explains blue-green, canary and rolling deployment through configuration examples, shell scripts and health endpoints. Its Kubernetes blue-green example switches a Service between two application versions; other examples cover AWS CodeDeploy, Istio traffic splitting and Argo Rollouts with Prometheus analysis. A concrete inconsistency matters: the switching script requires a health response of exactly "ok", while the included Flask endpoint returns JSON. The automated rollback script also uses a success-rate query without an application filter. The material offers useful implementation starting points, but it does not establish zero downtime, reliable rollback or compatibility with particular platform versions. Nothing was executed, and operational behavior remains unassessed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes devops/release/blue-green-deploy/SKILL.md, the only selected-folder file listed in the manifest, and the repository-level LICENSE at revision 0365f57a079b1332f95cf26e31dd2d5332a8399f. Other repository folders, related skills, external documentation and dependencies are excluded. Embedded scripts and configurations were read as text. Installation, assistant loading, API compatibility, deployment behavior, downtime, monitoring accuracy, rollback reliability and operating costs were not tested or measured.
The overview
Identity
The resource is devops/release/blue-green-deploy/SKILL.md in BagelHole/DevOps-Security-Agent-Skills. Its metadata names the skill blue-green-deploy, declares version 1.0 and lists devops-skills as author. It supplies instructions and examples an assistant can use when helping with deployment strategies.
The original folder is [https://github.com/BagelHole/DevOps-Security-Agent-Skills/tree/main/devops/release/blue-green-deploy]. The available source is fixed to revision 0365f57a079b1332f95cf26e31dd2d5332a8399f. Assistant installation instructions and host compatibility are not specified.
Assessment
The strongest feature is the connection between deployment concepts and concrete configuration: readers can follow a Service selector change, a weighted traffic split or a rolling update. Diagrams and a comparison table make the basic patterns approachable.
Use it as material for an engineer to adapt and review. Some examples are internally inconsistent, and several integrations contain placeholders or omit supporting configuration. The zero-downtime description expresses an intended outcome; the source supplies no execution results, availability measurements or demonstrated recovery.
Users
The skill suits developers, platform engineers and DevOps teams choosing release patterns or drafting deployment configuration with an assistant. Experienced Kubernetes users can inspect the labels, probes, rollout settings and metrics directly.
Beginners can learn the distinction between swapping complete environments, exposing a new version gradually and replacing application instances incrementally. Applying the examples requires additional knowledge of cluster access, networking and application health. The file does not provide a complete introduction to those dependencies.
Capabilities
The file includes Kubernetes blue-green Deployments and a Service, a shell script for switching that Service, an AWS ECS CodeDeploy application specification, Istio routing rules, an Argo Rollouts example, Kubernetes rolling-update settings and rollout commands.
Supporting examples distinguish process health from dependency readiness, calculate HTTP success rates with Prometheus, trigger a Deployment rollback and outline manual recovery tasks. Connection draining, graceful shutdown and circuit breakers are recommendations without implementations in the selected file. The skill itself does not operate a deployment controller.
Using it
Requirements
The stated prerequisites are a load balancer or ingress controller, container orchestration or a cloud platform, a CI/CD pipeline and health endpoints. Requirements then depend on the example: Istio routing needs its relevant resources, Argo Rollouts analysis needs its controller and Prometheus, and the ECS specification references CodeDeploy hooks implemented as Lambda functions.
The shell examples use Bash, kubectl and curl; automated rollback also uses jq and bc. The switching script runs curl inside the application container. The Python health example imports Flask, psycopg2 and redis, and references DATABASE_URL and REDIS_URL without defining them. Required versions, permissions and assistant model requirements are unknown.
Mechanism
In the blue-green example, two Deployments carry different version labels. A Service initially selects blue, and the switch script changes its version selector to green after checking rollout status and a health response. Reversing the selector would direct traffic back to blue while that environment remains available.
The Istio example sends ordinary requests through a 90/10 stable-to-canary split and routes requests with x-canary set to true directly to the canary subset. The rolling example permits one extra Pod and zero unavailable Pods. The Argo example requests progressively larger weights and uses a 0.95 HTTP success-rate threshold; its snippet does not configure a traffic-routing integration or isolate canary-version metrics.
Setup
Adapt the examples to the application's images, labels, ports, namespace, health responses and monitoring data. The Kubernetes examples use the placeholder application myapp. The ECS example also needs real task-definition identifiers and hook functions. The file does not include an end-to-end installer or a complete pipeline.
Before adapting the switch script, make its expected health response agree with the application endpoint, validate the requested environment and make failed commands stop the switch. Configure the required platform components for the chosen strategy and verify their API compatibility separately; supported version ranges are not documented.
Example
In an illustrative Kubernetes release, myapp-blue contains three replicas of myapp:v1.0.0 and myapp-green contains three replicas of myapp:v2.0.0. The myapp Service selects app=myapp and version=blue. Changing the version selector to green directs the Service toward the new environment.
An engineer adapting this example would first verify candidate readiness and use a health check that matches the application's response. If blue remains available and compatible with shared data, changing the selector back provides the corresponding traffic-switch rollback. This scenario explains the configuration; it was not executed, and connection handling or downtime was not measured.
Assessment & evidence
Limitations
The switch script requires /health to return exactly "ok", but the included Flask /health endpoint returns a JSON object containing status=healthy. Those examples would disagree if combined unchanged. The blue-green readiness probes also use /health, while database and Redis checks appear only in /ready.
The script has no explicit stop on a failed rollout-status command and does not validate the requested environment. Automated rollback queries HTTP metrics without a service filter and does not explicitly handle missing or invalid results, so unrelated traffic or unavailable metrics can undermine its decision.
The file does not implement database migration compatibility, connection draining, session handling or a coordinated rollback of shared state. The Deployment undo script does not restore the blue-green Service selector. These gaps limit what the examples establish about production recovery.
Reasoning
The material helps connect a release decision to the mechanism that implements it. Keeping two environments makes a Service selector reversal straightforward, but requires concurrent capacity and compatible shared state. Weighted routing exposes a candidate to a portion of requests, making the choice and scope of health metrics important.
The rolling configuration keeps declared unavailability at zero while allowing an extra Pod. That setting alone does not demonstrate uninterrupted service: the examples still depend on meaningful readiness checks and application behavior during replacement. No measured comparison establishes which strategy is best for a particular workload.
Alternatives
Within the file, the main choices are a Kubernetes Service selector swap, Istio weighted routing, Argo Rollouts, Kubernetes rolling updates and an AWS ECS CodeDeploy specification. Each addresses a different platform or release mechanism; the source does not demonstrate equivalent completeness across them. Recreate deployment appears only in the comparison table.
The file also links to kubernetes-ops, argocd-gitops and feature-flags skills. Their contents are absent from the available evidence, so their instructions, compatibility and suitability are unknown.
Evidence
The available material consists of the complete selected SKILL.md and the repository-level LICENSE at revision 0365f57a079b1332f95cf26e31dd2d5332a8399f. The skill source is [https://raw.githubusercontent.com/BagelHole/DevOps-Security-Agent-Skills/0365f57a079b1332f95cf26e31dd2d5332a8399f/devops/release/blue-green-deploy/SKILL.md]. The licence is [https://raw.githubusercontent.com/BagelHole/DevOps-Security-Agent-Skills/0365f57a079b1332f95cf26e31dd2d5332a8399f/LICENSE].
The manifest identifies one file within the selected skill folder. No separate runnable scripts, validation output, deployment logs, benchmarks or live application configuration are included. Conclusions about inconsistencies come from reading the examples; nothing was executed.
Access & freshness
Costs
The MIT licence grants permission without a licence fee. Infrastructure, monitoring, assistant usage and engineering costs are unknown; no provider prices or operating-cost measurements are supplied.
Capacity needs vary by strategy. The blue-green example defines three replicas in each environment, giving six configured replicas while both coexist. The rolling example permits one additional Pod above its five desired replicas. The overview's resource estimates are general guidance and do not establish a budget for a particular workload.
Rights
The skill metadata declares MIT. The repository licence identifies copyright © 2026 Toby Miller and permits use, copying, modification, publication, distribution, sublicensing and sale.
Copies or substantial portions must retain the copyright and permission notices. The licence supplies the software without warranty and disclaims liability. These permissions support redistribution of the captured skill with its accompanying notice; they do not establish rights for external dependencies or linked resources.
Freshness
The source snapshot was captured on 17 November 2026 at 10:34:41.599 UTC. The skill declares version 1.0, and the licence carries a 2026 copyright year. These details do not establish when the deployment examples were last validated.
The examples include networking.istio.io/v1beta1 and argoproj.io/v1alpha1 resource declarations. Compatibility with installed controllers and current platform releases is unknown. Changes after the pinned source revision are outside this report.
Actions
Before operational use, align the health-check response, use dependency readiness where appropriate, stop switching after failed commands and validate the target environment. Scope monitoring to the intended application and candidate version, and define behavior for missing metrics.
Replace placeholders and validate the chosen strategy in a separate environment, including failed deployment, unavailable metrics and recovery. Check shared-data compatibility, graceful shutdown and connection draining. For blue-green recovery, explicitly verify the Service selector reversal. These are recommended next steps; their outcomes remain unknown.
