/devops-skills:deployment-strategiesfrom devops-skills
Chooses and implements deployment techniques (blue-green, canary, rolling, shadow) based on blast radius, plus rollback plans. Use for zero-downtime deploys, risky rollouts, or DB migrations alongside code deploys.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A deployment strategy is really a question of how much information you buy before you're fully committed, and how expensive backing out is if that information is bad. Rolling deploys buy almost nothing (all pods eventually run the new version, fast) but are cheap; canaries buy a lot (real traffic against a small blast radius) at the cost of complexity; blue-green buys instant rollback at the cost of running double infrastructure. Pick based on the blast radius of being wrong, not on what's trendy.
The deploy itself is rarely the risky part — not having a tested way back out is.
Every deployment strategy is a trade between how much you learn before full exposure and how fast and cheaply you can undo it if you learn something bad.
Rolling updates are the right default for most internal services and low-risk changes — Kubernetes does this natively, it's cheap, and a bad version only affects a fraction of traffic briefly before it's caught by a readiness probe. Reach for canary or blue-green when the cost of a bad version reaching real users is high (payment paths, anything customer-facing at scale) or when the change touches something readiness probes can't catch, like subtle data corruption or latency regressions.
Done when: the blast radius is written down as a number — users or percent of traffic exposed before the first health gate — and that number is what the rollout actually enforces.
A rollback plan that has never been executed is a guess. If "roll back" means "redeploy the
previous artifact," verify that artifact is still available (see artifact-management) and that
redeploying it actually restores the previous behavior — not just the previous code, but
compatibility with whatever state (DB schema, message formats, feature flags) the system is
currently in. Practice rollback on a low-stakes deploy occasionally so the first time it's used
under pressure isn't the first time it's used at all.
# the two questions that matter before any deploy ships:
# 1. what's the exact command/pipeline job to roll back?
# 2. how long does rollback take, end to end, measured — not estimated?
Done when: someone who did not write the deploy can execute the rollback from the runbook alone, and it has been timed at least once.
Deploying new code and exposing it to users are different actions, and collapsing them removes
your safety margin. A canary or blue-green switch is still a full release the instant it takes
traffic; wrapping the risky code path in a feature flag lets you deploy fully, verify health with
zero users on the new path, then ramp exposure independently of the deploy. This is the sharper
tool for anything where "50% of pods have the bug" (rolling) is still too much exposure. See
feature-flags for flag mechanics and cleanup discipline.
Done when: for any deploy marked risky, there's a way to reduce user exposure to zero without also reverting the deploy.
The single most common cause of a "successful" rollback that still causes an outage is a database migration that isn't backward compatible — the old code can't run against the new schema. Every schema change during a rolling or canary deploy must work for both versions simultaneously, because for some window, both are running. Expand/contract is the pattern: add the new column/table first (deploy N), migrate reads/writes to it (deploy N+1), only then drop the old one (deploy N+2) — never combine "add" and "remove" in the same release.
Done when: the previous code version, if rolled back to, runs correctly against the current database state.
A canary that's "up" but silently slower, erroring on a rare code path, or corrupting a fraction
of writes will pass a naive health check and still cause damage. Pick metrics specific to the
change being shipped (error rate on the affected endpoint, p99 latency for the affected path, a
business metric if the change touches revenue logic) rather than generic infra metrics alone, and
automate the canary's promote/abort decision on those metrics wherever the strategy supports it.
See metrics-and-monitoring for building the underlying signal.
Done when: the canary or rollout stage has an automated abort condition, not just a person watching a dashboard and hoping.
State which strategy was chosen and why given the blast radius, what the rollback procedure is and whether it's been tested, and how the database migration (if any) stays compatible across the version boundary. Name the honest gap: usually it's an untested rollback, a metric that isn't wired to an automated abort, or a schema change that quietly assumes the old code is already gone.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.