Install any skill in seconds. Free to start, no credit card required.
Get Started Free →matlab/matlab-review-code
Review MATLAB code for quality, performance, maintainability, and adherence to MathWorks coding standards. Uses check_matlab_code and matlab_coding_guidelines.
Passed 22 of 23 test cases with the skill, and 15 of 23 without it.
and 7 more in the full report
7 fixed15 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
In a function reviewing data files, loops and conditionals nest down to 4 levels (`for` inside `if` inside `while` inside `for`). What nesting limit was breached and at what severity level?
| Checked | Without skill | With skill |
|---|---|---|
| Flags nesting depth for exceeding 3 levels. | Passed | Passed |
| Categorizes nesting depth exceeding 3 levels as a warning severity. | Missed | Passed |
The instructions your model reads when the skill loads.
Systematically review MATLAB code for quality, correctness, performance, and adherence to MathWorks coding conventions using static analysis and manual inspection patterns.
matlab-debug-code insteadmatlab-write-test insteadcheck_matlab_code MCP tool on all target filesmatlab_coding_guidelines MCP resourceUse the check_matlab_code MCP tool on each file. Then inspect results programmatically:
info = checkcode("src/computeArea.m", "-struct");
for k = 1:numel(info)
fprintf('Line %d (col %d-%d): %s\n', ...
info(k).line, info(k).column(1), info(k).column(end), info(k).message);
end
test cases passed, vs 15 / 23 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.