py-review
Installation
SKILL.md
Python Review Router
Use this skill first for Python code review. Orient on context, then load only the focused skills that match the changed code.
Before Reviewing: Orient
-
Check Python version from
pyproject.toml,setup.cfg,tox.ini, CI, or README.- Load each focused skill whose routing signal matches the changed code.
- Apply a rule only when its own
**Python:**caveat matches; do not generalize a project version across all rules. - If unknown: assume minimum 3.10 for routing, but phrase version-sensitive findings conservatively and call out the assumption.
-
Classify project maturity.
- Active/greenfield: full rule set is appropriate.
- Mature legacy/maintenance-only: prioritize CRITICAL and HIGH findings.
- Automation/scripts: prioritize safety, correctness, resource handling, and clear errors.