What problem does it solve?
The Python Backend Code Reviewer skill provides expert, architecture-aware analysis to identify over-complexity, duplicated logic, anti-patterns, and deviations from best practices in Python backend code. It helps teams quickly surface high-impact maintainability issues introduced by AI-generated code and guides targeted refactoring.
Core Features & Use Cases
- Static quality assessment: analyzes code structure, complexity, and duplication to yield actionable remediation guidance.
- Anti-pattern detection: highlights common Python backend antipatterns (duplication, over-engineering, poor imports) and suggests established refactoring patterns.
- Guided remediation: references refactoring patterns and best-practices docs to drive concrete improvements with minimal boilerplate.
- Use Case: during code reviews of a service module, run the tool to identify duplicated logic across endpoints and propose a refactor plan.
Quick Start
Use this skill during code reviews to audit Python backend quality. For immediate results, run:
- uv run python scripts/detect_duplicates.py path/to/code
- uv run python scripts/complexity_analyzer.py path/to/code
- uv run python scripts/analyze_imports.py path/to/code
- uv run python scripts/concurrency_analyzer.py path/to/code