gaia-trace

Generate a traceability matrix mapping PRD requirements to stories and tests.

2|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/gaiastudio-ai/gaia-public --skill gaia-trace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gaia-trace
Source: https://github.com/gaiastudio-ai/gaia-public/tree/main/plugins/gaia/skills/gaia-trace
Command: npx skills add https://github.com/gaiastudio-ai/gaia-public --skill gaia-trace

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Generates a comprehensive traceability matrix that maps every PRD requirement (FR-001...FR-N, NFR-001...NFR-N) to its implementing stories and covering tests.

Core Features & Use Cases

  • Maps FR/NFR requirements from PRD to implementing stories and tests.
  • Outputs the traceability matrix to docs/test-artifacts/traceability-matrix.md and validates gate status.
  • Preserves legacy workflow structure and output path for continuity.

Quick Start

Generate the traceability matrix and validate it with the gate check to produce docs/test-artifacts/traceability-matrix.md

Frequently Asked Questions about gaia-trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a traceability matrix from PRD requirements to test cases?

To generate a traceability matrix from PRD requirements, map every functional (FR) and non-functional (NFR) requirement to implementing stories and covering tests, then validate test coverage via a gate script and write the output to docs/test-artifacts/traceability-matrix.md.

What is deterministic PRD-to-test traceability and when do I need it?

Deterministic PRD-to-test traceability systematically links every PRD requirement to its implementing stories and covering tests, ensuring complete functional and non-functional test coverage validation across multiple test types for projects with established PRDs and test plans.

Can I map both functional and non-functional requirements in a single traceability matrix?

Yes, you can map both functional and non-functional requirements in a single traceability matrix. The process links FR-001 through FR-N and NFR-001 through NFR-N from your PRD directly to their implementing stories and covering tests across multiple test types.

How to validate test coverage against PRD requirements using a gate script?

To validate test coverage against PRD requirements, run the gate script after generating the traceability matrix. This script checks that every functional and non-functional requirement is mapped to implementing stories and covering tests, then writes the validated matrix to docs/test-artifacts/traceability-matrix.md.

Does PRD-to-test traceability work with existing epics-and-stories and test-plan inventories?

PRD-to-test traceability works with existing epics-and-stories and test-plan inventories. It requires a project with these artifacts already established, mapping PRD requirements to the existing stories and test cases while preserving the legacy output format at docs/test-artifacts/traceability-matrix.md.

What are the limitations of automated requirement traceability matrix generation?

Automated requirement traceability matrix generation is limited to projects that already have a PRD, epics-and-stories, and test-plan inventories. It cannot infer missing requirements or tests, and it preserves the legacy output path structure rather than allowing custom output locations.