From python-code-reviewer
Reviews Python code for correctness, style, and IDM standards. Use when reviewing a PR, checking code before submitting, or analyzing Python code quality in IDM projects.
How this skill is triggered — by the user, by Claude, or both
Slash command
/python-code-reviewer:code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Perform a structured Python code review for IDM projects. Focus on what is actually present in the code — skip sections that are not relevant to the PR (e.g. if there is no simulation config, skip that section entirely).
Perform a structured Python code review for IDM projects. Focus on what is actually present in the code — skip sections that are not relevant to the PR (e.g. if there is no simulation config, skip that section entirely).
Always start with a one-paragraph summary of what the code does and the overall assessment before diving into details.
Use this severity system throughout:
except: — always catch specific exception typeswith statementsSkip this section if no tests are included in the PR.
assert result is not NoneApply only the subsections relevant to what the PR actually touches.
idmtools.ini, not hardcodedpathlib.Path and relative paths)requirements.txt or setup.py, not just importedGroup findings by severity, then by section. Example:
[One paragraph describing what the code does and overall quality]
filename.py:42 — [issue and why it matters]filename.py:15 — [what to improve and why]filename.py:8 — [minor preference]If a section has no findings, omit it from the output. Always end with the ✅ section to acknowledge what was done well.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub institutefordiseasemodeling/idm-agent-skills --plugin python-code-reviewer