python-anti-patterns

Identifies Python anti-patterns in source files and generates a remediation plan.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/Sanali209/BCor --skill python-anti-patterns-sanali209
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-anti-patterns
Source: https://github.com/Sanali209/BCor/tree/main/.agents/skills/python-anti-patterns
Command: npx skills add https://github.com/Sanali209/BCor --skill python-anti-patterns-sanali209

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Common Python anti-patterns to avoid during code reviews, refactoring, onboarding, or debugging, helping teams improve code quality and maintainability.

Core Features & Use Cases

  • Checklist-based identification of prevalent Python anti-patterns across codebases.
  • Provides actionable remediation guidance and best-practice alternatives.
  • Useful for code reviews, onboarding new engineers, and teaching Python coding standards.

Quick Start

Review a Python codebase to identify anti-patterns and generate a remediation plan.

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 I should look for during code reviews?

Common Python anti-patterns include mutable default arguments, improper exception handling, and inefficient list comprehensions. This Skill identifies these issues across Python source files and generates a remediation plan with actionable best-practice alternatives.

How do I find and fix Python anti-patterns in my codebase?

To find Python anti-patterns, analyze your Python source files using checklist-based identification. This Skill detects prevalent anti-patterns and outputs a concrete remediation plan to improve code quality and maintainability.

Can I use this for refactoring and onboarding Python projects?

Yes, you can use this for refactoring and onboarding Python projects. The Skill applies checklist-based anti-pattern identification to help new engineers learn Python coding standards and assists teams in improving existing code maintainability.

What is the best way to generate a remediation plan for Python source files?

The best way to generate a remediation plan is to analyze Python source files to detect anti-patterns. This Skill produces a concrete remediation plan with actionable improvements and best-practice alternatives.

Does Python anti-pattern detection work without external static analysis dependencies?

Yes, Python anti-pattern detection works without external static analysis dependencies. The Skill uses a checklist-based approach to analyze source files and identify code quality issues independently.

When should I not use a checklist-based approach for Python code review?

You should avoid a checklist-based approach when you need custom rule enforcement for complex architectural flaws rather than common anti-patterns. This Skill targets prevalent Python anti-patterns and standard best-practice improvements.