Skip to content
Skills Library
DevOps & cloud · Testing

chaos-engineering

/chaos-engineering

Use when verifying a system's resilience by injecting controlled failure. Covers hypothesis-driven experiments, blast-radius control, failure injection techniques, and running game days safely. Trigger on "does our failover actually work", "plan a game day", "kill a node in staging and see what breaks". Do not use for load or stress testing — see the performance-testing skill; for SLOs and degradation policy, see the site-reliability skill.

Licence
MIT
Last repository change
24.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Use when verifying a system's resilience by injecting controlled failure. Covers hypothesis-driven experiments, blast-radius control, failure injection techniques, and running game days safely. Trigger on "does our failover actually work", "plan a game day", "kill a node in staging and see what breaks". Do not use for load or stress testing — see the performance-testing skill; for SLOs and degradation policy, see the site-reliability skill.

Triggers from the description

does our failover actually workplan a game daykill a node in staging and see what breaks
Original author description

Use when verifying a system's resilience by injecting controlled failure. Covers hypothesis-driven experiments, blast-radius control, failure injection techniques, and running game days safely. Trigger on "does our failover actually work", "plan a game day", "kill a node in staging and see what breaks". Do not use for load or stress testing — see the performance-testing skill; for SLOs and degradation policy, see the site-reliability skill.

How it works

  1. Purpose
  2. When to Use
  3. Capabilities
  4. Inputs
  5. Outputs
  6. Workflow
  7. Best Practices
  8. Examples
  9. Notes
Original SKILL.md headings · 110 lines, 777 words
SKILL.md preview
---
name: chaos-engineering
description: Use when verifying a system's resilience by injecting controlled failure. Covers hypothesis-driven experiments, blast-radius control, failure injection techniques, and running game days safely. Trigger on "does our failover actually work", "plan a game day", "kill a node in staging and see what breaks". Do not use for load or stress testing — see the performance-testing skill; for SLOs and degradation policy, see the site-reliability skill.
metadata:
  category: devops
  version: 1.0.0
  tags: [chaos, resilience, testing, failure-injection, game-day]
---

# Chaos Engineering

## Purpose

Find out whether your resilience mechanisms work before an outage tests them for you. Every fallback, retry, and circuit breaker is a hypothesis until it has been exercised under real failure.

## When to Use

- Verifying that a documented failover, fallback, or degradation path actually works.
- Before a high-stakes event where the system must hold.
- After adding resilience mechanisms — to confirm they do what you think.
- Building confidence in a system nobody fully understands.

## Capabilities

- Hypothesis-driven experiment design.
- Failure injection: latency, errors, resource exhaustion, instance termination, network partition, dependency unavailability.
- Blast-radius control and automatic abort.
- Game-day facilitation.

## Inputs

- The steady-state metric that defines "working" (error rate, latency, throughput).
- The resilience mechanism being tested and what it is meant to do.
- The blast radius you are willing to accept and the abort criteria.

## Outputs

- A finding: the mechanism works, or it does not, with evidence.
- Fixes for the mechanisms that did not.
- A repeatable experiment that runs regularly.

## Workflow

1. **Define steady state** — A measurable metric that says the system is healthy right now. Without it, you cannot tell whether the experiment broke anything.
2. **Form a hypothesis** — "When the pricing service returns 500s, checkout will serve cached prices and the checkout success rate will stay above 99%." Falsifiable, specific, and about a mechanism you believe exists.
3. **Bound the blast radius** — Start with one instance, one percent of traffic, or a staging environment carrying production-shaped load. Never start in production at full scale.
4. **Define the abort criteria first** — And automate the abort. "We'll stop it if it looks bad" is not a control.
5. **Inject the failure and observe** — Watch the steady-state metric and the mechanism you are testing. Does the fallback fire? Does the circuit open? Does the alert page?
6. **Fix what you found, then widen** — Increase the blast radius only after the previous scope passes.

## Best Practices

- The purpose is to falsify a belief, not to break things. An experiment with no hypothesis is just an outage you caused.
- Announce the first experiments. Unannounced chaos in a team that has not built the mechanisms yet is destructive and erodes trust in the practice.
- Do not run chaos experiments during an incident, a freeze, or a peak-traffic event. The point is to learn safely.
- Test the failure you actually fear. Terminating a stateless pod proves little; making a dependency slow (rather than down) tests timeouts, which is where systems actually break.
- Slow is worse than down. A dependency that returns in 30 seconds instead of failing fast will exhaust your connection pool. Inject latency, not just errors.
- Automate the successful experiments so they run continuously. A one-off game day proves the system worked in March.

## Examples

**A well-formed experiment:**

```yaml
experiment: pricing-service-unavailable

steady_state:
  metric: checkout_success_rate
  threshold: "> 99%"
  measured_over: 5m

hypothesis: >
  When the pricing service returns 503 for all requests, checkout serves
  cached prices from Redis and the checkout success rate remains above 99%.
  The pricing circuit breaker opens within 30 seconds, and a warning (not a
  page) is emitted.

blast_radius:
  environment: production
  scope: 5% of traffic, single availability zone
  duration: 10m

abort_if:
  - checkout_success_rate < 98%      # automatic; no discussion
  - p99_checkout_latency > 3s
  - any SEV-2 or higher declared

injection:
  tool: fault-injection-proxy
  target: pricing-service
  fault: { type: error, status: 503, percentage: 100 }
```

**The finding this experiment actually produced:**

```text
Result: HYPOTHESIS FALSIFIED.

The cache fallback worked. The circuit breaker did not open — it was
configured to trip on connection errors, and a 503 is a successful
connection with an error status. Checkout latency rose from 180ms to
2.9s because every request waited for the full 3s pricing timeout before
falling back.

Success rate stayed at 99.4% (the hypothesis' headline claim held), so a
naive pass/fail on the steady-state metric alone would have reported
success and left a latent latency bomb in place.

Fix: trip the breaker on 5xx as well as connection failure; reduce the
pricing timeout from 3s to 400ms, which is above p99.9 for that call.
```

## Notes

- The experiment above is the archetype: the headline metric held, and the system was still broken. Always observe the *mechanism*, not just the outcome.
- Injecting latency is more informative than injecting failure, because most systems handle a fast failure and collapse under a slow one.
- Chaos engineering in an organization without runbooks, alerting, or a rollback path is premature. Build the mechanisms first; then verify them.

Versions

RepositoryScoreLicence
This page · nimadorostkar/Claude-Skills-collection100MIT
petrkindlmann/qa-skills100MIT
borghei/Claude-Skills100MIT
alirezarezvani/claude-skills100MIT
arjunprabhulal/devops-skills100MIT
aks-builds/quality-skills100MIT
borhen68/skillengine100MIT
Amey-Thakur/AI-SKILLS90MIT
samsantosb/ship-it90MIT

Database snapshot: 13.11.2026 · package version 203f058eca49 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100chaos-engineering-and-resilience-testing
    Guides running chaos engineering experiments — defining a measurable steady-state hypothesis, controlling blast radius, and using fault-injection tools (Chaos Mesh, LitmusChaos, AWS Fault Injection Simulator) to proactively validate a system's resilience assumptions — plus…
  • 95qa-chaos-engineering
    Use this skill when the user says 'chaos experiment', 'fault injection test', 'game day', 'steady state hypothesis', 'chaos mesh', 'litmus', 'aws fis', 'blast radius', 'resilience test', 'kill a pod and see what happens'. It designs and runs controlled fault-injection…
  • 100running-chaos-tests
    Execute chaos engineering experiments to test system resilience. Use when performing specialized testing. Trigger with phrases like "run chaos tests", "test resilience", or "inject failures".
  • 100chaos-engineer
    Designs chaos experiments, creates failure injection frameworks, and facilitates game day exercises for distributed systems — producing runbooks, experiment manifests, rollback procedures, and post-mortem templates. Use when designing chaos experiments, implementing failure…
  • 100chaos-testing
    Use when designing or implementing chaos engineering experiments to verify system resilience under failure conditions. Covers chaos engineering principles, steady-state hypothesis, blast radius management, game days, and tools like Chaos Monkey, Gremlin, Litmus, Chaos Mesh,…
  • 100chaos-experiment
    Design and document chaos engineering experiments. Guide steady state baseline, hypothesis formation, failure injection plans, and results analysis. Use when you say "design a chaos experiment", "plan a game day", "failure injection", "test resilience", or "chaos engineering".…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.