chaos-resilience-testing

Design deterministic failure scenarios that validate safe degradation of workflows, APIs, and providers.

Updated Dec 1, 2025
One-click install
npx skills add https://github.com/jterratsdev/smart-deployment --skill chaos-resilience-testing-jterratsdev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chaos-resilience-testing
Source: https://github.com/jterratsdev/smart-deployment/tree/main/skills/chaos-resilience-testing
Command: npx skills add https://github.com/jterratsdev/smart-deployment --skill chaos-resilience-testing-jterratsdev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Teams often ship workflows, APIs, and AI-provider integrations without proving how they behave under timeouts, corrupted state, rate limits, or policy failures, leaving release-critical behavior unverified. ## Core Features & Use Cases - Failure Classification: Categorize each failure as fail-closed, degrade-with-recovery, or bounded-retry based on security, compliance, and business impact. - Deterministic Scenario Design: Define controlled fault-injection scenarios using fake providers, fixture corruption, injected clocks, and Playwright route stubs instead of random production chaos. - Evidence Reporting: Produce a structured evidence report mapping scenarios to acceptance criteria, recovery paths, audit events, and unresolved resilience gaps. - Use Case: Before releasing a feature that depends on an external LLM provider, define scenarios for provider timeout, budget exhaustion, and offline mode, then capture proof that the system degrades safely and logs the right audit events. ## Quick Start Ask the assistant to design chaos and resilience test scenarios for your workflow, covering provider timeouts, corrupted state, and rate-limit exhaustion with an evidence report.

Frequently Asked Questions about chaos-resilience-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design chaos engineering tests for API failures?

Define deterministic scenarios that inject specific faults such as timeouts, malformed payloads, or empty responses using controlled stubs and fake providers. For each scenario, specify the expected behavior, user message, audit evidence, and recovery path before implementation.

What is the difference between fail-closed and degrade-with-recovery failures?

Fail-closed applies to security, approvals, payments, secrets, and tenant isolation, where the system must block the action entirely. Degrade-with-recovery applies to optional enrichment or advisory features that may fail but must show clear rationale and recovery guidance.

Which tools should I use for resilience testing in Node.js?

Start with local deterministic faults: fake providers, injected stores, controlled timers, AbortController, and fixture corruption. Use Playwright route stubs for web degraded states, and reserve Toxiproxy, WireMock, or k6 for integration-level network evidence.

When should I use Chaos Mesh or LitmusChaos for fault injection?

Use Chaos Mesh or LitmusChaos only for Kubernetes-managed services requiring infrastructure-level fault injection. They are not appropriate for npm package or application-level MVP testing, where deterministic local stubs provide faster and more reliable evidence.

How do I prove retry logic is safe under rate limits?

Bound every retry with an explicit timeout, retry count, backoff strategy, and budget policy, then capture evidence of the final state and emitted events. A passing command alone is insufficient; record the recovery artifact or blocked gate as proof.