跳到正文
cccskills
免费在 GitHub 公开

chaos-engineering

Chaos engineering: hypothesis-driven fault injection to surface weakness before users do. Use when designing a chaos experiment, planning a gameday, choosing what to inject, computing blast radius, or building a chaos maturity model.

中文简介正在准备中。当前显示原文说明。

集成工具AWS
查看安装方法

包含的文件(9)

  • SKILL.md6.2 KB
  • references/chaos-principles-and-maturity.md16.5 KB
  • references/experiment-design-loop.md8.8 KB
  • references/fault-injection-catalog.md23.4 KB
  • references/gameday-playbook.md16.9 KB
  • references/gameday-workflows-and-antipatterns.md6.2 KB
  • scripts/blast_radius_calculator.py10.8 KB
  • scripts/chaos_experiment_designer.py20.2 KB
  • scripts/gameday_planner.py16.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Chaos Engineering

End-to-end chaos engineering: experiment design, fault injection catalog, gameday execution, and the maturity model that turns one-off "let's break stuff" exercises into a reliable discipline. Provider-agnostic — works whether you use Litmus, Chaos Mesh, AWS FIS, Gremlin, ChaosToolkit, or hand-rolled scripts.

This skill answers four questions: what to inject, where to inject it, how to size the blast, and how to extract durable learning from each run.

Core Capabilities

  • Principles & maturity — the five Principles of Chaos and a four-level maturity model (L0 none → L4 always-on production chaos) with level-up criteria.
  • Experiment design loop — a nine-step loop (steady state → hypothesis → variables → blast radius → abort → run → analyze → act → document) with worked good/bad examples.
  • Fault catalog — what to inject per layer: pod/host, network, dependency, resource, state, and traffic, with tool mappings.
  • Blast-radius sizing — quantify worst-case affected users and recommended caps; experiments start tiny (1 pod / 1% / 1 min) and grow only after passing.
  • Gameday execution — scheduled multi-scenario exercises with roles, agendas, scenario selection, and debrief templates.
  • Discipline — anti-patterns to avoid, the "first five experiments" for new teams, and end-to-end workflows (single experiment, gameday, kill-switch verification, post-incident verification).

When to Use

SituationSkill applies
Spinning up a chaos program from scratchYes — start with maturity model + first 5 experiments
Designing a single experiment for a known concernYes — use the experiment design loop
Planning a gameday for a team or serviceYes — use scripts/gameday_planner.py
Validating a kill switch or fallback path actually worksYes — chaos is the way to test these in prod-like conditions
Post-incident verification: "did the fix really fix it?"Yes — re-inject the original fault, confirm the new behavior
Compliance evidence (SOC 2 A1 / DORA Art. 25)Yes — chaos runs produce auditable resilience-testing evidence
Improving SLOs / error budgetsPair with engineering/observability-designer — chaos surfaces SLO violations

Clarify First

Before designing the experiment, confirm these inputs. If any is unknown or vague, ASK — do not assume:

  • Target & fault type — the service and what to inject (dependency-timeout, network, pod-kill, resource exhaustion) (drives the experiment doc via --target/--fault)
  • Steady-state hypothesis — the metric that defines "healthy" and the expected behavior under fault (the hypothesis the experiment tests)
  • Blast radius caps — user count, % targeted, duration, and abort triggers (sizes the experiment via blast_radius_calculator.py)

Stop rule: ask only the 2-3 that most change the output. If the user says "just draft it," proceed and list your assumptions at the top of the artifact.

Tools

ToolPurposeCommand
chaos_experiment_designer.pyScaffold a chaos experiment doc (hypothesis stub, steady-state template, abort criteria, checklist)python scripts/chaos_experiment_designer.py --target payments-svc --fault dependency-timeout --duration 5m
blast_radius_calculator.pyCompute worst-case affected users, recommended caps, and abort triggerspython scripts/blast_radius_calculator.py --users 100000 --percent-targeted 1 --duration 60
gameday_planner.pyGenerate a tailored gameday agenda with roles, timeline, and debrief templatepython scripts/gameday_planner.py --service search-api --duration full --scenarios region-failover,dep-outage

References

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/experiment-design-loop.md — the five principles, the four-level maturity model, the full nine-step design loop with worked steady-state/hypothesis/abort examples, and the "first five experiments." Read when designing or running an experiment.
  • references/gameday-workflows-and-antipatterns.md — the gameday agenda and roles, scenario selection, the chaos anti-patterns, all four end-to-end workflows, and the script tooling-output table. Read when planning a gameday or running a workflow.
  • references/chaos-principles-and-maturity.md — per-level maturity scorecard, the L0→L1 "first five experiments" list, and the org/SRE prerequisites for each level. Read when assessing or leveling up a program.
  • references/gameday-playbook.md — 12 scenario templates by domain (API service, database, frontend, async pipeline, multi-region, etc.), half-day/full-day agendas, and post-gameday writeup templates. Read when choosing gameday scenarios.
  • references/fault-injection-catalog.md — fault types per layer (network, host, dependency, resource, state, traffic) with tool mappings (Chaos Mesh / Litmus / AWS FIS / Gremlin / ChaosToolkit). Read when choosing what to inject.

Related skills

  • engineering/observability-designer — wire metrics needed to define steady state
  • engineering/incident-commander — chaos is rehearsal for the incident response you'll need
  • engineering/feature-flags-architect — kill switches verified by chaos; chaos verified by flags
  • ra-qm-team/dora-compliance-expert — DORA Article 25 requires resilience testing; chaos runs are evidence

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

This skill should be used when the user asks to "check accessibility", "audit WCAG compliance", "scan HTML for a11y issues", "check color contrast", or "find accessibility violations in web pages".

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and run statistically rigorous A/B tests and experiments. Use when planning experiments, calculating sample sizes, designing test variants, selecting metrics, analyzing results, or when someone says "let's test that."

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design and analyze A/B tests: sample size, test duration, and statistical significance for conversion experiments. Use when setting up an A/B test, calculating sample size, designing an experiment, or analyzing results.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Sales execution across pipeline, discovery, demos, negotiation, and closing. Use when qualifying opportunities, running MEDDIC discovery, building account plans, handling objections, structuring proposals, or forecasting pipeline.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

Design ad creative across Google, Meta, LinkedIn, Twitter/X, and TikTok with platform format specs, headline formulas, and A/B testing. Use when writing ad copy, generating headline variations, creating ad sets, or validating creative.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

aeo

免费

Answer Engine Optimization (AEO): optimize content to be cited by LLMs (ChatGPT, Claude, Perplexity, Gemini) in their answers. Use when designing content for LLM citation, auditing citability, or structuring Q&A schema.

中文简介正在准备中。当前显示原文说明。

borghei/Claude-Skills9622026年10月7日 更新

查看 borghei 的全部技能

报告此技能的问题