agentleFS
UwayxtUwayxt/agent-skills/.agents/skills/prd-traceability-matrix/SKILL.md

prd-traceability-matrix

Skill4 starsChanged 2 months agoMITView on GitHub

Map every PRD requirement to its UI element, route, and implementation status. Use when traceability, requirement tracking, PRD coverage, what has been built, or which requirements are missing.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every PRD requirement has a unique ID

    line 40
  2. Distinctive:

    Every requirement has a status (no blank status cells)

    line 41
  3. Distinctive:

    Every must-have requirement is either DONE or explicitly flagged

    line 42
  4. Distinctive:

    All gaps are documented with rationale

    line 43
  5. Distinctive:

    Not assigning IDs — makes cross-referencing in QA loop impossible

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

A requirement without a trace is a requirement that will be forgotten. Every user story, acceptance criterion, and feature in the PRD must map to exactly one or more UI elements — or be explicitly marked as not yet implemented.

1. Parse the PRD

Extract every requirement. Isolate the minimum unit: one user story or acceptance criterion. Assign each a unique ID (US-001, AC-001, etc.) if not already numbered. Record:

  • ID
  • Requirement text (one sentence)
  • Category (functional / non-functional / UX / business rule)
  • Priority (must-have / should-have / nice-to-have)

2. Map to UI elements

For each requirement, identify:

  • Which page/screen implements it
  • Which component handles it (button, form, table, etc.)
  • Which route is involved
  • Which function/handler is responsible (if known)

3. Assign implementation status

Determine current status against four discrete states:

  • DONE: implemented and verified
  • IN_PROGRESS: partially implemented
  • NOT_STARTED: not yet implemented
  • DEFERRED: explicitly deferred to later phase
  • BLOCKED: cannot proceed (dependency or decision needed)

4. Identify gaps

Locate requirements with status NOT_STARTED that are must-have priority. Flag them explicitly as blockers. Requirements with no UI mapping at all are critical gaps.

5. Generate the matrix

Output as a structured table based on MATRIX-TEMPLATE.md. Treat the matrix as a living document. Update it every time a feature is completed.

6. Link to downstream QA

Feed this matrix to the qa-feedback-loop-orchestrator as the authoritative source for "which PRD requirement does this bug violate?". Never let the QA loop report a bug without citing its PRD requirement ID.

Completion Criteria

  • Every PRD requirement has a unique ID
  • Every requirement has a status (no blank status cells)
  • Every must-have requirement is either DONE or explicitly flagged
  • All gaps are documented with rationale
  • Matrix is saved as a file in the workspace

Output

  • prd-traceability-matrix.md — structured table with columns: ID | Requirement | Category | Priority | Screen/Page | Component | Route | Status | Notes

Anti-patterns

  • Writing requirements as vague goals instead of testable statements
  • Not assigning IDs — makes cross-referencing in QA loop impossible
  • Treating the matrix as a one-time artifact — it must be updated continuously
  • Marking requirements as DONE based on visual inspection without functional verification
  • Including implementation details in the requirements column (the matrix captures WHAT, not HOW)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.