python-resilience
✓Python 弹性模式包括自动重试、指数退避、超时和容错装饰器。在添加重试逻辑、实施超时、构建容错服务或处理瞬时故障时使用。
SKILL.md
Build fault-tolerant Python applications that gracefully handle transient failures, network issues, and service outages. Resilience patterns keep systems running when dependencies are unreliable.
Retry transient errors (network timeouts, temporary service issues). Don't retry permanent errors (invalid credentials, bad requests).
Increase wait time between retries to avoid overwhelming recovering services.
Python 弹性模式包括自动重试、指数退避、超时和容错装饰器。在添加重试逻辑、实施超时、构建容错服务或处理瞬时故障时使用。 来源:wshobson/agents。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/wshobson/agents --skill python-resilience- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-09
- 更新时间
- 2026-02-18
快速解答
什么是 python-resilience?
Python 弹性模式包括自动重试、指数退避、超时和容错装饰器。在添加重试逻辑、实施超时、构建容错服务或处理瞬时故障时使用。 来源:wshobson/agents。
如何安装 python-resilience?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/wshobson/agents --skill python-resilience 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/wshobson/agents