Structured specification of plant models for closed-loop simulation. Use when creating, updating, or reviewing plant model specs, planning architecture, or planning validation.
How this skill is triggered — by the user, by Claude, or both
Slash command
/model-based-design-core:specifying-plant-modelsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Structured specification of plant models for closed-loop simulation. Adapts the `specifying-software` templates for the physics-modeling domain.
Structured specification of plant models for closed-loop simulation. Adapts the specifying-software templates for the physics-modeling domain.
building-simulink-modelstesting-simulink-modelsspecifying-mbd-algorithmsspecifying-softwarespecifying-mbd-algorithms for the algorithm side, this skill for the plant sideStore specs per plant model. Prefix every filename with the plant name so files are self-identifying in editor tabs, search results, and flat listings:
docs/specs/plant-models/<plant-name>/
├── <plant-name>-system.md # What & why
├── <plant-name>-architecture.md # Subsystem decomposition
├── <plant-name>-implementation-plan.md # Build sequence
└── <plant-name>-test-plan.md # Validation plan
Example for a plant called motor:
docs/specs/plant-models/motor/
├── motor-system.md
├── motor-architecture.md
├── motor-implementation-plan.md
└── motor-test-plan.md
Does this plant have <5 states, single-rate dynamics, no strong nonlinearities, 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
| Spec | Answers | Does NOT Contain |
|---|---|---|
| System | What are we building and why? | Subsystem decomposition, equations |
| Architecture | How is it structured? | Simulink block details, parameter values |
| Implementation Plan | How do we build it? | Actual model_edit commands |
| Test Plan | How do we validate it? | Test execution results |
In quick mode, combine system+architecture and implementation+test into two documents.
Read the controller model with model_overview and model_read. Classify every signal as:
Define the plant boundary and document sample times.
Before researching the domain, establish what evidence exists: test data, datasheets, standard maneuvers, analytic expectations, reference models.
Fidelity must be justified by available evidence — no point modeling dynamics you can't validate. Intended use matters: MIL rapid iteration → lower fidelity acceptable; HIL/code generation → fixed-step, real-time constraints.
Use web_search and read_web_page for standard modeling approaches, reference parameters, and authoritative sources. Consult reference/plant-model-guidance.md for cross-domain patterns if needed.
Use reference/system-spec-template.md. Key plant-model sections: operating scenarios, physical model requirements, controller interface contract (u/w/y/z with sample times, data types, units), initialization & operating points, rate & timing alignment, validation evidence, reference sources.
Review gate before proceeding — verify:
Get user review before proceeding.
Use reference/architecture-spec-template.md. Key plant-model sections: component catalog with physics domain and port interfaces, equations of motion per subsystem, nonlinearities & constraints, numerical considerations (solver, stiffness, algebraic loops), parameter management, uncertainty hooks.
Review gate before finalizing — verify:
Get user review before proceeding.
Use reference/implementation-plan-template.md and reference/test-plan-template.md.
Implementation plan essentials:
model_read verification and model_query_params spot-checksTest plan essentials:
model_test formatReview gate — Implementation Plan — verify:
Review gate — Test Plan — verify:
Get user approval before building begins.
web_search for domain-specific researchweb_search results from unvetted sources — prefer standards, textbooks, MathWorks docs, and peer-reviewed papersreference/system-spec-template.md — System spec template (what & why)reference/architecture-spec-template.md — Architecture template (subsystem decomposition)reference/implementation-plan-template.md — Build sequence templatereference/test-plan-template.md — Validation plan templatereference/plant-model-guidance.md — Optional domain reference (decomposition examples, validation maneuvers, solver guide). Human-facing; do not copy verbatim into specs.Copyright 2026 The MathWorks, Inc.
npx claudepluginhub matlab/simulink-agentic-toolkit --plugin model-based-design-coreSpecifies 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.
Provides SysML modeling guidance for systems engineering and MBSE, covering diagram types, PlantUML syntax for requirements diagrams, and best practices.
Creates comprehensive RTL implementation plans for hardware designs like DMA controllers, UARTs, and memory subsystems, covering blocks, interfaces, clocks, FSMs, and pipelines.