AI Blocks

Putting the blocks together

This is taking longer than expected.

Try againBrowse the library
AI Blocks · All skills by job · Minds · Mini tools · How it works · From a source · Apps

AI Blocks › Test and fix code

MATLAB code reviewer

Give it MATLAB code. Get a review of style, speed and upkeep, checked against MathWorks standards.

MATLAB code reviewer is a free AI skill for the job "Test and fix code". Give the instructions to an AI assistant that supports the required files and tools, then review its output.

Free · No account · BSD 2 Clause licence · Made by MathWorks

Made by MathWorks. See the original on GitHub; we copied it as it is, with its licence.

What it does

A written review of your MATLAB code that sorts problems by how much they matter: errors first, then warnings, then suggestions. It checks against MathWorks coding standards, not personal taste. It starts with the built-in code analyser, then loads the official guidelines and goes through a checklist. That list covers names for functions and variables, argument blocks, function length, nesting depth, vectorisation, preallocation and modern commands. It also catches things the analyser misses, such as subplot where tiledlayout belongs, variables that hide built-in functions like sum, and nesting deeper than three levels. Each finding gives the file, the issue and a suggested change. You need MATLAB and its connected tools.

You give it

You get

Use it when

How to use it

  1. Add it to your AI once: download it and add the folder to Claude, ChatGPT or Codex as a skill.
  2. Ask for the job in your own words. Your AI opens the skill when it fits.
  3. It works best when your AI can run MATLAB.

More for Test and fix code

Every test and fix code skill