Logo di Requirements Traceability

Requirements Traceability

Community
jdm4pku
requirements-traceability

Build and maintain a requirements traceability matrix linking business objectives, requirements, design, and tests. Use when you need to demonstrate coverage, perform impact analysis, or satisfy regulatory audit requirements.

Panoramica

Pubblicato dajdm4pku
RepositoryRE-Skills
Nome della skillrequirements-traceability
Stelle
27
Fork
1
File inclusi
2
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 2

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da jdm4pku su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Requirements Traceability in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceability
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jdm4pku/RE-Skills.git /tmp/RE-Skills
mkdir -p .claude/skills
cp -r /tmp/RE-Skills/skills/requirements-traceability .claude/skills/requirements-traceability
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Requirements Traceability in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Requirements Traceability non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Requirements Traceability non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Purpose

Create a traceability matrix that establishes bidirectional links between business objectives, requirements, design elements, and test cases. Use this to answer the four questions that traceability exists to serve:

  1. Forward from source: Which requirements implement this business objective?
  2. Backward to source: Which business objective does this requirement serve?
  3. Forward to implementation: Which design/code/test covers this requirement?
  4. Impact analysis: If X changes, what else is affected?

Key Concepts

Traceability Chain

Business Objectives (Vision & Scope)
    |
    v
User Requirements (Use Cases / User Stories)
    |
    v
Functional Requirements (SRS)
    |
    v
Design Elements (Architecture / Components)
    |
    v
Test Cases (Test Plan)

Each link is bidirectional. You should be able to trace forward (objective -> requirement -> test) and backward (test -> requirement -> objective).

Types of Traceability Links

Link TypeFromToPurpose
Source traceBusiness objectiveUser requirementEnsure every business need is addressed
Requirement traceUser requirementFunctional requirementEnsure user needs decompose to system behavior
Design traceFunctional requirementDesign elementEnsure every requirement is designed
Test traceFunctional requirementTest caseEnsure every requirement is tested
Dependency traceRequirementRequirementTrack inter-requirement dependencies

Traceability Matrix Formats

Simple two-column trace:

RequirementTest Case(s)
FR-001TC-001, TC-002

Full chain matrix:

Business ObjUser ReqFunctional ReqTest CaseStatus
BO-1UC-3CT.CATALOG.SEARCH.1TC-101Verified

N-to-M matrix (coverage view):

BO-1BO-2BO-3
FR-001X
FR-002XX
FR-003X

Traceability Red Flags

  • Requirement with no source -- Where did this come from? It may be gold-plating.
  • Business objective with no requirements -- A stated goal with no implementation path.
  • Requirement with no test -- An untestable or untested requirement.
  • Orphan test case -- A test that does not trace to any requirement (testing what?).

Anti-Patterns

  • Trace Everything to Everything -- Links that are too loose to be meaningful. Every requirement traces to "improve user experience."
  • Trace Once, Never Update -- Traceability matrix created at start, never maintained as requirements change.
  • Tool Without Process -- Having a requirements tool but no process for maintaining trace links.

Application

Step 1: Establish the Traceability Structure

Decide what artifacts to trace:

  • Minimum: Business Objectives <-> Functional Requirements <-> Test Cases
  • Standard: Business Objectives <-> User Requirements <-> Functional Requirements <-> Test Cases
  • Full: Add Design Elements and Code Components to the chain

Step 2: Create the Matrix

For each functional requirement:

  1. Link backward to its source (user requirement, business objective)
  2. Link forward to its test case(s)
  3. Record the current status

Use template.md for the structure.

Step 3: Analyze Coverage

Run these checks:

Forward coverage (no gaps):

  • Every business objective should have at least one requirement
  • Every requirement should have at least one test case

Backward coverage (no gold-plating):

  • Every requirement should trace to at least one business objective
  • Every test case should trace to at least one requirement

Completeness metrics:

  • Coverage = (requirements with traces / total requirements) * 100%
  • Target: 100% for both forward and backward traces

Step 4: Perform Impact Analysis

When a requirement changes:

  1. Find the requirement in the matrix
  2. Trace forward: Which test cases need updating?
  3. Trace backward: Does the change align with the business objective?
  4. Trace laterally: Which other requirements depend on this one?
  5. Document the impact scope in the change request

Step 5: Maintain Over Time

  • Update traces when requirements are added, changed, or deleted
  • Review the matrix at each milestone or sprint review
  • Track traceability metrics: coverage percentage, broken links
  • Assign ownership: someone must be responsible for maintaining traces

Examples

See examples/sample.md for a complete traceability matrix.

Mini example:

markdown
| Business Obj | User Req | Functional Req | Test Case | Status |
|-------------|----------|---------------|-----------|--------|
| BO-1: Reduce reporting time | UC-8: Generate Report | CT.REPORT.GEN.1: Generate EPA report within 30s | TC-201: EPA report generation load test | Verified |
| BO-2: Eliminate expired chemicals | UC-5: Alert Expiration | CT.ALERT.EXPIRY.1: Send 30-day alert | TC-150: 30-day alert email verification | Verified |
| BO-2 | UC-5 | CT.ALERT.EXPIRY.2: Send 7-day urgent alert | TC-151: 7-day urgent alert verification | Implemented |
| -- | -- | CT.CATALOG.ADD.3: Allow bulk import from CSV | -- | Proposed |

Analysis of this mini example:

  • CT.CATALOG.ADD.3 has no backward trace to a business objective (possible gold-plating)
  • CT.CATALOG.ADD.3 has no test case yet (needs test planning)
  • BO-1 and BO-2 have forward coverage through requirements and tests

Common Pitfalls

Pitfall 1: Requirements Without Sources

Symptom: Several requirements have no backward trace to a business objective or user need.

Consequence: These may be gold-plating -- features nobody asked for that consume development resources.

Fix: For each untraced requirement, ask: "Which business objective does this serve?" If none, either find the missing objective or remove the requirement.


Pitfall 2: Matrix Not Maintained

Symptom: The traceability matrix was created at project start and has not been updated since. New requirements have no traces.

Consequence: The matrix is useless for impact analysis. Changes are evaluated without understanding the full chain.

Fix: Make traceability updates a required step in the change control process. No requirement change is complete until traces are updated.


Pitfall 3: No Forward Trace to Tests

Symptom: Requirements exist without corresponding test cases.

Consequence: These requirements are never verified. Defects in these areas are discovered by users in production.

Fix: Every requirement should have at least one test case before it is marked "Verified." Use the matrix to identify untested requirements and assign test case creation.

References

Related Skills

  • skills/vision-and-scope/SKILL.md -- Business objectives that serve as trace sources
  • skills/srs-document/SKILL.md -- Functional requirements that are traced
  • skills/requirements-management-process/SKILL.md -- Traceability is maintained as part of requirements management
  • skills/change-control-advisor/SKILL.md -- Impact analysis uses traceability

External Frameworks

  • Karl Wiegers & Joy Beatty, Software Requirements, Third Edition (2013) -- Chapter 27: Requirements Management Practices
  • IEEE 830 / ISO/IEC/IEEE 29148 -- Requirements traceability guidance
  • CMMI -- Requirements Management process area

Skill type: Component Dependencies: References skills/vision-and-scope/SKILL.md, skills/srs-document/SKILL.md Used by: skills/requirements-management-process/SKILL.md, skills/change-control-advisor/SKILL.md

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Requirements Traceability?

Build and maintain a requirements traceability matrix linking business objectives, requirements, design, and tests. Use when you need to demonstrate coverage, perform impact analysis, or satisfy regulatory audit requirements.

Perché usare Requirements Traceability su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Requirements Traceability è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Requirements Traceability in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceability. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Requirements Traceability?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Requirements Traceability?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Requirements Traceability: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Requirements Traceability è gratuita?

È pubblicata su GitHub da jdm4pku. Consulta il repository per i termini di licenza. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇