ai-governance
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands,…
Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault injection (pod-delete, network-loss, CPU stress, node-drain), steady-state hypothesis probes, GameDay runbooks, scheduled experiments, DORA feedback loop, and
> /plugin marketplace add nitinjain999/platform-skills > /plugin install platform-skills@platform-skills
How it fires
How this command gets triggered: by you, by Claude, or both.
/chaosContext preview
What this command does when you run it.
Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault injection (pod-delete, network-loss, CPU stress, node-drain), steady-state hypothesis probes, GameDay runbooks, scheduled experiments, DORA feedback loop, and
name: chaos description: Design, run, and debug Chaos Engineering experiments on Kubernetes using Litmus Chaos v3 and Chaos Mesh v2. Covers fault injection (pod-delete, network-loss, CPU stress, node-drain), steady-state hypothesis probes, GameDay runbooks, scheduled experiments, DORA feedback loop, and RBAC setup. Use when asked to "inject a pod fault", "run a GameDay", "schedule chaos experiments", or "debug why my ChaosEngine is stuck". argument-hint: "[install|experiment|schedule|gameday|debug|report] [description or file path]" title: "Chaos Engineering Command" sidebar_label: "chaos" custom_edit_url: null
Design, run, and debug Chaos Engineering experiments on Kubernetes.
---
When invoked with no arguments, ask before proceeding:
**Q1 — Mode?**
What do you need? 1. install — install Litmus Chaos or Chaos Mesh via Helm 2. experiment — design a fault injection experiment 3. schedule — wrap an experiment in a recurring schedule 4. gameday — run a structured GameDay experiment 5. debug — diagnose a failed or stuck experiment 6. report — summarize results after an experiment completes Enter 1–6 or mode name:
After collecting the mode, ask one follow-up:
Then proceed into the relevant mode below.
---
Install Litmus Chaos or Chaos Mesh via Helm.
Steps: 1. Choose the tool:
2. Install Litmus Chaos:
helm repo add litmuschaos https://litmuschaos.github.io/litmus-helm/
helm repo update
helm upgrade --install chaos litmuschaos/litmus \
--namespace litmus \
--create-namespace \
--version 3.9.0 \
-f examples/chaos/litmus-install-values.yaml3. Install Chaos Mesh:
helm repo add chaos-mesh https://charts.chaos-mesh.org
helm repo update
helm upgrade --install chaos-mesh chaos-mesh/chaos-mesh \
--namespace chaos-mesh \
--create-namespace \
--version 2.7.0 \
-f examples/chaos/chaos-mesh-install-values.yaml4. Verify:
# Litmus kubectl get pods -n litmus # Chaos Mesh kubectl get pods -n chaos-mesh
Expected: all pods Running
Generate a fault experiment from a description.
Steps: 1. Identify: tool (Litmus/Mesh), fault class (pod/network/stress/node), target workload name and namespace 2. **Require steady-state hypothesis** before generating the experiment:
3. Generate the experiment CRD with:
4. Output: experiment YAML + `kubectl apply` command + expected ChaosResult verdict
See `examples/chaos/pod-delete-experiment.yaml` and `examples/chaos/network-loss-experiment.yaml` for complete examples.
Wrap an experiment in a recurring schedule.
Steps: 1. **Litmus ChaosSchedule:**
apiVersion: litmuschaos.io/v1alpha1
kind: ChaosSchedule
metadata:
name: pod-delete-weekly
namespace: my-namespace
spec:
schedule:
repeat:
properties:
minChaosInterval: "168h"
engineTemplateSpec:
appinfo:
appns: my-namespace
applabel: "app=my-service"
appkind: deployment
chaosServiceAccount: litmus-admin
experiments:
- name: pod-delete
spec:
components:
env:
- name: TOTAL_CHAOS_DURATION
value: "60"2. **Chaos Mesh Schedule:**
apiVersion: chaos-mesh.org/v1alpha1
kind: Schedule
metadata:
name: network-loss-weekly
namespace: my-namespace
spec:
schedule: "0 2 * * 1"
type: NetworkChaos
historyLimit: 5
concurrencyPolicy: Forbid
networkChaosTemplate:
spec:
action: loss
mode: all
selector:
namespaces: [my-namespace]
labelSelectors:
app: my-service
loss:
loss: "20"
duration: 60s3. Recommend staging only — never schedule experiments in production without a change window
Run a structured GameDay experiment.
Steps: 1. **Define steady-state hypothesis:**
2. **Scope the blast radius:**
3. **Inject the fault** (reference experiment from `experiment` mode output)
4. **Observe:**
5. **Record the verdict:**
A production-grade field handbook for platform, DevOps, SRE, and cloud engineers covering Kubernetes, Flux CD, Terraform, GitHub Actions, AWS, OPA/Rego, KEDA, Karpenter, supply chain security, Falco, observability, and more.
Repo: nitinjain999/platform-skills
Generate and enforce policy gates for AI coding agents (Copilot, Claude Code) — real-time session hooks that deny protected-path edits and dangerous commands,…
Generate, convert, and maintain animated GitHub-safe Markdown documents with animated SVG diagrams. Covers four SVG patterns (architecture flow, lifecycle…
AWS profile management for MCP servers — discover profiles across SSO, Granted, and assumed-role chains, check credential TTL, switch profiles across VS Code…
Structured guidance for AWS CloudFront distributions, WAF web ACLs, Lambda@Edge, CloudFront Functions, Firewall Manager multi-account enforcement, and IAM/IRSA…
Azure identity (Workload Identity, OIDC, Entra ID), resource tagging, AKS platform patterns, RBAC scoping, and production-readiness review — with Terraform…
Bootstrap Checkov on a developer laptop, run static or plan-level Terraform security scanning for AWS/Azure/GCP/EKS, resolve private GitHub modules via gh CLI,…