matlab-code-reviewer

Validates MATLAB and Beita Tianyuan scripts for runnability and traceable outputs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill validates MATLAB or Beita Tianyuan compatible modeling code after it has been routed by the code-reviewer, ensuring runnable scripts and traceable artifacts without altering the modeling route.

Core Features & Use Cases

  • Code validation: checks that .m scripts run, conform to the validated method plan, and produce expected results and figures.
  • Compatibility enforcement: ensures MATLAB / 北太天元 constraints are respected and avoids unsupported features.
  • Minimal fixes with traceability: applies tiny fixes when necessary, while keeping the original modeling decisions intact.
  • Workflow integration: aligns with the code-review workflow and returns actionable guidance rather than changing modeling choices.

Quick Start

Run the MATLAB code-review process on routed scripts to verify runnability and artifact generation.

Frequently Asked Questions about matlab-code-reviewer

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

FAQPage Schema
How do I validate MATLAB scripts to ensure they are runnable and produce traceable outputs?

MATLAB script validation checks that .m scripts run correctly, conform to the validated method plan, and produce expected results and figures. It verifies compatibility constraints and generates portable artifacts for audit and reproducibility.

Does the code review workflow support compatibility checks for 北太天元 alongside MATLAB?

Yes, compatibility enforcement ensures both MATLAB and 北太天元 constraints are respected. The code review identifies unsupported features and validates scripts against platform-specific requirements without altering the original modeling route.

What is the best way to review routed MATLAB code without changing the modeling decisions?

Apply a code review workflow to routed MATLAB scripts that verifies runnability and artifact generation. The process applies minimal fixes only when necessary while keeping original modeling decisions intact and returns actionable guidance.

How does automated MATLAB code review handle reproducibility and audit requirements?

Automated MATLAB code review produces artifact-ready results saved to portable formats for audit and reproducibility. The review validates scripts against the method plan and ensures all outputs are traceable to the original code.

Can I fix unsupported MATLAB features during code review without breaking the modeling route?

Yes, the review applies tiny fixes when necessary to address unsupported features while keeping original modeling decisions intact. It enforces MATLAB and 北太天元 compatibility constraints and returns actionable guidance rather than changing modeling choices.

Why do I need to validate MATLAB code after it has been routed by the code-reviewer?

Post-routing validation ensures routed MATLAB scripts are runnable, conform to the validated method plan, and produce expected results. It bridges routing and execution by verifying compatibility constraints and generating traceable artifacts.