Skip to content
cccskills
FreePublished on GitHub

matlab-code-reviewer

Review, run, debug, and verify approved MATLAB or Beita Tianyuan modeling code against its plan, data contract, method decision, compatibility constraints, and experiment outputs, saving one compact JSON review.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md1.9 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Preconditions

  • MATLAB code and code/matlab/Qx/qx_code_plan.md exist.
  • Approved decision, method card, data profile, and run summary are available.
  • MATLAB or 北太天元 runtime availability is known.

Workflow

  1. Resolve approved main/baseline scope and any activated fallback.
  2. Inspect and run the code when a compatible runtime is available.
  3. Evaluate:
    • syntax
    • input_contract
    • method_alignment
    • reproducibility
    • output_contract
  4. Include compatibility evidence for toolbox usage, jsonencode, file I/O, plotting/export, and 北太天元 constraints.
  5. Add only relevant numerical, feasibility, leakage, or scale checks.
  6. If runtime is unavailable, use NOT_RUN rather than claiming execution success.
  7. If asked to fix findings, patch minimally and rerun affected checks.
  8. Save code/matlab/Qx/reviews/qx_matlab_review.json.

Review Schema

Use the same schema as python-code-reviewer, with:

  • "language": "matlab"
  • runtime
  • compatibility_target
  • optional compatibility check

Required named checks use PASS, FAIL, or justified NOT_APPLICABLE. Runtime-dependent checks use NOT_RUN when execution was impossible; this blocks G3 until executed.

Rules

  • Do not pad pass items.
  • Do not fabricate MATLAB/北太天元 execution.
  • Do not approve unavailable toolbox dependencies without an explicit target exception.
  • Do not change the mathematical model silently.
  • Do not require a duplicate Markdown review.

Verification

  • Approved main and baseline scope is enforced.
  • Compatibility constraints are checked.
  • Run summary and outputs agree.
  • Verdict follows required check statuses and runtime evidence.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Detect whether approved modeling code is Python or MATLAB/Beita Tianyuan and route it to the matching reviewer using the compact named-check review contract.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

Audit whether the semantic evidence required by the active lean or submission profile exists and is current, without requiring one verbose artifact per skill or an arbitrary number of pass bullets.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

Run scoped or final cross-media consistency checks for mathematical-modeling artifacts, comparing canonical numbers, symbols, parameters, decisions, files, and paper claims without performing full-workspace audits for low-risk changes.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

Map contest attachments to subquestions, audit and clean raw data, and emit one reusable data profile with quality, coverage, imbalance, concentration, and method-readiness evidence for downstream risk screening.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

Build one compact choice card at a genuine mathematical-modeling judgment point. Use before method screening, after a meaningful experiment, or before final claim/freeze approval so the human chooses the trade-off while AI handles mechanical consequences.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

Plan the smallest set of diagnostic, comparison, paper, and appendix figures or tables needed to support verified mathematical-modeling decisions and claims.

The English summary is being prepared. Showing the original description.

zhnnky329/MathModeling-skills1.1KUpdated Sep 24, 2026

See all skills by zhnnky329

Report a problem with this skill