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.
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.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- When to Use
- When NOT to Use
- Output Conventions
- Writing Good Requirements
- EARS Patterns
- Examples — Model Concepts to EARS Requirements
- Rules
- Backend Decision Gate
- Workflow
- Path A — Requirements Toolbox (.slreqx)
- Path B — Structured YAML fallback
- Guardrails
- Review Gate
- References
python -c "import yaml, sys; yaml.safe_load(open(sys.argv[1])); print('OK')" path/to/requirements.yamlWhat 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.
