Structures algorithm specifications for Model-Based Design in Simulink, Stateflow, System Composer, or MATLAB Function blocks. Covers system specs, architecture, implementation plans, and test plans for controllers, signal processing, diagnostics, and estimators.
Ships in model-based-design-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Structured specification of algorithms for Model-Based Design. Adapts the specifying-software templates for the MBD algorithm domain.
building-simulink-modelstesting-simulink-modelsspecifying-plant-modelsspecifying-softwarespecifying-plant-models for the plant sideStore specs per algorithm. Prefix every filename with the algorithm name:
docs/specs/algorithms/<algorithm-name>/
├── <algorithm-name>-system.md
├── <algorithm-name>-architecture.md
├── <algorithm-name>-implementation-plan.md
└── <algorithm-name>-test-plan.md
Is this a single-function algorithm with <3 operating modes, single-rate, and will be built by one person/agent?
- Yes → Quick spec: 2 documents (system+architecture combined, implementation+test combined)
- No → Full spec: 4 separate documents
Identify what this algorithm connects to. If an existing system exists, read it with model_overview and model_read. If greenfield, define the boundary from requirements.
Classify every signal crossing the algorithm boundary:
Establish what the algorithm must achieve — tracking performance, bandwidth, disturbance rejection, detection thresholds, processing latency, etc. These are the acceptance criteria that drive architecture decisions and test plan design.
Use web_search to confirm key equations, standards, or conventions referenced in the spec. Record confirmed sources in Appendix B: Research Notes.
Skip when: algorithm is purely logic-based, domain is well-known, or no equations are involved.
Template: assets/system-spec-template.md
Review gate before proceeding — verify:
Template: assets/architecture-spec-template.md
Review gate before finalizing — verify:
Required: API Verification for any API, function, or block behavior not already used in neighboring code. Test actual signatures and behavior using evaluate_matlab_code, web_search, or existing codebase usage. Record in Appendix B of the architecture spec.
Templates: assets/implementation-plan-template.md, assets/test-plan-template.md
Review gate — Implementation Plan — verify:
Review gate — Test Plan — verify:
Get user approval before implementation begins.
When updating specs: check affected sections, update them, update "Last Updated" date, review for consistency with other specs.
For guidance on when to create optional specs (detailed spec, component spec), see references/spec-types.md. Create a detailed spec when architecture is blocked by: control law definition, state machine definition, or interface contract.
assets/system-spec-template.md — System spec template (what & why)assets/architecture-spec-template.md — Architecture template (functional decomposition)assets/implementation-plan-template.md — Build sequence templateassets/test-plan-template.md — Validation plan templatereferences/algorithm-guidance.md — Optional domain research checklistassets/detailed-spec-template.md — Control law, state machine, or interface contract (use when architecture is blocked)assets/component-spec-template.md — Complex component internals (rarely needed)Copyright 2026 The MathWorks, Inc.
assets/architecture-spec-template.md (opens in a new tab)assets/component-spec-template.md (opens in a new tab)assets/detailed-spec-template.md (opens in a new tab)assets/implementation-plan-template.md (opens in a new tab)assets/system-spec-template.md (opens in a new tab)assets/test-plan-template.md (opens in a new tab)manifest.yaml (opens in a new tab)references/algorithm-guidance.md (opens in a new tab)references/spec-types.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/model-based-design-core:specifying-mbd-algorithmsfrom model-based-design-core
npx claudepluginhub matlab/simulink-agentic-toolkit --plugin model-based-design-core12 skills in this plugin
/arranging-simulink-layoutsArranges Simulink block diagram layout to improve readability using the model_edit layout engine. Use when the user asks to fix, clean up, tidy, straighten, or rearrange a layout, or to run Simulink's Auto Arrange, when blocks overlap or lines cross, when specific blocks need repositioning, or when grouping blocks into or expanding a subsystem./building-simulink-modelsBuilds and edits Simulink, System Composer, Stateflow, and Simscape models. Use when modifying model structure, parameters, ports, connections, or Stateflow chart internals./Other plugins' skills for the same job