·python-anti-patterns
</>

python-anti-patterns

wshobson/agents

要避免的常见 Python 反模式。在最终实现之前检查代码时或调试可能源于已知不良实践的问题时,可用作清单。

1.2K安装·65热度·@wshobson

安装

$npx skills add https://github.com/wshobson/agents --skill python-anti-patterns

SKILL.md

A reference checklist of common mistakes and anti-patterns in Python code. Review this before finalizing implementations to catch issues early.

Note: This skill focuses on what to avoid. For guidance on positive patterns and architecture, see the python-design-patterns skill.

Fix: Retry at one layer only. Know your infrastructure's retry behavior.

要避免的常见 Python 反模式。在最终实现之前检查代码时或调试可能源于已知不良实践的问题时,可用作清单。 来源:wshobson/agents。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/wshobson/agents --skill python-anti-patterns
分类
</>开发工具
认证
收录时间
2026-02-11
更新时间
2026-02-18

快速解答

什么是 python-anti-patterns?

要避免的常见 Python 反模式。在最终实现之前检查代码时或调试可能源于已知不良实践的问题时,可用作清单。 来源:wshobson/agents。

如何安装 python-anti-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/wshobson/agents --skill python-anti-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/wshobson/agents