Claude Tools / Commands / matlab-slash-commands

Commands · matlab/slash-commands

matlab-slash-commands

Slash commands for MATLAB development workflows — documentation, testing, optimization, code analysis, and MCP integration

CLEARED_STATICagent-agnosticv0.2.0

Pipeline results

Coverage

CLEARED_STATIC

Tests run

7 / 8

Portability

Agent-agnostic (works beyond Claude)

Type

Commands

Tests & results

What the pipeline checked

TestStateResult or reason
eligibilityranall eligibility checks passed
dedupranunique -- no near-duplicate found
clocran4424 code lines / 40 files
secretsranno secret patterns matched
egressranno egress patterns matched
injectionranno patterns matched (confidence: STANDARD)
required-fieldsranrequired fields present: name, version, description
behaviouraln/anot reached — prior gate did not pass

What's inside

Components found

templates/command-template.md
commandlow
commands/core/matlab-check.md
componentlow
commands/core/matlab-docs.md
componentlow
commands/core/matlab-livescript.md
componentmedium
commands/core/matlab-readme.md
componentlow
commands/core/matlab-run.md
componentlow
commands/development/matlab-explain.md
componentmedium
commands/development/matlab-refine.md
componentlow
commands/development/matlab-toolboxes.md
componentlow
commands/quality/matlab-errors.md
componentlow
commands/quality/matlab-optimize.md
componentlow
commands/testing/matlab-property-test.md
componentmedium
commands/testing/matlab-run-tests.md
componentlow
commands/testing/matlab-test.md
componentlow
copilot/prompts/matlab-check.prompt.md
componentlow
copilot/prompts/matlab-docs.prompt.md
componentmedium
copilot/prompts/matlab-optimize.prompt.md
componentmedium
copilot/prompts/matlab-readme.prompt.md
componentmedium
copilot/prompts/matlab-run.prompt.md
componentlow
copilot/prompts/matlab-test.prompt.md
componentmedium

Coverage

Not assessed

  • behavioural execution not run

README

From the repository

# MATLAB Slash Commands

Slash commands for MATLAB development workflows across multiple AI coding agents. Provides documentation generation, testing, optimization, code analysis, and live execution via MCP.

## Multi-Agent Support

| 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](docs/mcp-integration.md) |

## MCP Integration

When the [MATLAB MCP Core Server](https://github.com/matlab/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`

← Back to Commands