Логотип Requirements Traceability

Requirements Traceability

Спільнота
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.

Огляд

Видавецьjdm4pku
РепозиторійRE-Skills
Назва навичкиrequirements-traceability
Зірки
27
Форки
1
Файли в пакеті
2
Посилання
  • Інструкції у форматі Markdown

    Файл SKILL.md, який модель завантажує за потреби, тож токени витрачаються лише тоді, коли запит справді відповідає навичці.

  • Працює з будь-якою LLM

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 2

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Видавець на GitHub: jdm4pku. Перед установленням перегляньте вихідні файли навички.

Встановлення

Установіть навичку ШІ Requirements Traceability у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

1

Встановити в TypingMind

TypingMind встановлює навичку безпосередньо з її папки на GitHub — читає SKILL.md, збирає файли ресурсів у пакет і зберігає результат локально.

  1. Відкрийте застосунок і перейдіть до розділу «Плагіни» → «Навички».
  2. Виберіть «Встановити з GitHub».
  3. Вставте наведений нижче URL папки навички та підтвердьте встановлення.
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceability
  4. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Додати навичку → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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
Після копіювання перезапустіть Claude Code, щоб завантажити нову навичку.

Використовуйте навичку в TypingMind

Увімкніть навичку Requirements Traceability в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Requirements Traceability, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для певного постачальника, тому навичка Requirements Traceability не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож поки навичка не потрібна, токени на її інструкції не витрачаються.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл SKILL.md.

Інструкції навички

Це вміст файлу SKILL.md, який завантажує модель. Прочитайте його перед установленням — навичка містить інструкції, яких дотримуватиметься ваша модель.

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

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Requirements Traceability у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Requirements Traceability — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Requirements Traceability у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceability. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Requirements Traceability?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Requirements Traceability?

Зі скількома забажаєте. У TypingMind ви можете використовувати Requirements Traceability із будь-якою моделлю, яка підтримує навички, зокрема з GPT, Claude, Gemini, Grok, DeepSeek, Mistral чи Llama. Для цього ви використовуєте власні ключі API.

Чи безкоштовна навичка ШІ Requirements Traceability?

На GitHub цю навичку публікує jdm4pku. Умови ліцензування дивіться в репозиторії. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це набір інструкцій для повторного використання, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти, які вона може викликати, — код, який десь виконується й повертає результат. Натомість навичка ШІ дає моделі знання й пояснює порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний робочий простір зі ШІ вже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇