error-resilience

Installation
SKILL.md

Error Resilience — Fault-Tolerant Systems


Mandatory Pre-Flight Context Inspection

Before writing retry logic, circuit breakers, or error handling routines, you MUST inspect:

  1. Idempotency Key Rule for Retries → Require explicit idempotency keys when retrying state-changing mutations (POST/PUT); ban un-keyed blind retries
  2. Exponential Backoff with Full Jitter → Implement randomized full jitter with capped exponential delays (sleep = rand(0, min(cap, base * 2^attempt))); ban fixed-delay retry loops
  3. Global Request Timeout Budgets → Always pass and respect AbortSignal.timeout(ms) to cancel downstream calls before connection pool starvation occurs
  4. Operational vs Programmer Error Split → Catch and recover strictly from known operational errors (network blips, rate limits); fail fast on programmer bugs (TypeError, null references)

Activation Boundaries

  • Activate when: Building resilient distributed systems, implementing retry loops, circuit breakers, timeout budgets, bulkhead isolation, and React error boundaries.
  • DO NOT activate when: Writing localized pure mathematical transformations or simple CSS styling.

2026 Fault Tolerance & Resilience Invariants

Installs
3
GitHub Stars
7
First Seen
Apr 26, 2026