python-anti-patterns

Flag Python anti-patterns in code reviews to prevent bugs.

Updated Apr 4, 2026
One-click install
npx skills add https://github.com/emilneuraz-ai/neuraz-web --skill python-anti-patterns-emilneuraz-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-anti-patterns
Source: https://github.com/emilneuraz-ai/neuraz-web/tree/main/.agents/skills/.agents/skills/python-anti-patterns
Command: npx skills add https://github.com/emilneuraz-ai/neuraz-web --skill python-anti-patterns-emilneuraz-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reviewing Python code for common anti-patterns helps you catch issues before they propagate, improving reliability and maintainability.

Core Features & Use Cases

  • Reference checklist of common Python mistakes (infrastructure, architecture, error handling, type safety) to tighten code quality.
  • Useful during code reviews, debugging sessions, and when refactoring legacy Python projects to enforce best practices.

Quick Start

Review a pull request by running this checklist against the changed Python files to identify anti-patterns and recommended improvements.

Frequently Asked Questions about python-anti-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are common Python anti-patterns to look for during code reviews?

Python anti-patterns include infrastructure, architecture, error handling, and type safety mistakes. Identifying these common issues during code reviews prevents bugs and reduces maintenance debt before problems propagate into your codebase.

How do I check my Python code for anti-patterns when refactoring?

To check Python code for anti-patterns during refactoring, run a reference checklist against changed files to identify common mistakes and surface actionable fixes that reinforce best practices and coding standards.

Can I use a Python anti-patterns checklist for debugging sessions?

Yes, you can use a Python anti-patterns checklist during debugging sessions. Identifying applicable scenarios and common mistakes helps trace bugs and surface actionable fixes to ensure code meets best practices.

What is the best way to enforce Python best practices in pull requests?

The best way to enforce Python best practices in pull requests is reviewing changed files against a checklist of common mistakes. This surfaces anti-patterns and actionable fixes to tighten code quality and maintainability.

Does this Python anti-patterns checklist cover error handling and type safety?

Yes, the Python anti-patterns checklist covers error handling and type safety. It also includes infrastructure and architecture mistakes to provide comprehensive coverage for tightening code quality during reviews.