Auto-discovered marketplace from matlab/slash-commands
npx claudepluginhub matlab/slash-commandsSlash commands for MATLAB development workflows — documentation, testing, optimization, code analysis, and MCP integration
Production-ready workflow orchestration with 79 focused plugins, 184 specialized agents, and 150 skills - optimized for granular installation and minimal token usage
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations
Curated collection of 141 specialized Claude Code subagents organized into 10 focused categories
Share bugs, ideas, or general feedback.
Slash commands for MATLAB development workflows across multiple AI coding agents. Provides documentation generation, testing, optimization, code analysis, and live execution via MCP.
| Agent | Format | Commands | Install |
|---|---|---|---|
| Claude Code | Plugin | All 13 | /plugin install github:matlab/slash-commands |
| GitHub Copilot | .prompt.md | 6 key commands | Copy copilot/prompts/ to .github/prompts/ |
| Cursor IDE | .mdc rules | Rules (always-on) | Copy cursor/rules/ to .cursor/rules/ |
| Any MCP agent | MCP server | Via MATLAB MCP Core Server | See MCP Guide |
When the MATLAB MCP Core Server is connected, commands gain live capabilities:
| MCP Tool | What It Enables |
|---|---|
check_matlab_code | Real Code Analyzer diagnostics |
evaluate_matlab_code | Execute MATLAB expressions, benchmark code |
run_matlab_file | Run .m files and return output |
run_matlab_test_file | Execute test suites and report results |
detect_matlab_toolboxes | List installed toolboxes |
All commands work without MCP. They generate code and instructions as before. MCP adds validation, execution, and measurement. See MCP Integration Guide.
/plugin install github:matlab/slash-commands
cp -r copilot/prompts/ .github/prompts/
mkdir -p .cursor/rules
cp cursor/rules/matlab-development.mdc .cursor/rules/
git clone https://github.com/matlab/slash-commands.git
| Command | Description | MCP Enhanced |
|---|---|---|
/matlab-readme | Generate project README | Yes |
/matlab-docs | Document MATLAB functions | Yes |
/matlab-livescript | Create formatted Live Scripts | Yes |
/matlab-check | Run Code Analyzer on code | MCP |
/matlab-run | Execute MATLAB code or files | MCP |
| Command | Description | MCP Enhanced |
|---|---|---|
/matlab-test | Generate unit tests | Yes |
/matlab-property-test | Create property-based tests | Yes |
/matlab-run-tests | Run test suite and report results | MCP |
| Command | Description | MCP Enhanced |
|---|---|---|
/matlab-optimize | Optimize code performance | Yes |
/matlab-errors | Add error handling and validation | Yes |
| Command | Description | MCP Enhanced |
|---|---|---|
/matlab-explain | Explain code functionality | Yes |
/matlab-refine | Refine requirements into specs | Yes |
/matlab-toolboxes | Detect installed toolboxes | MCP |
MCP Enhanced = works without MCP but gains live capabilities with it MCP = primarily designed for MCP, with static fallback
/matlab-test myFunction # Generate tests
/matlab-run-tests # Run them via MCP, see pass/fail
/matlab-optimize # Optimizes and benchmarks before/after
/matlab-refine "process sensor data" # Clarify requirements
/matlab-test processData # Generate tests
/matlab-check processData.m # Run Code Analyzer
/matlab-optimize # Optimize performance
/matlab-errors # Add error handling
/matlab-docs processData # Generate documentation
/matlab-readme # Generate project README
See CONTRIBUTING.md for guidelines on adding commands, improving existing ones, and maintaining cross-agent formats.
BSD 3-Clause License. See LICENSE.
Copyright (c) 2025, The MathWorks, Inc.