Agent skill
traceability-audit
Verifies that every PRD requirement has a linked Test Case and Code Implementation.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/security-andreibesleaga-gabbe-10
SKILL.md
traceability-audit Skill
This skill ensures "What was ordered" == "What was delivered".
1. The Trace Chain
PRD (Req ID) -> Design (Mock ID) -> Task (T-ID) -> Commit (Hash) -> Test Case (Test ID)
2. Methodology
- Extract Requirements: Parse
PRD.mdforreq-001,req-002. - Search Tests:
greptest files for@req(req-001). - Identify Gaps:
- Req exists, Test missing -> Gap.
- Req missing, Test exists -> Gold Plating (Unrequested feature).
3. Coverage Analysis
- Code Coverage: Lines of code executed (e.g., 96%).
- Requirement Coverage: % of Requirements with at least 1 passing test (Target: 100%).
4. The Matrix
Generate a table:
| Req ID | Description | File Reff | Test Ref | Status |
|---|---|---|---|---|
| R-101 | "User logs in" | auth.ts |
auth.test.ts |
✅ PASS |
| R-102 | "User logs out" | auth.ts |
auth.test.ts |
❌ FAIL |
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?