python-code-reviewer

Review Python modeling scripts against a validated method plan and expected artifacts.

452|24|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/zhnnky329/MathModeling-skills --skill python-code-reviewer-zhnnky329
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-reviewer
Source: https://github.com/zhnnky329/MathModeling-skills/tree/main/.claude/skills/python-code-reviewer
Command: npx skills add https://github.com/zhnnky329/MathModeling-skills --skill python-code-reviewer-zhnnky329

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Review, debug, and verify Python modeling code against the validated method plan and expected artifacts, ensuring runnable scripts and traceable results without altering the modeling route.

Core Features & Use Cases

  • Checks runnable Python scripts, ensures alignment with the approved method plan, and validates produce traceable artifacts.
  • Allows minimal fixes when needed, but must not change the modeling route or silently alter assumptions.
  • Use Case: after code-generation and routing by a code-review system, to confirm scripts are executable and outputs are reproducible before robustness checks or manuscript preparation.

Quick Start

Run the reviewer on routed Python scripts to validate runability, alignment with the method plan, and propagation of traceable outputs.

Frequently Asked Questions about python-code-reviewer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify Python modeling code against a validated method plan?

To verify Python modeling code against a validated method plan, review routed scripts to ensure runability, validate alignment with the approved plan, and confirm traceable artifacts are propagated to workspace directories.

Can I fix Python scripts during a post-generation code review without altering the modeling route?

You can apply minimal fixes to Python scripts during review to ensure executability, but you must not change the modeling route or silently alter the underlying assumptions of the validated method plan.

What is the best way to validate reproducible outputs from Python modeling scripts?

Validating reproducible outputs involves checking that routed Python scripts are executable and confirming that expected traceable results and figures are correctly saved under workspace/results and workspace/figures.

Do I need a validated method plan to review Python modeling scripts?

Yes, a validated method plan is required to review Python modeling scripts, serving as the baseline to verify code alignment, validate traceable artifacts, and ensure runnable scripts without altering the modeling route.

When do I need a Python code review for modeling artifacts?

You need a Python code review for modeling artifacts after code-generation and routing, ensuring scripts are executable and outputs are reproducible before proceeding to robustness checks or manuscript preparation.

Why does my Python modeling code review require specific workspace directories?

The review requires specific workspace directories to locate routed Python scripts under workspace/code/python and to validate that traceable artifacts are properly saved in workspace/results and workspace/figures.