
Description
python-anti-patterns is an agent skill from the wshobson/agents collection that works as a checklist of common mistakes in Python code. It is meant to be read before a change is finalized, so an agent or developer can catch problems early instead of after they cause trouble. The checklist covers the mistakes that appear most often in real projects, and it starts with infrastructure anti-patterns, such as timeout and retry logic that is scattered across a codebase rather than managed in one place. The skill is a reference of things to avoid, and it says so: for guidance on positive patterns and how to structure an application, it points to the separate python-design-patterns skill. It applies when reviewing Python code before a merge, debugging mysterious issues that often trace back to a common mistake, teaching or learning good Python habits, establishing coding standards for a team, and refactoring legacy code that has accumulated problems over time. Because it is a checklist, its value depends on applying it to the code in front of you rather than reading it once. The agent can use it as a review pass over a diff or a module, and the team decides which findings matter for its own project. The skill is installed with the skills CLI from the wshobson/agents repository. Its skills.sh page showed about 13.0K installs and passing results from three security audits at the time of the scan.…
Highlights
- Checklist of common Python mistakes
- Infrastructure anti-patterns such as scattered retry logic
- Use as a pre-merge review pass
- Points to design pattern guidance for positive practice
- Useful for refactoring legacy code
- Installs with the skills CLI
Ratings & Reviews
No ratings yet
Be the first to rate python-anti-patterns.
People also visit

coding-standards
Baseline cross-project coding conventions for naming, readability, immutability

cpp-coding-standards
C++ coding standards based on the C++ Core Guidelines (isocpp.github.io)

backend-code-review
Use only when the user explicitly requests a review or audit of backend code
python-anti-patterns FAQ
What is this skill?
A checklist of common mistakes and anti-patterns in Python code, to review before finalizing an implementation.
When should I use it?
Before merging code, when debugging issues that have no obvious cause, when refactoring legacy code, and when setting team standards.
Does it cover good patterns too?
No. It focuses on what to avoid. The skill points to python-design-patterns for positive patterns and architecture.
Is it a linter?
No. It is a reference checklist for review, and the agent applies it to the code in front of it.
How do I install it?
Run npx skills add https://github.com/wshobson/agents --skill python-anti-patterns.
What security audits does it have?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best python-anti-patterns alternatives?
Popular alternatives to python-anti-patterns include coding-standards, cpp-coding-standards and python-patterns. See all python-anti-patterns alternatives

