old-python-code-review
Installation
SKILL.md
Old Python Code Review
Workflow
- Apply
repo-rules-readerto the requested repo rule files. For the default review baseline, readAGENTS.md,docs/REPO_STYLE.md,docs/PYTHON_STYLE.md,docs/PYTEST_STYLE.mdwhen present, anddocs/CHANGELOG.md. - Extract the review-relevant rules, especially how to run Python, Python style, pytest style, repo workflow rules, and the latest changelog entry.
- Inspect changed files first (
git diff,git status --short), then inspect related call sites. - If the repo has
docs/active_plans/, identify the active plan document(s) that govern the change. Otherwise, skip plan-conformance steps. - If an active plan exists, map code and tests to plan requirements, acceptance criteria, and stated constraints. Otherwise, skip this step.
- Prioritize findings by severity: plan mismatch/regressions when applicable, correctness/safety, then maintainability.
- Provide concrete, minimal fixes with before/after examples when a fix is straightforward.
- Flag uncertainty explicitly and ask targeted review questions for unclear logic or contracts.