Built around the tenacity library, this gives you production-ready retry patterns with exponential backoff, jitter, and proper error classification. It shows how to retry network timeouts but not authentication errors, stack timeout decorators with retry logic, and log retry attempts for debugging. The patterns handle both exceptions and HTTP status codes, with examples for synchronous and async code. Good for microservices that call flaky external APIs or any system where you need graceful degradation instead of immediate failures.
npx skills add https://github.com/wshobson/agents --skill python-resilience