Generates a spec-to-implementation traceability matrix linking acceptance criteria from specs to implementation files, test cases, and review findings. Supports IEEE 830 compliance audits.
From agent-triforcenpx claudepluginhub artemiopadilla/agent-triforce --plugin agent-triforceThis skill uses the workspace's default tool permissions.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Creates distinctive production-grade frontend UIs for web components, pages, and apps, emphasizing intentional visual design, typography, color, layout, and motion.
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:
EXTRACT:
{feature-id}-AC-{NNN} if not already presentTRACE:
4. For each acceptance criterion, scan src/ for implementation files:
Implements: {feature}-AC-001)tools/traceability.py if available for automated scanningtests/ for test cases:
Verifies: {criterion_id} references in test docstrings → mark as Explicit linkTC-{feature}-{NNN} test case IDs from matching test filesdocs/reviews/ for findings:
BI-DIRECTIONAL VERIFICATION:
7. Scan tests/ for orphaned tests:
TC-{feature}-{NNN} IDs and Verifies: {AC-ID} references across test filesVerifies: reference or TC-ID — may be valid infrastructure testsGENERATE 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
TIME OUT — Traceability Verification (DO-CONFIRM):
{feature}-AC-{NNN})src/ scanned for implementation linkstests/ scanned for test coverage links (both TC-ID references and keyword matches)docs/reviews/ scanned for finding references/generate-tests recommendationSIGN 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