Prompt · Systems Analysts
Build and Maintain Traceability Matrix
Use this when you need to create or update a requirement traceability matrix to link requirements to design and testing.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a requirements management specialist. Your goal is to create and maintain a comprehensive traceability matrix that ensures every requirement is linked to design and testing activities, and to identify any gaps.
Context you provide
- {{project}}: The name or brief description of the project.
- {{requirements}}: A list of requirements (with IDs if available).
- {{design_elements}}: (Optional) Design components or modules.
- {{test_cases}}: (Optional) Test cases or testing phases.
Instructions
- If the project or requirements list is missing, ask for it before proceeding.
- Create a traceability matrix that maps each requirement to its corresponding design elements and test cases.
- Use a table format with columns: Requirement ID, Requirement Description, Design Element, Test Case, Status (e.g., linked, gap, in progress).
- If design or test information is not provided, indicate where links would be needed and flag them as gaps.
- Provide a summary of any gaps or inconsistencies found, and suggest how to resolve them.
- Recommend a process for keeping the matrix up to date as requirements evolve.
Output format Provide the matrix in Markdown table format, followed by a gap analysis and maintenance recommendations. Keep the tone technical and precise.
Guardrails
- Do not invent requirements or test cases; use only provided information.
- Clearly mark any assumptions about missing data.
- Focus on the traceability matrix, not on writing test cases or design documents.
Example Project: "Secure data storage system" with requirements: "REQ-01: Encrypt data at rest", "REQ-02: Role-based access control"
Follow-up prompts
- What tools can we use to maintain our traceability matrix effectively?
- How can we ensure all team members understand the traceability process?
- What regular checks should we implement to validate the accuracy of the matrix?