resilience-patterns
CommunityBuild robust Python apps against failures.
Software Engineering#python#resilience#circuit breaker#fault tolerance#timeout#retry#graceful degradation
Author101mare
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides Python code patterns to make applications resilient to failures in external services, preventing cascading errors and ensuring graceful operation even when dependencies are unavailable.
Core Features & Use Cases
- Retry with Backoff: Automatically retry failed operations with increasing delays to avoid overwhelming services.
- Circuit Breaker: Prevent repeated calls to a failing service, failing fast instead of waiting for timeouts.
- Timeout Wrapper: Enforce maximum execution times for operations to prevent indefinite hangs.
- Graceful Degradation: Allow applications to continue functioning with reduced capabilities when non-critical services fail.
- Use Case: When calling a third-party API that is occasionally slow or unavailable, these patterns ensure your application doesn't crash, retries intelligently, and can even provide a degraded experience if the API is down for an extended period.
Quick Start
Use the resilience-patterns skill to implement retry logic with exponential backoff for a function that calls an external API.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: resilience-patterns Download link: https://github.com/101mare/skill-library/archive/main.zip#resilience-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.