plugins/embedded-dev/skills/tracing-requirements/SKILL.md
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.
npx skillsauth add qte77/claude-code-utils tracing-requirementsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Target: $ARGUMENTS
Validate the full requirement hierarchy by reconciling the requirements source with code docstring tags.
Read these before proceeding:
references/requirement-tagging.md — @requirement/@parent/@test spec, reconciliation algorithmGrep all C files for @requirement, @parent, and @test tags → build tag inventory
Read requirements source — docs/requirements.md, CSV, or SQL dump
Validate 3-level hierarchy:
@parent PRD-REQGenerate findings report with categories:
@requirement tag in code@requirement tag in code but no matching DB entry@parent references a non-existent PRD-REQ@test tagOutput coverage matrix:
| Requirement | Code File:Line | Test ID | Status |
|-------------|---------------|---------|--------|
| SW-REQ-001 | src/emv.c:42 | TEST-001| OK |
| SW-REQ-002 | — | — | MISSING|
# 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
...
*.c and *.h files, not just src/development
Analyzes industry websites for design patterns, layout, typography, and content strategies using first-principles thinking. Use when researching website design, UI patterns, or competitive design analysis.
development
Audits website usability for UX optimization, covering forms, navigation, validation, and microcopy. Use when reviewing user experience, task completion flows, or interface friction points.
development
Audits website accessibility for WCAG 2.1 AA compliance, generating findings and code fixes. Use when reviewing accessibility, keyboard navigation, screen reader compatibility, or inclusive design.
development
Writes tests following TDD (using vitest and @testing-library/react) best practices. Use when writing unit tests, integration tests, or component tests in TypeScript.