Agent skill · AI & Agents

generate-requirement-drafts

Generates draft requirements from Simulink models. Use when drafting or updating requirement artifacts from a model. Prefers Requirements Toolbox (.slreqx) when available; falls back to structured YAML.

matlabgithub.com/matlabGitHub ↗
claude-codecodexcopilotNOASSERTION
Install
npx skills add matlab/simulink-agentic-toolkit --skill generate-requirement-drafts --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 6
SKILL.md size: 10 KB
Bundled scripts: none
Version: 2.2
Declared author: MathWorks
Path: skills-catalog/model-based-design-core/generate-requirement-drafts/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 903
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Generate Requirement Drafts Generate draft requirements from Simulink models using the richest artifact the environment supports. All outputs are **drafts** requiring human review and approval before baselining. ## When to Use - Drafting or updating requirements from a Simulink model - Creating `.slreqx` or `.yaml` requirements artifacts - Establishing model-to-requirement traceability ## When NOT to Use - Importing requirements from an existing source of truth (ReqIF, DOORS, Word, Excel) — use Requirements Toolbox import APIs directly - Writing or running tests — use the `testing-simulink-models` skill - Free-form prose notes with no saved artifact - User explicitly wants a different text format (markdown, Word) ## Output Conventions - Default file names: `<Model>_Requirements.slreqx` or `<model>_requirements.yaml` - Stable IDs: `REQ_<SYSTEM>_001`, `REQ_<SYSTEM>_002`, … - Follow repo conventions if `.slreqx` or `.yaml` files already exist - When updating an existing artifact, preserve existing IDs — append new IDs, never renumber - Every generated requirement must be marked as draft — use `"draft"` in Keywords (slreq) or `status: Draft` + `keywords: [draft]` (YAML) ## Writing Go

What's inside
Steps it walks through
  1. When to Use
  2. When NOT to Use
  3. Output Conventions
  4. Writing Good Requirements
  5. EARS Patterns
  6. Examples — Model Concepts to EARS Requirements
  7. Rules
  8. Backend Decision Gate
  9. Workflow
  10. Path A — Requirements Toolbox (.slreqx)
  11. Path B — Structured YAML fallback
  12. Guardrails
  13. Review Gate
  14. References
Ships with 5 files
  • assets/requirements.yaml
  • assets/slreq_from_model.m
  • manifest.yaml
  • references/slreq-patterns.md
  • references/yaml-requirements.md
Commands it runs
python -c "import yaml, sys; yaml.safe_load(open(sys.argv[1])); print('OK')" path/to/requirements.yaml
More from simulink-agentic-toolkit
All skills →
About this skill
What does the generate-requirement-drafts skill do?

Generates draft requirements from Simulink models. Use when drafting or updating requirement artifacts from a model. Prefers Requirements Toolbox (.slreqx) when available; falls back to structured YAML.

How do I install it?

Run `npx skills add matlab/simulink-agentic-toolkit --skill generate-requirement-drafts --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.

Keep going