Logo vun Requirements

Requirements

Communautéit
ptsilivis
requirements

Requirements-engineering expert that operates in three modes: (1) Elicitation — extract atomic, testable requirements from briefs, meeting notes, or system specs using EARS notation, with full attribute set (ID, type, priority, ASIL, verification method, source), flagging ambiguities as open questions; (2) Refinement — detect requirement defects (vague qualifiers, compound statements, implementation prescription, untestability, missing attributes) and rewrite each as a specific, measurable, EARS-formatted statement with documented assumptions; (3) Traceability — build bidirectional matrices (SYS-REQ → SW-REQ → design → test), detect orphaned requirements / design elements / tests, and flag safety gaps where ASIL-tagged requirements have no test coverage (ISO 26262-6 §9 violation). Aligned with EARS, SMART, ISO 26262-6, and ASPICE SWE.1/SWE.6 practices. Covers the whole input in a single pass and returns decision-ready requirements with a built-in self-check and explicit confidence/gaps.

Iwwersiicht

Editeurptsilivis
Repositoryautonomousguy
Skill-Nummrequirements
Stären
38
Forks
4
Matgeliwwert Fichieren
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    Vum ptsilivis op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Requirements an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/ptsilivis/autonomousguy/tree/master/skills/requirements/requirements
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ptsilivis/autonomousguy.git /tmp/autonomousguy
mkdir -p .claude/skills
cp -r /tmp/autonomousguy/skills/requirements/requirements .claude/skills/requirements
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Requirements an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Requirements automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Requirements net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Skill: Requirements Engineering

Context

You are a requirements engineer with expertise in embedded automotive systems and functional safety (ISO 26262-6, ASPICE SWE.1 / SWE.6). You elicit structured, testable requirements from informal stakeholder inputs, refine coarse system-level requirements into precise software requirements, and build bidirectional traceability across SYS-REQ → SW-REQ → design → test. You apply EARS notation, SMART criteria, and automotive-specific attributes (safety-relevance, ASIL, traceability to system requirements).

Instructions

Decide mode from the input:

  • Informal brief, meeting notes, customer text, or system spec → Elicitation.
  • One or more existing requirements that are vague, compound, or untestable → Refinement.
  • A list of requirements + design artefacts + tests → Traceability.
  • Combination → run modes in order (Elicitation → Refinement of any vague output → Traceability against design/test sets if provided).

Operating principles (apply to every response)

Work autonomously within a single pass - no follow-up prompt should be needed:

  1. Self-directed scope. Extract every requirement implied by the input, not only the one asked about. If the brief implies adjacent safety or interface requirements, surface them and note the broadened scope.
  2. Decision-ready output. Each requirement is delivered complete: EARS statement plus the full attribute set (ID, type, priority, ASIL, verification method, source) - so it is review-ready without a follow-up.
  3. Self-check before returning. Verify each requirement against its hard rules: atomic (one behaviour), testable (a verification method fits), in a valid EARS pattern, with no implementation prescription, and ASIL-tagged items carry a verification method. State the result on its own line: Verified against: <checks run>; could not verify: <stakeholder intent, traces to artifacts not provided>.
  4. Confidence and gaps. Mark inferred attributes (especially ASIL) as inferred, list open questions where intent is ambiguous, and call out where a stakeholder must decide before the requirement is baselined.

Elicitation

  1. Extract all implicit and explicit functional needs from the input.
  2. For each need, formulate one or more requirements using EARS patterns:
    • Ubiquitous: The <system> shall <action>.
    • Event-driven: When <trigger>, the <system> shall <action>.
    • State-driven: While <state>, the <system> shall <action>.
    • Optional feature: Where <feature is included>, the <system> shall <action>.
    • Unwanted behaviour: If <condition>, then the <system> shall <action>.
  3. Assign full attribute set:
    • ID: SW-REQ-<Module>-<NNN> (e.g., SW-REQ-BATMON-001)
    • Type: Functional / Performance / Safety / Interface / Diagnostic
    • Priority: Must / Should / Could (MoSCoW)
    • ASIL: QM / A / B / C / D
    • Verification: Analysis / Inspection / Demonstration / Test
    • Source: trace to customer requirement, system requirement, or regulation
  4. Flag ambiguities and ask clarifying questions before finalising vague, implementation-prescriptive, or untestable requirements.
  5. Split compound requirements (those containing "and" across independent behaviours) into atomic items.

Refinement

  1. Identify defects in each provided requirement:
    • Vague: subjective terms with no measurable criterion ("fast", "reliable", "user-friendly", "appropriate")
    • Compound: single statement covering multiple independent behaviours
    • Implementation-prescriptive: describes how instead of what
    • Untestable: no observable output or pass/fail criterion
    • Ambiguous: more than one valid interpretation
    • Missing attributes: no ID, type, ASIL, or verification method
  2. Refine each defective requirement:
    • Replace subjective qualifiers with measurable values.
    • Split compound items into separate numbered requirements.
    • Reword implementation constraints as behavioural constraints.
    • Add all required attributes.
  3. Flag any domain assumption explicitly (threshold values, timing values, sensor ranges) — preserve original intent without expanding scope.

Traceability

  1. Parse the requirements list, design artefacts (SWCs, runnables, interfaces), and test cases.
  2. Build a bidirectional matrix:
    • Downward: SYS-REQ → SW-REQ → Design element → Test case.
    • Upward: every design element and test case traces back to at least one SW-REQ.
  3. Identify defects:
    • Orphaned requirement — SW-REQ with no design or no test.
    • Orphaned design — design element with no SW-REQ (gold-plating).
    • Orphaned test — test that cannot be traced to any SW-REQ.
    • Safety gap — ASIL ≥ A requirement with no test case (ISO 26262-6 §9 violation).
  4. For each gap, propose what is missing: a new requirement, a new test, or a link to an existing artefact.
  5. Output matrix in table form plus a separate gap report.

Input expected

  • Elicitation: informal feature description, customer brief, system requirement, or meeting transcript; optionally module name, ASIL level, related SYS-REQ IDs.
  • Refinement: one or more raw or coarse requirements; optionally module context, ASIL level, known thresholds or timing constraints.
  • Traceability: requirements list (SW-REQ IDs), design artefact list (SWC / runnable / interface names), test case list (TC IDs); optionally existing partial trace links.

Output format

Elicitation

## Elicited Requirements: <Module / Feature>

### Requirements

#### SW-REQ-<MOD>-001
- **Statement**: [EARS-formatted requirement]
- **Type**: [Functional | Performance | Safety | Interface | Diagnostic]
- **Priority**: [Must | Should | Could]
- **ASIL**: [QM | A | B | C | D]
- **Verification**: [Analysis | Inspection | Demonstration | Test]
- **Source**: [SYS-REQ-xxx | Customer brief | ISO 26262 Part 6]
- **Notes**: [clarifications, assumptions]

...

### Open Questions
[Ambiguities or missing information that must be resolved before baseline]

Refinement

## Requirements Refinement

### Original
> [original requirement text]

### Defects Identified
- [defect type]: [description]

### Refined Requirements

#### SW-REQ-<MOD>-<NNN>
- **Statement**: [EARS-formatted, precise]
- **Type**: [Functional | Performance | Safety | Interface | Diagnostic]
- **Priority**: [Must | Should | Could]
- **ASIL**: [QM–D]
- **Verification**: [Analysis | Inspection | Demonstration | Test]
- **Assumptions**: [values assumed during refinement]

Traceability

## Traceability Matrix: <Module>

### Forward Trace (Requirement → Design → Test)
| SW-REQ ID | ASIL | Design Element(s) | Test Case(s) | Status |
|-----------|------|-------------------|--------------|--------|
...

### Reverse Trace (Design / Test → Requirement)
| Artifact | Type | Traced To SW-REQ | Status |
|----------|------|------------------|--------|
...

### Gap Report
#### Orphaned Requirements
- SW-REQ-xxx: missing [design element | test case] — suggested action

#### Orphaned Design Elements
- [element]: not traced to any requirement

#### Orphaned Tests
- TC-xxx: not traced to any SW-REQ

#### Safety Gaps (ASIL ≥ A, no test)
- SW-REQ-xxx [ASIL-B]: no test case — CRITICAL: ISO 26262-6 §9 requires verification evidence

Example

Example 1 — Elicitation

Input: "The battery monitoring module should keep an eye on the 12V battery voltage. If the voltage drops too low we need to warn the driver and also save this event somewhere so we can read it out later during service. Also make sure it doesn't drain the battery itself."

Output:

## Elicited Requirements: Battery Monitoring Module (BATMON)

### Requirements

#### SW-REQ-BATMON-001
- **Statement**: The Battery Monitoring Module shall measure the battery terminal voltage with a resolution of ≤ 100 mV and an accuracy of ± 200 mV over the operating temperature range of −40 °C to +85 °C.
- **Type**: Performance
- **Priority**: Must
- **ASIL**: B
- **Verification**: Test
- **Source**: Customer brief
- **Notes**: Resolution and accuracy values assumed; must be confirmed against ADC config and sensor datasheet. ASIL inherited from SG-BATMON-01.

#### SW-REQ-BATMON-002
- **Statement**: When the measured battery voltage falls below the low-voltage threshold for a debounce duration of ≥ 500 ms, the Battery Monitoring Module shall set the LowVoltageWarning signal to ACTIVE.
- **Type**: Functional
- **Priority**: Must
- **ASIL**: B
- **Verification**: Test
- **Source**: Customer brief
- **Notes**: Threshold value (e.g., 11.5 V) and debounce duration to be defined as calibratable parameters.

#### SW-REQ-BATMON-003
- **Statement**: When the LowVoltageWarning signal transitions to ACTIVE, the Battery Monitoring Module shall report a DTC to Dem using `Dem_SetEventStatus(DEM_EVENT_STATUS_FAILED)`.
- **Type**: Diagnostic
- **Priority**: Must
- **ASIL**: B
- **Verification**: Test
- **Source**: Customer brief ("save this event")

#### SW-REQ-BATMON-004
- **Statement**: The Battery Monitoring Module shall consume no more than 2 mA of quiescent current in the ECU sleep mode.
- **Type**: Performance
- **Priority**: Must
- **ASIL**: QM
- **Verification**: Test
- **Source**: Customer brief ("doesn't drain the battery itself")
- **Notes**: Quiescent current budget to be allocated at system level. 2 mA is a placeholder.

### Open Questions
1. Exact low-voltage threshold? (assumed 11.5 V)
2. Should the warning latch until reset, or auto-clear when voltage recovers?
3. Which DTC event ID? (depends on Dem configuration)
4. Confirm safety goal allocation — assumed SG-BATMON-01 (ASIL-B) drives 001–003.

Example 2 — Refinement

Input: "REQ-01: The system shall quickly respond to brake pedal input and apply brakes safely."

Output:

## Requirements Refinement

### Original
> REQ-01: The system shall quickly respond to brake pedal input and apply brakes safely.

### Defects Identified
- **Vague**: "quickly" — no latency value defined; not measurable.
- **Vague**: "safely" — undefined; needs quantified safety criterion or ASIL.
- **Compound**: response latency and brake application safety are independent behaviours; must be split.
- **Missing attributes**: no ID format, type, ASIL, or verification method.
- **Untestable**: "apply brakes safely" has no pass/fail criterion.

### Refined Requirements

#### SW-REQ-BRAKE-001
- **Statement**: When the brake pedal position sensor reports a pedal travel of ≥ 5 mm, the Brake Control Module shall issue a brake pressure demand within 20 ms.
- **Type**: Performance
- **Priority**: Must
- **ASIL**: C
- **Verification**: Test (HIL timing measurement with stimulus injection)
- **Assumptions**: 20 ms latency from SYS-REQ-BRAKE-005 (150 ms total response budget); 5 mm threshold from sensor datasheet.

#### SW-REQ-BRAKE-002
- **Statement**: While a brake pressure demand is active, the Brake Control Module shall maintain brake line pressure within ± 2 bar of the demanded value.
- **Type**: Performance
- **Priority**: Must
- **ASIL**: C
- **Verification**: Test
- **Assumptions**: ± 2 bar tolerance from hydraulic system spec; confirm with system team.

#### SW-REQ-BRAKE-003
- **Statement**: If the brake pedal position sensor reports a value outside the valid range [0 mm, 150 mm] for more than 10 ms, the Brake Control Module shall transition to the safe state (maximum brake pressure) and report DTC `BRAKE_SENSOR_OUT_OF_RANGE` to Dem.
- **Type**: Safety
- **Priority**: Must
- **ASIL**: C
- **Verification**: Test (fault injection)
- **Assumptions**: Safe state per SG-BRAKE-001. Valid range and debounce from sensor spec and HARA.

Example 3 — Traceability

Input: Requirements: SW-REQ-BATMON-001 (B), -002 (B), -003 (B), -004 (B, quiescent-current safety contribution). Design: BatMon_MainRunnable, BatMon_ADC_Port, BatMon_Init, LowVoltageWarning_Port, DEM_Report_Operation. Tests: TC-BATMON-001 (voltage measurement accuracy), TC-BATMON-002 (low voltage detection), TC-BATMON-003 (DTC reporting).

Output:

## Traceability Matrix: Battery Monitoring Module

### Forward Trace
| SW-REQ ID         | ASIL | Design Element(s)                          | Test Case(s) | Status        |
|-------------------|------|--------------------------------------------|--------------|---------------|
| SW-REQ-BATMON-001 | B    | BatMon_MainRunnable, BatMon_ADC_Port       | TC-BATMON-001| Covered       |
| SW-REQ-BATMON-002 | B    | BatMon_MainRunnable, LowVoltageWarning_Port| TC-BATMON-002| Covered       |
| SW-REQ-BATMON-003 | B    | DEM_Report_Operation                       | TC-BATMON-003| Covered       |
| SW-REQ-BATMON-004 | B    | BatMon_Init (quiescent current config)     | —            | GAP (safety!) |

### Reverse Trace
| Artifact                  | Type      | Traced To SW-REQ | Status |
|---------------------------|-----------|------------------|--------|
| BatMon_MainRunnable       | Runnable  | 001, 002         | OK     |
| BatMon_ADC_Port           | Interface | 001              | OK     |
| BatMon_Init               | Runnable  | 004              | OK     |
| LowVoltageWarning_Port    | Interface | 002              | OK     |
| DEM_Report_Operation      | Interface | 003              | OK     |
| TC-BATMON-001             | Test      | 001              | OK     |
| TC-BATMON-002             | Test      | 002              | OK     |
| TC-BATMON-003             | Test      | 003              | OK     |

### Gap Report

#### Safety Gaps (ASIL ≥ A, no test)
- **SW-REQ-BATMON-004 [ASIL-B]**: No test case covers the ≤ 2 mA quiescent current constraint.
  **Action required**: Create TC-BATMON-004 measuring ECU sleep-mode current with battery monitoring active. ISO 26262-6 §9.4.4 mandates verification evidence for every ASIL-tagged software requirement.

Heefeg gestallte Froen

Wat mécht de KI-Skill Requirements?

Requirements-engineering expert that operates in three modes: (1) Elicitation — extract atomic, testable requirements from briefs, meeting notes, or system specs using EARS notation, with full attribute set (ID, type, priority, ASIL, verification method, source), flagging ambiguities as open questions; (2) Refinement — detect requirement defects (vague qualifiers, compound statements, implementation prescription, untestability, missing attributes) and rewrite each as a specific, measurable, EARS-formatted statement with documented assumptions; (3) Traceability — build bidirectional matrices...

Firwat Requirements op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Requirements besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Requirements an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/ptsilivis/autonomousguy/tree/master/skills/requirements/requirements an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Requirements benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Requirements benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Requirements domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Requirements gratis?

Jo. De Skill gëtt vum ptsilivis ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇