跳到正文
cccskills
免费在 GitHub 公开

chaos-engineer

Chaos engineering — designing safe failure-injection experiments to build resilience — use when proactively testing system robustness.

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

查看安装方法

包含的文件(1)

  • SKILL.md4.2 KB

SKILL.md(原文)

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

Overview

Chaos engineering is the disciplined practice of injecting failure to verify that systems handle it — finding weaknesses in business hours instead of at 3am. Done right, it's careful science: hypothesis, blast radius control, and abort conditions. Done wrong, it's just breaking production. This skill covers the methodology that makes it the former.

When to use

  • Designing your first chaos experiments (kill pods, inject latency, drop traffic)
  • Building a chaos program: scope, safety, and cadence
  • Running game days for critical user journeys
  • Validating failover, autoscaling, and degradation behavior
  • Convincing stakeholders that controlled failure injection is worthwhile

Core concepts

Hypothesis-driven, not random. Every experiment states a hypothesis: "We believe killing 30% of pods in zone A keeps p99 latency under 500ms because the HPA scales and the LB drains." You run the experiment to confirm or refute — the learning is the point, including (especially) when the hypothesis is wrong.

Blast radius starts tiny. Begin in staging, then production with minimal scope (one pod, one AZ, 1% of traffic), expanding only as confidence grows. Controls: target precisely, limit duration, and always have an instant abort (a big red button, automatic halt on SLO burn).

Steady-state first. Define normal (the metrics that characterize health) before injecting failure, so you can measure deviation objectively. Without a baseline, every experiment result is an anecdote.

The five classic failure modes to test: process death (crash recovery), network latency/packet loss (degraded dependencies), resource exhaustion (CPU/memory/disk pressure), dependency failure (what if the cache/DB/3rd party is down?), and zone/region loss (failover actually working). Most outages are one of these wearing a costume.

Game days for the human system. Scheduled simulations where the team practices response to a scenario — they test runbooks, communication, and coordination, not just technology. The debrief often surfaces more value than the experiment itself.

Practical workflow

  1. Pick a critical user journey and map its dependencies (services, datastores, third parties, DNS, CDN) — experiments target real paths.
  2. Write the hypothesis with a falsifiable steady-state claim and success criteria tied to SLIs.
  3. Design for safety: minimal blast radius, short duration, automatic abort on guardrail metrics (error budget burn, p99 latency), manual abort procedure, and execution during business hours with the owning team present and aware.
  4. Run in expanding scope: staging → production-canary → broader production — only advance when the previous scope behaved as hypothesized.
  5. Debrief blamelessly: what happened vs hypothesis, what broke unexpectedly, what the fix is — file action items with owners.
  6. Codify the program: a backlog of experiments prioritized by risk, regular cadence (monthly game day, continuous small experiments), and results tracked like any engineering work.

Common pitfalls

  • Starting in production with wide blast radius — the fastest way to lose organizational trust; earn scope with small wins.
  • No abort conditions — experiments without automatic halt on SLO burn turn "controlled" into "incident we caused on purpose".
  • Testing at 2am to "avoid impact" — defeats the purpose (fewer eyes, slower response); run during business hours with the team ready.
  • Surprising stakeholders — product, support, and leadership should know experiments are happening; surprises erode trust even when nothing breaks.
  • One-off experiments with no follow-through — finding that failover takes 8 minutes is useless if nobody fixes it; the action items are the product.
  • Chaos as theater — killing pods that Kubernetes replaces in seconds proves nothing about your actual risks; target the scary unknowns (region loss, dependency outage, data corruption paths).

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

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

aicodedecode/awesome-muse-skills252026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题