/devops-skills:chaos-engineeringfrom devops-skills
Injects controlled failures into systems to test resilience hypotheses. Use for game days, killing pods/nodes, validating failover or circuit breakers with bounded blast radius and steady-state metrics.
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.
Most systems have never actually experienced the failures their architecture claims to handle. The retry logic, the circuit breaker, the multi-AZ failover — these are assumptions that live in a design doc until something breaks them for real, usually in production, usually at the worst time. Chaos engineering moves that first real test from an incident to a planned experiment, where you control the timing and the blast radius.
The point is not to break things randomly — random breakage is what production does on its own. The point is to test a specific belief about how the system behaves under a specific failure, and find out you were wrong somewhere safer than 3am on a Saturday.
Test a stated hypothesis about failure, don't just cause chaos.
"Let's kill a random pod and see what happens" is not an experiment, it's a demo. A real chaos experiment states, in advance, what you believe will happen — "if we kill the primary database instance, the read replica promotes within 30 seconds and error rate stays under 1%" — so that when reality diverges from the belief, you have found something specific and actionable, not just a surprising graph.
Done when: the experiment has a written hypothesis and a specific metric that will confirm or refute it.
You cannot tell whether an experiment caused harm if you don't know what "normal" looked like a minute before you started. Steady-state is a small set of metrics — error rate, latency, throughput — that represent the system behaving correctly, measured and agreed on before injection starts.
steady_state:
error_rate: < 0.5%
p99_latency: < 400ms
checkout_success_rate: > 99%
Done when: steady-state metrics and their acceptable thresholds are defined and observed as normal before injection begins.
An experiment that can take down more than you intended is not an experiment, it's an incident you started on purpose. Scope every chaos run to the smallest slice that still tests the hypothesis — one pod, one AZ, a percentage of traffic — and have a kill switch that's faster than the damage can spread.
Done when: the experiment has an explicit scope limit and an automatic abort condition, both tested before the first real run.
Staging never fully represents production traffic patterns, data volume, or scale — some failure modes only appear under real load. But production chaos without staging first is reckless. The right sequence is staging to validate the experiment mechanics are safe, then production with a small blast radius, widening only as confidence builds.
Done when: the experiment has run successfully in staging and at least once in production at limited scope.
A chaos experiment run alone by one engineer against a dashboard only tests the system. A game day — with the on-call team, the IC, and the actual alerting and paging path all live — tests the system and the humans and process meant to respond to it. That's usually where the more valuable findings are: alerts that don't fire, runbooks that are stale, an on-call engineer who didn't know this dependency existed.
runbooks — and note where it was wrong
or missing.Done when: a game day has exercised the real alert and response path, not just the failure injection itself.
An experiment that reveals a weakness and then goes nowhere is worse than not running it — it means the organization now knows about a gap and left it open. The output of chaos engineering is a prioritized list of concrete fixes, tracked the same way a production bug would be.
Done when: every finding from the experiment has a tracked owner, and previously-fixed experiments are scheduled to re-run.
State the hypothesis tested, the steady-state metrics and whether they held, the blast radius used, and every gap the experiment surfaced. Name explicitly which failure modes are still untested — a system that has only been chaos-tested against pod death has not been chaos-tested against region loss or dependency failure, and claiming resilience beyond what was actually tested is the exact overconfidence this practice exists to prevent.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Kubernetes, Docker, AWS, GCP, Azure
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`.