Specifies algorithms for Model-Based Design: system specs, architecture specs, implementation plans, test plans for controllers, signal processing, diagnostics, and estimators authored in Simulink, Stateflow, System Composer, or MATLAB Function blocks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/model-based-design-core:specifying-mbd-algorithmsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured specification of algorithms for Model-Based Design. Adapts the `specifying-software` templates for the MBD algorithm domain.
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: reference/system-spec-template.md
Review gate before proceeding — verify:
Template: reference/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: reference/implementation-plan-template.md, reference/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 reference/spec-types.md. Create a detailed spec when architecture is blocked by: control law definition, state machine definition, or interface contract.
reference/system-spec-template.md — System spec template (what & why)reference/architecture-spec-template.md — Architecture template (functional decomposition)reference/implementation-plan-template.md — Build sequence templatereference/test-plan-template.md — Validation plan templatereference/algorithm-guidance.md — Optional domain research checklistreference/detailed-spec-template.md — Control law, state machine, or interface contract (use when architecture is blocked)reference/component-spec-template.md — Complex component internals (rarely needed)Copyright 2026 The MathWorks, Inc.
npx claudepluginhub matlab/simulink-agentic-toolkit --plugin model-based-design-coreStructured specification of plant models for closed-loop simulation. Use when creating, updating, or reviewing plant model specs, planning architecture, or planning validation.
Generates formal specifications for components, behaviors, protocols, and algorithms using TLA+, SysML, state machines, or UML. For safety-critical systems and workflows.
Creates comprehensive RTL implementation plans for hardware designs like DMA controllers, UARTs, and memory subsystems, covering blocks, interfaces, clocks, FSMs, and pipelines.