traceability

traceability is a skill for Claude Code from ArtemioPadilla/agent-triforce. It costs 36 tokens per session (974 once invoked), scanned A, original, MIT.

A document that connects each requirement in a software specification to the code, tests, and review findings that address it. This is called traceability; IEEE 830 is a standard historically used for software requirements specifications.

In plain words
What is it for?
It helps extract acceptance criteria, assign IDs, find related implementation files and tests, and produce a spec-to-implementation traceability matrix.
Why use it?
It makes it easier to see which requirements are implemented, tested, or missing during a review or compliance audit.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: agent in frontmatter.

Good fit It helps extract acceptance criteria, assign IDs, find related implementation files and tests, and produce a spec-to-implementation traceability matrix.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artemiopadilla/agent-triforce/traceability
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ArtemioPadilla/agent-triforce --skill traceability
Clone the repo
git clone --depth 1 https://github.com/ArtemioPadilla/agent-triforce

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for traceability

README.md
[![agentmods](https://agentmods.dev/badge/skills/artemiopadilla/agent-triforce/traceability/github.svg)](https://agentmods.dev/skills/artemiopadilla/agent-triforce/traceability)
Your own site
<a href="https://agentmods.dev/skills/artemiopadilla/agent-triforce/traceability"><img src="https://agentmods.dev/badge/skills/artemiopadilla/agent-triforce/traceability/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for traceability

Your own site · 80×15
<a href="https://agentmods.dev/skills/artemiopadilla/agent-triforce/traceability"><img src="https://agentmods.dev/badge/skills/artemiopadilla/agent-triforce/traceability.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 974 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00036 $0.00974
Opus 5.5 $0.00014 $0.00390
Sonnet 5.5 $0.00007 $0.00195
Haiku 4.5 $0.00004 $0.00097

Measured 1mo ago against content hash 96932551997a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

traceability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/traceability/SKILL.md · 85 lines

What it actually says

Generate a traceability matrix for a feature spec.

Input: The user provides a spec file path (e.g., docs/specs/auth-feature.md) or feature name.

Follow these steps:

SIGN IN:

  • Run the SIGN IN checklist from your agent file
  • Read the specified spec file

EXTRACT:

  1. Parse the spec for acceptance criteria in GIVEN/WHEN/THEN format
  2. Assign stable criterion IDs in format {feature-id}-AC-{NNN} if not already present
  3. Extract: criterion ID, criterion text, any referenced modules or components

TRACE: 4. For each acceptance criterion, scan src/ for implementation files:

  • Search for comments referencing the criterion ID (e.g., Implements: {feature}-AC-001)
  • Fall back to keyword matching from criterion text (function names, module names)
  • Use tools/traceability.py if available for automated scanning
  1. For each acceptance criterion, scan tests/ for test cases:
    • Search for explicit Verifies: {criterion_id} references in test docstrings → mark as Explicit link
    • Fall back to keyword matching from criterion text → mark as Implicit link
    • Extract TC-{feature}-{NNN} test case IDs from matching test files
  2. For each acceptance criterion, scan docs/reviews/ for findings:
    • Search review files for references to the criterion or its subject
    • Link findings by severity

BI-DIRECTIONAL VERIFICATION: 7. Scan tests/ for orphaned tests:

  • Find all TC-{feature}-{NNN} IDs and Verifies: {AC-ID} references across test files
  • Cross-reference against extracted criterion IDs
  • Mark any test referencing a deleted or renamed AC as "Orphaned"
  1. Identify unlinked tests:
    • Tests without any Verifies: reference or TC-ID — may be valid infrastructure tests
    • List separately for human review

GENERATE MATRIX: 9. Create the traceability matrix at docs/traceability/{feature-name}-matrix.md:

# Traceability Matrix: {Feature Name}
**Spec**: {spec_file_path}
**Generated**: {YYYY-MM-DD}
**Status**: {X covered / Y partial / Z missing}

| ID | Criterion | Implementation | Tests | Test IDs | Findings | Link Type | Status |
|----|-----------|---------------|-------|----------|----------|-----------|--------|
| {id} | {text} | {files} | {test files} | {TC-IDs} | {findings} | Explicit/Implicit/None | Covered/Partial/Missing |

## Coverage Summary
- **Explicit**: {N} ACs with direct TC-ID links
- **Implicit**: {N} ACs matched by keyword only
- **Uncovered**: {N} ACs with no test found
- **Orphaned tests**: {N} test references to non-existent ACs
  1. Status determination:
    • Covered: has implementation file(s) AND at least one test with Explicit or Implicit link
    • Partial: has implementation but no test, or has test but unclear implementation link
    • Missing: no implementation or test found

TIME OUT — Traceability Verification (DO-CONFIRM):

  • All acceptance criteria extracted from spec
  • Criterion IDs assigned (stable, format: {feature}-AC-{NNN})
  • src/ scanned for implementation links
  • tests/ scanned for test coverage links (both TC-ID references and keyword matches)
  • Bi-directional check complete: orphaned tests identified, unlinked tests listed
  • docs/reviews/ scanned for finding references
  • Each criterion has a status (Covered/Partial/Missing) and link type (Explicit/Implicit/None)
  • Missing criteria flagged with /generate-tests recommendation

SIGN OUT: 9. Report matrix summary (covered/partial/missing counts) 10. If any criteria are Missing, suggest running /generate-tests on the relevant modules 11. Run the SIGN OUT checklist from your agent file

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 85 lines · 36 tokens per session scan A 96932551997a

Subscribe to this mod's changes

traceability is a skill published in the GitHub repository ArtemioPadilla/agent-triforce (3 stars, last pushed 6mo ago), licensed MIT. It adds 36 tokens to every session and 974 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

great_cto

Use when the CTO describes a feature, task, or project goal. Orchestrates the full SDLC pipeline automatically based on project type.

avelikiy/great_cto · 32 tokens

opportunity-solution-tree

Build an Opportunity Solution Tree (OST) to structure product discovery — map a desired outcome to customer opportunities, possible solutions, and experiments. Based on Teresa Torres' Continuous Discovery Habits. Use when the team is unclear what to build next, when multiple opportunities compete, or before writing a…

avelikiy/great_cto · 71 tokens

skeptical-triage

Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts. Use when the cost of a false-positive gate block exceeds the cost of 4 extra LLM turns.

avelikiy/great_cto · 49 tokens

anti-patterns

Catalogue of known SDLC anti-patterns that greatcto agents must actively reject when reviewing architecture, plans, code, or post-mortems. Used by architect (pre-impl), pm (planning), senior-dev (impl), l3-support (post-incident).

avelikiy/great_cto · 59 tokens

well-architected

6-pillar architecture review framework. Adapted from AWS Well-Architected for use by greatcto's architect agent on every non-nano ARCH document. Forces explicit answers across operational excellence, security, reliability, performance, cost, and sustainability — not just feature design.

avelikiy/great_cto · 60 tokens

product-economics

Does this product make money at a price someone will pay? Forces contribution margin, a price with a stated basis, and a bottom-up market size — each number labelled measured / assumed / unknown, so a guess can never be read as a calculation.

avelikiy/great_cto · 55 tokens