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.- If
>=3.10: load all relevant core skills, but apply each rule only when its Python/tool caveat matches. - If
3.8-3.9: skip syntax rules requiring>=3.10. - If unknown: assume minimum 3.10, but phrase version-sensitive findings conservatively.
- If
-
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.