fault-injection-testing

Installation
SKILL.md

Fault Injection Testing

Test failure paths, not just happy paths.

Production systems fail. Databases time out. Networks reset. Services degrade. If you only test happy paths, your first encounter with failure will be in production. This skill teaches you to systematically inject faults and verify resilience behavior.

When to use: Testing recovery paths, retry logic, circuit breakers, transaction rollback, queue preservation on failure, any code that interacts with external services.

When not to use: Happy-path-only tests, pure functions, UI components, code with no external dependencies.

Rationalizations (Do Not Skip)

Rationalization Why It's Wrong Required Action
"The happy path works" Production failures aren't happy Test each fault scenario explicitly
"Retry logic is simple" Exponential backoff has edge cases Verify delay calculations mathematically
"Circuit breakers are overkill" Cascading failures take down systems Implement and test all 3 states
"Queue data is safe" Transient failures can lose queue items Assert queue preservation on every failure
Related skills
Installs
15
GitHub Stars
5
First Seen
Feb 28, 2026