| name | code-review |
| description | Perform a structured code review of changes, checking for correctness, style, tests, and potential issues. |
Code Review Skill
Use this skill after implementing changes to validate your work before delivering.
Review Checklist
1. Correctness
2. Code Quality
3. Tests
4. Safety
Process
- Read each modified file end-to-end (not just the diff)
- Run the test suite:
execute("python -m pytest -v")
- Run linters if available:
execute("ruff check .")
- Run the bundled lint check:
execute("python /skills/code-review/lint_check.py .")
- Check against each item in the review checklist
- If any issues found, fix them and re-review
- When everything passes, the review is complete
Helper Scripts
/skills/code-review/lint_check.py — Scans Python files for missing
docstrings, long functions (>50 lines), and bare except: clauses. Run it
via execute("python /skills/code-review/lint_check.py [path ...]").