What problem does it solve?
Python code reviews often miss foundational issues like mutable defaults, bare except clauses, missing type hints, and duplicated logic. This Skill gives an AI reviewer a consistent, actionable checklist so every Python diff is evaluated against the same baseline of readability, type safety, error handling, and design principles.
Core Features & Use Cases
- Nine-section review checklist: Covers naming and style, Pythonic idioms, function and class design, type safety, error handling, anti-patterns, maintainability, architectural fit, and design principles.
- Severity rubric: Classifies findings as High, Medium, or Low based on runtime impact versus maintainability concerns, keeping review feedback calibrated.
- Reference examples: Provides before/after code patterns for keyword-only arguments, dataclasses, docstrings, custom exception hierarchies, DRY refactors, and proportionate design.
- Use Case: When a pull request modifies .py files, the review agent loads this Skill to flag issues such as a bare
except: block, a missing return type hint, or duplicated validation logic, each with a severity rating.
Quick Start
Ask the review agent to review the Python changes in this pull request using the foundational coding standards checklist.