AGENT SKILL

chaos-engineer

Use when you want to test whether a system survives real failures. Triggers on: "장애 주입 테스트", "game day 준비", "pod 죽여보고 싶어", "chaos experiment", "kill a pod in staging", "simulate zone outage". Not for active incidents.

License 许可
MIT
最近更新
2026-11-12
Stars
★ 3
Forks
1

01 前言 Front Matter

name
chaos-engineer
license
MIT
metadata
{ "area": "resilience", "kind": "specialist", "version": "1.1.0", "keywords": "fault injection, game day, blast radius, steady-state hypothesis, Chaos Mesh, Litmus", "produces": "experiment docs and injection code", "see-also": "sre-engineer, architecture-designer, circuit-breaker-tuner" }
scenarios
[ "I want to run a chaos experiment on our Kubernetes cluster to test pod failure resilience", "Help me plan a game day exercise to test our system's failure tolerance", "Design a blast-radius-controlled fault injection for our microservices", "카오스 테스트로 시스템 복원력을 검증하고 싶어", "게임 데이 실험 설계를 도와줘", "스테이징에서 pod 하나 죽여보고 싶은데 어떻게 안전하게 해?" ]
description
Use when you want to test whether a system survives real failures. Triggers on: "장애 주입 테스트", "game day 준비", "pod 죽여보고 싶어", "chaos experiment", "kill a pod in staging", "simulate zone outage". Not for active incidents.
compatibility
{ "optional": [ "sequential-thinking" ], "recommended": [ "think-tool" ], "remote_mcp_note": "think-tool이 있으면 실험 설계 시 블라스트 반경과 안전 제어를 더 체계적으로 평가합니다. Claude 설정 → MCP Servers에서 remote SSE 엔드포인트를 추가하세요." }

02 资源文件 8

03 SKILL.md 正文

Standing Mandates

  • NEVER design an experiment without a steady-state metric that is live now. With no observability, a failure test only causes damage and proves nothing; if there is none, stop and say so.
  • NEVER inject before the abort path is written and the user has rehearsed it. A fault with no scripted way back turns an experiment into an incident.
  • NEVER widen the blast radius in the same run. Start at the narrowest scope; widen only after the previous size confirmed the hypothesis, otherwise a failure cannot be traced to one cause.
  • NEVER inject two faults in one run: the result could not say which one broke the system.
  • NEVER invent a missing fact (dependencies, current SLO, existing breakers). Mark [확인 필요: ○○]; an experiment built on a guessed topology tests the guess.
  • Goal: every experiment has a hypothesis, a live steady-state metric, a scope, an abort trigger and a scripted abort of 30 s or less; the closing tally recounts to the experiment sheets.

Chaos Engineer

Not for an active incident (develop:incident-response-playbook), SLO or alert setup (develop:sre-engineer), or tuning the breaker itself (develop:circuit-breaker-tuner).

Process

  1. System analysis — chart components, dependencies, user-critical paths, how each can fail. Read the repo, manifests and dashboards first. Confirm metrics collection (Prometheus, Datadog or similar) is live, and measure the steady state until it is stable before anything is injected.
  2. Experiment design — hypothesis, normal-behaviour metrics, how far the fault may reach (narrowest scope first), what stops it, one fault per run. Fill references/experiment-design.md. pod-kill is irreversible: cap value/selector and write the manual recovery first; reversible = pod-failure + duration (references/kubernetes-chaos.md).
  3. Execute — user runs it; inject under observation with the scripted way back (30 s or less, rehearsed) at hand. Production: breakers, flags or canary isolation already in place, or stay in staging.
  4. Learn — record what was found, fix weaknesses, close monitoring gaps; every run ends with a write-up and one or more tracked fixes (references/post-mortem.md).
  5. Automate — put recurring experiments into the delivery pipeline.
  6. Recount — count experiments, the ones with all five fields, and the findings; fix the tally if the sheets differ.

Output Template

## Experiment — <title> (<env>)

Hypothesis: <when X fails, Y stays within Z>
Steady state: <metric, normal range, live? yes/no>
Scope: <rung> · Abort trigger: <condition> · Abort script: <command> (<s> s)
Injection: <manifest or script>
Result: confirmed / refuted / aborted — <metric reading>
Fixes: <tracked item, owner>
Gaps: [확인 필요: ○○] ...

<n> experiments · <c> confirmed · <r> refuted · <a> aborted · <g> gaps

What Claude Does / What You Do

Claude You
Drafts hypothesis and steady-state definition Confirm the hypothesis reflects real business risk
Generates Litmus, toxiproxy, or Chaos Monkey config Run experiments in your environment
Designs blast radius controls Verify blast radius is acceptable before starting
Writes rollback scripts Test rollback works before the experiment begins
Templates the learning summary Fill in actual findings and assign follow-up tickets

Reference Guide

Need File Open when
Experiment sheet references/experiment-design.md writing the claim, scope rungs, abort triggers
Host and cloud faults references/infrastructure-chaos.md network, dependency, resource, zone, DNS, certificate faults
Cluster faults references/kubernetes-chaos.md pod, node, partition, autoscaling faults, Chaos Mesh pod-kill example
Tooling references/chaos-tools.md picking a tool, random-kill scripts, pipeline gates, toxiproxy
Game days references/game-days.md running a supervised session
Write-up references/post-mortem.md report after a game day or real incident

Related Skills

  • develop:sre-engineer — SLO definition, error budgets, alerting
  • develop:incident-response-playbook — when the failure is real and active
  • develop:architecture-designer — resilience pattern design for distributed systems
  • develop:circuit-breaker-tuner — configure failure thresholds before running chaos experiments

04 同仓库更多 Skills

newkayak12
newkayak12/claude-skills

diagram

Use when something must be drawn as a checked figure, not Mermaid: page layout, B-tree, lock timeline, ER, benchmark chart, architecture, sequence. SVG + PNG. Triggers: "도식화해줘", "그림으로 그려줘", "책에 넣을 그림", "시퀀스 다이어그램", "draw this as a figure".

★ 3
newkayak12
newkayak12/claude-skills

test-master

Use when writing, improving, or auditing tests, or writing case specs with expected results from a spec. Triggers: "테스트 작성", "테스트 케이스 작성", "test case writing", "단위 테스트", "커버리지 분석", "test plan", "defect report".

测试与质量Skill与智能体开发
★ 3
newkayak12
newkayak12/claude-skills

sre-engineer

Use when setting up production reliability practices. Triggers on: "SLO 정하고 싶어", "에러 버짓", "알람 피로", "반복 작업(toil) 줄이기", "golden signals dashboard", "burn-rate alert". Not for active incidents or chaos tests.

Skill与智能体开发
★ 3
newkayak12
newkayak12/claude-skills

sql-pro

Use when someone needs help writing or rewriting SQL — authoring complex joins, CTEs, window functions, or recursive queries — or designing a schema from scratch, normalizing an existing one, or migrating queries between database dialects.

数据分析师后端与接口Skill与智能体开发
★ 3
newkayak12
newkayak12/claude-skills

spring-boot-engineer

Use when building or extending a Spring Boot 3.x Java backend — REST, Spring Security, JPA, WebFlux, Actuator. Triggers on: "Spring Boot API", "스프링 시큐리티 설정", "JPA 연동". Not for service decomposition or query tuning.

开发工程师后端与接口Skill与智能体开发
★ 3
newkayak12
newkayak12/claude-skills

spec-driven-development

Use when a feature should be specified before it is coded — stories, acceptance criteria, tasks, a per-criterion check. Triggers: "스펙 먼저", "명세부터 쓰고 구현", "수용 기준 먼저", "spec first", "spec-driven development".

Skill与智能体开发
★ 3