/devops-skills:progressive-deliveryfrom devops-skills
Automates canary and blue-green rollouts with metric-driven promotion and rollback using Argo Rollouts or Flagger. Helps define AnalysisTemplates, metric providers, and canary weight steps gated on real signals like error rate and latency.
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.
Progressive delivery takes strategies covered in deployment-strategies — canary, blue-green — and
makes the promotion decision automatic and metric-driven instead of manual or time-based. A canary
that "runs for ten minutes then goes to 100%" is not progressive delivery, it's a timer with extra
steps: if the ten minutes happened not to expose the regression, you ship it anyway. The controller
(Argo Rollouts, Flagger) exists to query real signals at each step and decide, without a human in
the loop, whether to advance, hold, or abort.
A canary step that isn't gated on a query against production metrics is just a delay, not a safety mechanism.
The default temptation is to gate on whatever's easiest to query — often just HTTP error rate. That
catches crashes, not the more common failure: a change that's technically 200-OK but slower, more
expensive per request, or silently returning wrong data to a subset of users. Combine at least an
error-rate metric with a latency percentile (p95 or p99, not average — averages hide tail
regressions), and add a business metric when one exists and is fast enough to compute (checkout
success rate, not daily revenue). See slo-definition for choosing thresholds that reflect what
users actually notice, and metrics-and-monitoring for where these queries come from.
Done when: the analysis would have failed on the last real incident this service had.
The AnalysisTemplate (Argo Rollouts) or MetricTemplate (Flagger) is where "success" gets a precise definition — the query, the threshold, how many consecutive failures trigger a rollback, how many samples are required before a judgment is even made. Treat changes to this file with the same review rigor as the deployment manifest itself, because a threshold set too loose makes the automation theater, and one set too tight makes every deploy flap on noise.
metrics:
- name: error-rate
interval: 1m
successCondition: result[0] <= 0.01
failureLimit: 3
provider:
prometheus:
query: sum(rate(http_requests_total{status=~"5..",app="{{args.app}}"}[1m]))
/ sum(rate(http_requests_total{app="{{args.app}}"}[1m]))
Done when: every promotion or rollback decision can be traced to a specific metric crossing a specific threshold, not to elapsed time.
Each step (5% → 20% → 50% → 100%) should exist because it changes how many real users are exposed to a still-unproven version, with a pause long enough for the analysis to gather enough samples to be statistically meaningful — a step that pauses for 30 seconds on a metric with a 1-minute scrape interval never actually evaluates anything. Low-traffic services need fewer, coarser steps (there aren't enough requests to make 5% meaningful) while high-traffic services can afford more, smaller ones. Match the step count to request volume, not to a template copied from another service.
Done when: the first canary step exposes few enough users that a full failure is a non-event, and the pause at each step is longer than one full metric-collection interval.
On analysis failure the controller should scale the canary to zero and route all traffic back to
stable without waiting for a human to notice a Slack alert — that's the entire point of doing this
automatically. Verify this by actually failing a canary in a non-prod environment and watching
traffic shift back, not by reading the config and assuming it works. Pair this with alerting so a
triggered rollback is loudly announced even though no one had to perform it, and with
incident-response for what happens next if the rollback itself doesn't fully resolve the problem.
Done when: a deliberately broken canary in a test environment rolls back automatically with zero manual intervention, and someone is notified that it happened.
A Rollout resource under Argo CD is still declarative, but the controller mutates replica counts and
traffic weights as it steps through analysis — the exact kind of drift argocd-operations normally
flags. Exclude the fields the Rollouts/Flagger controller owns (via ignoreDifferences or the
resource's own CRD status conventions) so the GitOps reconciler doesn't fight the rollout by trying
to sync it back to the committed replica count mid-canary.
Done when: a canary can run to completion without Argo CD reporting OutOfSync on the fields the rollout controller is actively managing.
State which metrics gate promotion, the canary step sequence, and confirm rollback has been tested to actually revert traffic, not just theoretically configured to. Call out any metric gate that's still just error-rate with no latency or business signal, or any environment where rollback hasn't been exercised — that untested path is the real risk, not the one written in the AnalysisTemplate.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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`./artifact-managementVersions, stores, and promotes build outputs — registries, immutability, build-once-promote-many, retention and garbage collection, and provenance metadata. Use this whenever the user sets up an artifact or container registry, asks how to promote a build between environments without rebuilding, needs a retention or cleanup policy, or wants to trace where an artifact came from. For an image's contents and size use `image-optimization`; for vulnerability scanning use `image-scanning`./autoscalingCovers scaling Kubernetes workloads and nodes to demand — HPA on the right metric, VPA, cluster autoscaler, custom/external metrics, avoiding thrash with stabilization windows, and requests as the foundation underneath it all. Use this whenever the user is configuring an HPA, deciding between HPA and VPA, debugging autoscaling that flaps, or sizing a cluster autoscaler. For the requests/limits autoscaling depends on use `kubernetes-operations`; for cost tradeoffs use `cost-optimization`./backup-and-restoreDefines the discipline of building backups you can actually restore under pressure — RPO-driven frequency, restores rehearsed on a schedule, offsite immutable copies, encryption, and treating a backup that has never been restored as equivalent to no backup at all. Use this whenever the user sets up a backup job, chooses a retention policy, argues about RPO or RTO, asks whether current backups are enough, or plans for ransomware or accidental deletion. For the wider recovery plan use `disaster-recovery`, and for stateful platform durability use `stateful-workloads`.