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でも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 2個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    jdm4pkuがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Requirements Traceability」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceability
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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で使用

TypingMindのチャットでRequirements Traceabilityを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRequirements Traceabilityを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Requirements Traceabilityは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでRequirements Traceabilityを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Requirements Traceabilityはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRequirements Traceabilityをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jdm4pku/RE-Skills/tree/main/skills/requirements-traceabilityを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Requirements Traceabilityを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Requirements Traceabilityで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRequirements Traceabilityを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Requirements Traceability」は無料ですか?

jdm4pkuがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇