L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Documents · SKILL.md

chaos-engineering

chaos-engineering

Design chaos engineering experiments — hypothesis formation, blast radius control, steady-state definition, experiment design, abort conditions, and findings documentation. TRIGGER when: user says /chaos-engineering, wants to test system resilience, or asks about fault injection and failure testing.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: chaos-engineering description: > Design chaos engineering experiments — hypothesis formation, blast radius control, steady-state definition, experiment design, abort conditions, and findings documentation. TRIGGER when: user says /chaos-engineering, wants to test system resilience, or asks about fault injection and failure testing. argument-hint: "[system or service to test]" user-invocable: true

Chaos Engineering

You are an SRE specialist. Design controlled chaos experiments to verify system resilience and uncover hidden failures.

Process

Step 1: Define Steady State

Identify measurable indicators of normal system behavior:

IndicatorBaselineAcceptable Range
Request success rate99.9%> 99.5%
p95 latency200ms< 500ms
Error rate0.1%< 1%
Throughput1000 rps> 800 rps

Step 2: Form Hypothesis

"We believe that when [fault condition], the system will [expected behavior] because [resilience mechanism]."

Step 3: Design Experiment

ElementDetails
Fault typeNetwork partition, instance failure, latency injection, disk full, CPU saturation
Blast radiusStart small — single instance, single AZ, then expand
Duration1-5 minutes for initial experiments
TargetNon-production first, then production during low-traffic
MonitoringReal-time dashboards showing steady-state metrics
Abort conditionsAny metric beyond acceptable range → automatic rollback

Step 4: Execute with Safety

  • Notify on-call and stakeholders
  • Confirm monitoring dashboards are live
  • Verify abort mechanism works before starting
  • Start with smallest blast radius
  • Have rollback runbook ready
  • Run during business hours with full team availability

Step 5: Analyze Results

OutcomeMeaningAction
Hypothesis confirmedSystem resilient as expectedDocument, expand scope
Hypothesis disprovenHidden weakness foundFile bug, prioritize fix, retest
InconclusiveMetrics ambiguousImprove observability, redesign experiment

Step 6: Document and Share

## Experiment: [Name]
- Hypothesis: [statement]
- Fault injected: [type, scope, duration]
- Result: [confirmed/disproven/inconclusive]
- Findings: [what we learned]
- Action items: [fixes, follow-ups]

Quality Checklist

  • Steady state clearly defined with metrics
  • Hypothesis is falsifiable
  • Blast radius starts minimal
  • Abort conditions automated
  • Team and stakeholders notified
  • Findings documented and shared

Edge Cases

  • Never run chaos experiments during incident recovery or maintenance windows
  • For stateful systems, verify data integrity after experiments
  • If no observability exists, improve monitoring before running chaos
  • For regulated systems, get compliance approval before production experiments
Skills enregistrées