author-modeladvisor-checks
Author or upgrade Model Advisor checks for Simulink and System Composer models. Use when creating new checks (edit-time, standard batch, config-parameter, auto-fix) or converting legacy StyleOne/StyleTwo/StyleThree checks to modern DetailStyle. Covers DetailStyle callbacks, ResultDetail reporting, sl_customization registration, and edit-time EdittimeCheck classes.
npx skills add matlab/simulink-agentic-toolkit --skill author-modeladvisor-checks --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Check Authoring Create or upgrade Model Advisor checks to use modern DetailStyle callbacks and ResultDetail reporting. This skill prevents common authoring mistakes: using deprecated StyleOne/StyleTwo patterns, incorrect registration, missing result formatting, and wrong callback contexts. When upgrading legacy checks, read the existing code, identify the legacy pattern, and rewrite using the modern patterns below. ## When to Use - Creating a new Model Advisor check (standard, edit-time, or config-parameter) - Converting a legacy StyleOne/StyleTwo/StyleThree check to modern DetailStyle with ResultDetail - Adding an edit-time canvas warning for a naming or style rule - Validating configuration parameters programmatically with auto-fix - Enforcing a modeling convention with auto-fix actions - Checking System Composer architecture models (components, ports, connectors, interfaces, stereotypes) ## When NOT to Use - Running or debugging existing checks — use Model Advisor UI - Writing Simulink Test test cases - Querying model structure without creating a check — use `model_query_params` - Modifying Model Advisor configuration or preferences ## Workflow ### New Check Workflow 1. **Dete
- When to Use
- When NOT to Use
- Workflow
- New Check Workflow
- Legacy Conversion Workflow
- Step 1: Choose the Check Pattern
- Step 2: Choose the API Pattern(s) for Check Logic
- Conventions
- Code Generation
- Naming
- Files to Generate
- Verification
- Review Gate
What does the author-modeladvisor-checks skill do?
Author or upgrade Model Advisor checks for Simulink and System Composer models. Use when creating new checks (edit-time, standard batch, config-parameter, auto-fix) or converting legacy StyleOne/StyleTwo/StyleThree checks to modern DetailStyle. Covers DetailStyle callbacks, ResultDetail reporting, sl_customization registration, and edit-time EdittimeCheck classes.
How do I install it?
Run `npx skills add matlab/simulink-agentic-toolkit --skill author-modeladvisor-checks --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From matlab/simulink-agentic-toolkit, a repository with 903 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
