AgentStack
SKILL verified Apache-2.0 Self-run

Tracing Requirements

skill-qte77-claude-code-plugins-tracing-requirements · by qte77

Validates the SYS→PRD→SW requirement traceability chain by reconciling database entries with code docstring tags. Use when checking requirement coverage, finding orphaned code, or generating a coverage matrix.

No reviews yet
0 installs
13 views
0.0% view→install

Install

$ agentstack add skill-qte77-claude-code-plugins-tracing-requirements

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Tracing Requirements? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Requirement Traceability Validation

Target: $ARGUMENTS

Validate the full requirement hierarchy by reconciling the requirements source with code docstring tags.

References (MUST READ)

Read these before proceeding:

  • references/requirement-tagging.md@requirement/@parent/@test spec, reconciliation algorithm

Workflow

  1. Grep all C files for @requirement, @parent, and @test tags → build tag inventory
  2. Read requirements sourcedocs/requirements.md, CSV, or SQL dump
  3. Validate 3-level hierarchy:
  • Every SW-REQ has a @parent PRD-REQ
  • Every PRD-REQ traces to a SYS-REQ
  • No broken parent links
  1. Generate findings report with categories:
  • Unimplemented: SW-REQ in database but no @requirement tag in code
  • Orphaned code: @requirement tag in code but no matching DB entry
  • Broken parents: @parent references a non-existent PRD-REQ
  • Untested: SW-REQ without matching @test tag
  • Dead code candidates: Functions without any requirement tag
  1. Output coverage matrix:

`` | Requirement | Code File:Line | Test ID | Status | |-------------|---------------|---------|--------| | SW-REQ-001 | src/emv.c:42 | TEST-001| OK | | SW-REQ-002 | — | — | MISSING| ``

Output Format

# Traceability Report

## Summary
- Total SW-REQ: N
- Implemented: N (N%)
- Tested: N (N%)
- Orphaned code tags: N
- Broken parent links: N

## Unimplemented Requirements
...

## Orphaned Code
...

## Coverage Matrix
...

Rules

  • Scan all *.c and *.h files, not just src/
  • Report findings — do not auto-fix requirement files
  • Include file path and line number for every code finding
  • Sort coverage matrix by requirement ID

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.