بنقرة واحدة
chaos-engineering
Chaos Engineering: Fault injection, resilience testing, game days, chaos mesh, litmus.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Chaos Engineering: Fault injection, resilience testing, game days, chaos mesh, litmus.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Bun runtime: HTTP server, file I/O, SQLite, test runner, package manager, bundler — all-in-one JS toolchain.
Clerk: Drop-in auth UI, Organizations, User management, JWT templates, webhooks, Next.js middleware integration.
Gelişmiş masaüstü, tarayıcı ve işletim sistemi kontrol yeteneği. Görsel (koordinat tabanlı) fare/klavye otomasyonu, DOM manipülasyonu, pencere yönetimi, gelişmiş dosya, ağ ve süreç yönetimini kapsar.
Drizzle ORM: Schema definition, type-safe queries, migrations, relations, Postgres/SQLite/MySQL support.
Expo Router v3: File-based navigation, layouts, tabs, modals, deep linking, API routes, typed routes.
Flutter ile oyun geliştirme (Flame Engine vb.) ve karmaşık, büyük ölçekli mimariler kurma rehberi.
| name | chaos-engineering |
| description | Chaos Engineering: Fault injection, resilience testing, game days, chaos mesh, litmus. |
| triggers | {"extensions":[".yaml",".json",".py"],"directories":["chaos/","resilience/","testing/"],"keywords":["chaos","resilience","fault injection","game day","chaos mesh","litmus","gremlin","failure"]} |
| auto_load_when | Building resilient systems or testing fault tolerance |
| agent | platform-engineer |
| tools | ["Read","Write","Bash"] |
Focus: Resilience testing, fault injection, observability
Chaos Engineering Principles:
├── Start by defining steady state
│ ├── Normal behavior metrics
│ └── "System should serve 99% of requests under 200ms"
│
├── Hypothesize about behavior
│ ├── "If service A fails, service B should..."
│ └── Document expected behavior
│
├── Inject real failures
│ ├── Kill processes
│ ├── Network latency
│ └── Resource exhaustion
│ └── Real problems, not simulated
│
├── Test in production (carefully)
│ ├── Or production-like staging
│ └── Small blast radius
│ && Observe, don't break
│
└── Automate & run continuously
└── Run as part of CI/CD
└── Reproducible
Common Failure Tests:
├── Service failure
│ ├── Kill a pod/service
│ ├── CPU/memory exhaustion
│ └── Process crash
│
├── Network failure
│ ├── Latency injection
│ ├── Packet loss
│ └── DNS failure
│ └── Network partition
│
├── Dependency failure
│ ├── External API timeout
│ ├── Database unavailable
│ └── Cache unavailable
│
├── Infrastructure failure
│ ├── AZ failure
│ └── Instance termination
│ └── Disk full
│
└── Configuration failure
├── Bad config deploy
└── Feature flag off
└── Secret rotation
Chaos Tools:
├── Kubernetes-native
│ ├── Chaos Mesh (CNCF)
│ ├── LitmusChaos
│ └── Crossplane for chaos
│
├── VM-based
│ ├── Gremlin
│ └── Chaos Monkey (Netflix)
│
└── Cloud-native
├── AWS Fault Injection Simulator
└── GCP chaos experiments
Example Chaos Mesh YAML:
```yaml
apiVersion: chaos-mesh.org/v1alpha1
kind: PodChaos
metadata:
name: pod-kill
spec:
action: pod-failure
mode: one
duration: 30s
---
## 4. Observability During Chaos
Observability Requirements: ├── Metrics │ ├── Latency (p50, p95, p99) │ ├── Error rate │ └── Throughput │ ├── Distributed tracing │ ├── Trace each request │ ├── See failure propagation │ └── Identify bottlenecks │ ├── Logging │ ├── Correlation IDs │ └── Structured logging │ └── Log levels │ └── Alerts ├── Threshold alerts └── Anomaly detection └── On-call rotation
---
## 5. Game Days
Game Day Process: ├── Pre-game day │ ├── Define scenario │ ├── Plan rollback │ └── Communicate (don't alarm) │ ├── Execute │ ├── Run during low traffic │ └── Observe metrics │ └── Document observations │ ├── Post-game day │ ├── What worked │ ├── What failed (intentionally and not) │ └── Fix discovered issues │ └── Example scenarios ├── "Kill database primary, verify failover" └── "Network partition between two services" └── "Add 10x load, verify auto-scaling"
---
## Key Patterns
1. **Start simple** - Process crash, not multi-region failure
2. **Blast radius** - Small at first, expand as confidence grows
3. **Stop on degradation** - If system degrades unexpectedly, abort
4. **Document hypothesis** - What should happen before injecting
5. **Automate** - Manual chaos is not repeatable
---
## Anti-Patterns
❌ Test in production without guardrails — causing outage ✅ Test in staging first, small blast radius in prod
❌ No rollback plan — can't recover ✅ Always know how to stop the experiment
❌ No hypothesis — random chaos, no learning ✅ Define: "Should X happen when Y fails"
❌ Not observability — can't see what's happening ✅ Ensure metrics/traces visible before test
❌ One-time test — no continuous validation ✅ Automate as part of CI/CD pipeline
---
## Quick Reference
| Tool | Focus | Environment |
|---|---|---|
| Chaos Mesh | K8s pod/network chaos | K8s |
| LitmusChaos | K8s, cloud-native | K8s |
| Gremlin | Multi-platform | Any |
| FIS | AWS | AWS |
| Pumba | Docker chaos | Docker |
## 🌍 Universal Language Support
- **Turkish Native:** This skill natively supports Turkish. If the user prompt is in Turkish, all analysis, formatting, and output MUST be entirely in Turkish. You do not need explicit "write in Turkish" instructions.