# Requirements traceability audit

> Requirements traceability audit is an open-source agent skill for documentation review. Writes a dated report tracing use cases to the tests that cover them in a repo. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/main/nexa-claude-audit/skills/requirements-traceability-audit
- **Repository:** https://github.com/nexadevapp/nexa-claude-skills-marketplace
- **GitHub stars:** 7
- **License:** Apache-2.0
- **Skill name:** requirements-traceability-audit
- **Collection:** https://github.com/nexadevapp/nexa-claude-skills-marketplace
- **Categories:** [documentation review](https://ai-powered.com/categories/documentation-review)
- **Listing updated:** 2026-12-04

## About

This skill produces a requirements traceability report for the repository it runs in. It reads existing traceability or coverage documents and builds a catalog of use cases from requirement and use case files, then matches tests to those use cases only where the test carries an explicit ID such as a tag, describe name or comment.

Probable matches that lack an explicit ID are listed separately as candidates and kept out of the matrix. The report also flags orphan IDs, tests without any use case ID grouped by unit, integration, end-to-end or other, and external references such as ticket keys, issue numbers and URLs, which are listed but not opened.

The skill is designed to work across stacks and expects a readable repository with test files and use case documents. It writes a single Markdown file under docs/audit/requirements-traceability-audit/ and is meant to be invoked explicitly by the user.

## When your agent uses it

> Writes a dated requirements traceability audit report for the current repository: the use case catalog, a matrix of which tests are linked to which use case by an explicit ID, candidate links, the gaps, and the external references (Jira keys, issue numbers, URLs) found in the repository. Works on any repository and any tech stack. Writes only docs/audit/requirements-traceability-audit/requirements-traceability-audit-YYYY-MM-DD-<hash>.md. This skill must only be invoked explicitly via /requirements-traceability-audit — never inferred from user messages.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/HEAD/nexa-claude-audit/skills/requirements-traceability-audit)
- [License: Apache-2.0](https://github.com/nexadevapp/nexa-claude-skills-marketplace/tree/HEAD/nexa-claude-audit/skills/requirements-traceability-audit)

## Features

- **Use case catalog:** Lists each use case with its ID, title and source file, and flags items without an ID.
- **Explicit test matrix:** Maps use case IDs to the tests that reference them, with the evidence for each link.
- **Candidate link review:** Separates probable matches without explicit IDs so they stay out of the confirmed matrix.
- **Gap reporting:** Highlights uncovered use cases, orphan test IDs and untagged tests by category.
- **External reference inventory:** Collects ticket keys, issue numbers and URLs found in the repository without resolving them.
- **Existing documentation check:** Summarizes existing traceability matrices and notes where they disagree with the code.

## Good for

- Audit which tests cover each use case in my repository
- Find use cases that have no linked tests
- List tests that reference use case IDs missing from the docs
- Inventory Jira keys and issue links referenced in the codebase
- Generate a dated traceability report for a release review

## Install

### Claude Code

This skill ships in the `nexa-claude-audit` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add nexadevapp/nexa-claude-skills-marketplace
/plugin install nexa-claude-audit@nexa-claude-marketplace
```

Or copy only this skill to `~/.claude/skills/requirements-traceability-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/requirements-traceability-audit &&
cp -R "$tmp/nexa-claude-audit/skills/requirements-traceability-audit" ~/.claude/skills/requirements-traceability-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/requirements-traceability-audit` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/requirements-traceability-audit` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/requirements-traceability-audit &&
cp -R "$tmp/nexa-claude-audit/skills/requirements-traceability-audit" ~/.agents/skills/requirements-traceability-audit &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/requirements-traceability-audit` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/requirements-traceability-audit` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/requirements-traceability-audit &&
cp -R "$tmp/nexa-claude-audit/skills/requirements-traceability-audit" ~/.cursor/skills/requirements-traceability-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/requirements-traceability-audit` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/nexadevapp/nexa-claude-skills-marketplace.git --path nexa-claude-audit/skills/requirements-traceability-audit
```

Or copy the folder to `~/.gemini/skills/requirements-traceability-audit` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/requirements-traceability-audit`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/requirements-traceability-audit &&
cp -R "$tmp/nexa-claude-audit/skills/requirements-traceability-audit" ~/.copilot/skills/requirements-traceability-audit &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/requirements-traceability-audit` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/nexadevapp/nexa-claude-skills-marketplace.git
```

Then copy `nexa-claude-skills-marketplace/nexa-claude-audit/skills/requirements-traceability-audit` into your agent's skills folder as `requirements-traceability-audit`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I run Requirements traceability audit?

You invoke it explicitly with /requirements-traceability-audit. It is not triggered by ordinary messages.

### Where is the report saved?

It writes one file to docs/audit/requirements-traceability-audit/ with the date and a hash in the filename.

### Does Requirements traceability audit open external ticket links?

No. External references such as Jira keys, issue numbers and URLs are listed but not opened or resolved.

### How does Requirements traceability audit decide a test is linked to a use case?

Only an explicit use case ID in the test, such as a tag or describe name, or in the traceability doc counts as a link. Name-based guesses are shown as candidates only.

### How do I install Requirements traceability audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/requirements-traceability-audit to use it in all your projects, or to .claude/skills/requirements-traceability-audit in one project. Or install the nexa-claude-audit plugin, which includes it: /plugin marketplace add nexadevapp/nexa-claude-skills-marketplace, then /plugin install nexa-claude-audit@nexa-claude-marketplace.

### Does Requirements traceability audit run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Requirements traceability audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Glossary audit](https://ai-powered.com/skills/glossary-audit): Glossary audit is an open-source agent skill for documentation review.

---
Source: https://ai-powered.com/skills/requirements-traceability-audit
