Review Python Scripts
Run the comprehensive Python code review protocol.
Steps
Identify scripts to review:
- If
$ARGUMENTSis a specific.pyfilename or path: review that file only - If
$ARGUMENTSisall: review all.pyscripts incode/py/(skipconfig.pyunless explicitly requested — it's a config file, not an analysis script)
- If
For each script, launch the
python-revieweragent with instructions to:- Follow the full protocol in
.claude/agents/python-reviewer.md - Read
.claude/rules/python-code-conventions.mdfor current standards - Read
code/py/config.pyto understand the path configuration - Save report to
quality_reports/[script_name]_python_review.md
- Follow the full protocol in
After all reviews complete, present a summary:
- Total issues found per script
- Breakdown by severity (Critical / High / Medium / Low)
- Top 3 most critical issues across all scripts
IMPORTANT: Do NOT edit any Python source files. Only produce reports. Fixes are applied after user review.