Skip to content
Skills Library
DevOps & cloud · Testing

chaos-testing

/chaos-testing

Inject failures like killed instances and network latency on purpose to verify a system degrades gracefully instead of collapsing. Use when validating the resilience of a distributed system that claims to tolerate faults.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

90/ 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.
Content25 / 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 05.09.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

Inject failures like killed instances and network latency on purpose to verify a system degrades gracefully instead of collapsing. Use when validating the resilience of a distributed system that claims to tolerate faults.

Original author description

Inject failures like killed instances and network latency on purpose to verify a system degrades gracefully instead of collapsing. Use when validating the resilience of a distributed system that claims to tolerate faults.

How it works

  1. Method
  2. Checks
  3. Boundaries
Original SKILL.md headings · 55 lines, 445 words
SKILL.md preview
---
name: chaos-testing
description: Inject failures like killed instances and network latency on purpose to verify a system degrades gracefully instead of collapsing. Use when validating the resilience of a distributed system that claims to tolerate faults.
---

# Chaos testing

Every distributed system carries failure-handling code that has never
actually run. A retry that deadlocks, a timeout set to infinity, a fallback
that also depends on the dead service: these hide until real failure finds
them at 3 a.m. Chaos testing triggers the failure deliberately, under
supervision, while you watch whether the system holds.

## Method

1. **State a steady-state hypothesis first.** Define the normal you expect to
   survive: "checkout success rate stays above 99% and p99 latency under
   800ms." Without a measured baseline you cannot tell degradation from
   collapse when you break something.
2. **Start in staging with a small blast radius.** Run the first experiments
   away from customers, scoped to one service or one availability zone. The
   goal is to learn the failure mode, not to cause an incident proving it
   exists.
3. **Inject one failure at a time.** Kill a pod, add 200ms of latency, drop a
   percentage of packets, fill a disk, or blackhole a dependency. Tools like
   Chaos Mesh, Gremlin, toxiproxy, and `tc netem` scope a single fault so you
   can attribute the result to it.
4. **Verify graceful degradation, not mere survival.** Confirm the system
   sheds load, serves a fallback, or fails fast with a clear error, and that
   it recovers when the fault clears. A request that hangs for the full
   timeout is a failure even if nothing crashed.
5. **Keep an abort switch and stop conditions.** Define in advance the metric
   that halts the experiment, such as error rate past 5%, and wire a
   one-command rollback. An experiment you cannot stop instantly does not
   belong near production.
6. **Automate the experiment and repeat it.** Encode the fault and the
   hypothesis check as code in CI or a scheduled run. Resilience regresses;
   a fix that held last quarter breaks when someone adds a new synchronous
   call, and only a repeated experiment catches it.
7. **Graduate to production game days once staging is boring.** When staging
   experiments stop surprising you, run a scheduled, staffed exercise in
   production with the team watching. Real topology and real traffic expose
   faults no staging clone reproduces.

## Checks

- Is there a measured steady state to compare against, or only a hope that
  things are fine?
- Does each experiment change exactly one variable so you can attribute the
  outcome?
- Can any observer halt the experiment and restore normal in a single action?

## Boundaries

Chaos testing validates resilience to faults, not throughput: use
load-testing to find the saturation point and performance-testing for raw
speed. Run it only where you have observability and a rollback; injecting
failure into a system you cannot watch or revert is sabotage, not testing.

Versions

RepositoryScoreLicence
This page · Amey-Thakur/AI-SKILLS90MIT
Tyler-R-Kendrick/agent-skills100MIT

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

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100qe-chaos-resilience
    Injects controlled faults (network partition, latency, process kill, disk pressure) into distributed systems and validates recovery behavior. Use when testing circuit breakers, failover paths, retry logic, or building confidence in system resilience through chaos engineering.
  • 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".
  • 90chaos-engineering
    Deliberately inject failures to verify that resilience mechanisms work before a real incident tests them. Use when a system has failover, retries, or redundancy that has never actually been exercised.
  • 100chaos-engineering-gremlin-chaos-mesh
    Use this skill when injecting network latency, pod kills, and CPU stress into distributed systems to validate fault tolerance.
  • 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".
  • 100testing-resilience
    Use when creating chaos engineering or resilience tests with k6 and xk6-disruptor. Use when the user wants to inject faults (pod failures, network delays, HTTP errors) into Kubernetes services during load tests, validate circuit breakers, or test system recovery behavior.

Feedback and reports

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