matlab-modernize-code
Installation
SKILL.md
Code Modernization
Replace deprecated MATLAB functions and anti-patterns with modern equivalents. This skill is the resolver — check_matlab_code is the detector.
When to Use
check_matlab_codeorcheckcodereturns "not recommended" or "to be removed" warnings- User asks to modernize, migrate, or update old MATLAB code
- Code uses functions listed in the quick reference table below
- After static analysis reveals deprecated API usage
- Writing new code in a domain that has known deprecated patterns
When NOT to Use
- Reviewing code quality broadly — use
matlab-review-code(which may then trigger this skill) - Debugging runtime errors — use
matlab-debugging - Performance profiling — use performance skills (though anti-patterns below overlap)