/sdlc-documentation:01-traceability-matrixfrom sdlc-documentation
Maps requirements to designs, tests, evidence, releases, and approvals to surface gaps and orphan artefacts. Supports baseline-delta version comparisons and evidence-pack building.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Approved requirements baseline; design and interface identifiers; test cases and results; risk and control records; release and approval evidence | Requirements, architecture, QA, governance, and release owners | Yes | Stop dependent work; name the missing item, owner, and decision impact. A review check remains not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Execute only non-mutating validation when authorised; editing remediation, publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| Required evidence is missing or inaccessible | Mark the check not assessed, state impact, and stop any pass decision | False assurance from an incomplete review |
| Evidence supports the stated criterion | Record the finding and traceable rationale without mutating sources | Unrepeatable review conclusions |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Traceability Matrix | Accountable reviewer, control owner, auditor, or release authority | Every in-scope requirement has forward and backward links or an explicit gap; duplicates and orphan evidence are visible. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| Traceability Matrix evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if required evidence is missing or inaccessible, mark the check not assessed, state impact, and stop any pass decision. Record the evidence and result in the validation record; this avoids false assurance from an incomplete review.
This skill generates a Requirements Traceability Matrix (RTM) that establishes bidirectional links between every requirement and its originating business goal, design artifact, test case, and implementation status. The RTM serves as the foundational governance artifact that enables audit readiness and ensures no requirement is orphaned or untested. All traceability links SHALL conform to IEEE 1012-2016 verification and validation requirements.
| Attribute | Value |
|---|---|
| Input | SRS_Draft.md, vision.md, HLD.md, LLD.md, user_stories.md |
| Output | Traceability_Matrix.md |
| Standard | IEEE 1012-2016 |
| Estimated Time | 15-30 minutes |
| File | Purpose | Required? |
|---|---|---|
projects/<ProjectName>/<phase>/<document>/SRS_Draft.md | Source of all functional and non-functional requirements | Yes |
projects/<ProjectName>/_context/vision.md | Business goals and stakeholder needs for backward traceability | Yes |
projects/<ProjectName>/<phase>/<document>/HLD.md | High-level design elements for design-to-requirement mapping | No |
projects/<ProjectName>/<phase>/<document>/LLD.md | Low-level design elements for detailed traceability | No |
projects/<ProjectName>/<phase>/<document>/user_stories.md | User stories for requirement-to-story mapping | No |
| File | Description |
|---|---|
projects/<ProjectName>/<phase>/<document>/Traceability_Matrix.md | Complete bidirectional traceability matrix with gap analysis |
The skill SHALL read projects/<ProjectName>/<phase>/<document>/SRS_Draft.md and extract every requirement with its unique identifier (e.g., FR-001, NFR-001). If the file is missing, halt execution and report the error.
The skill SHALL read projects/<ProjectName>/_context/vision.md and extract every business goal and stakeholder need, assigning identifiers if none exist (e.g., BG-001, SN-001).
The skill SHALL read optional design artifacts (HLD.md, LLD.md) and extract design element identifiers for forward traceability mapping.
The skill SHALL read optional test artifacts and extract test case identifiers for requirement-to-test mapping.
The skill SHALL construct a Forward Traceability Table mapping each requirement to its downstream design element, test case, and implementation status.
The skill SHALL construct a Backward Traceability Table mapping each design element and test case back to its originating requirement and business goal.
The skill SHALL perform Orphan Detection, identifying:
The skill SHALL calculate Coverage Metrics:
The skill SHALL generate a Gap Analysis section listing every traceability gap with its severity (Critical/Major/Minor) and recommended remediation.
The skill SHALL tag any requirement failing traceability with [V&V-FAIL] and append the specific missing link.
The Requirements Traceability Matrix table SHALL use the following column structure:
| Req ID | Requirement Summary | Source | Priority | Test Case ID(s) | Verification Method | Status | Regulatory Reference |
|--------|--------------------|----|----------|-----------------|--------------------|----|---------------------|
| FR-001 | | | | TC-001 | Test | Pass | [Standard clause or "N/A"] |
Regulatory Reference column guidance: The Regulatory Reference column cites the specific standard clause that mandates this requirement (e.g., ISO 27001:2022 §A.8.2, GDPR Art. 17, PCI DSS Req. 6.4). Enter N/A for requirements not driven by regulation. This column enables compliance auditors to trace from standard clause to implemented feature.
The generated Traceability_Matrix.md SHALL contain the following sections:
# Requirements Traceability Matrix
## 1. Document Information
## 2. Traceability Matrix Table
## 3. Coverage Summary
## 4. Forward Traceability (Requirements to Implementation)
## 5. Backward Traceability (Implementation to Requirements)
## 6. Gap Analysis
## 7. Orphan Detection Report
## 8. Traceability Metrics
## 9. Remediation Recommendations
## 10. Revision History
manifest.mdAfter generating all section files, create (or overwrite) manifest.md in this document's directory listing the section files in the correct assembly order:
# Document Manifest — Traceability Matrix
# Generated by traceability-matrix. Edit to reorder or exclude sections before building.
01-document-information.md
02-traceability-table.md
03-coverage-summary.md
04-forward-traceability.md
05-backward-traceability.md
06-gap-analysis.md
07-orphan-detection.md
08-metrics.md
09-remediation.md
10-revision-history.md
This ensures scripts/build-doc.sh assembles sections in the intended order rather than alphabetical fallback.
[V&V-FAIL] tags are applied to every requirement with a missing critical link.| Standard | Governs |
|---|---|
| IEEE 1012-2016 | V&V traceability requirements and bidirectional link mandates |
| IEEE 830-1998 (superseded by ISO/IEC/IEEE 29148:2018) | SRS section-layout mapping only |
What SKILL.md sets; muted values are Claude Code's defaults
160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentationOther plugins' skills for the same job