| name | requirements-test-matrix |
| description | Generate a comprehensive test case matrix from PRD requirements or Jira stories. Categorizes each test as automated, manual, or UAT candidate. Outputs a spreadsheet-ready format with full traceability to requirements. |
| argument-hint | [prd-or-story-reference] |
Requirements Test Matrix
Generate a comprehensive, categorized test case matrix from product requirements. Each test case is mapped to its source requirement and categorized by test type (automated, manual, UAT) for planning and execution.
When to Use
- PRD approved and stories created - need test coverage plan
- QA needs a master test list before sprint execution
- Preparing UAT test suites for CRO/sponsor users
- Building regression test suite for a new feature
- Validation planning (mapping tests to IQ/OQ/PQ)
Workflow
Step 1: Ingest Requirements
Accept input from:
- PRD text or Confluence URL
- Jira story keys (pull via Atlassian MCP)
- Pasted requirements or acceptance criteria
Step 2: Extract Testable Requirements
For each requirement, identify:
- Functional behavior to verify
- Edge cases and boundary conditions
- Error handling scenarios
- Regulatory/compliance requirements
- Performance expectations
- Security requirements
Step 3: Generate Test Case Matrix
Output as a table (CSV/spreadsheet-ready):
| TC-ID | Requirement Ref | Test Category | Test Title | Preconditions | Steps | Expected Result | Test Type | Priority | Automation Candidate | UAT Candidate | Validation Phase |
|-------|----------------|---------------|------------|---------------|-------|-----------------|-----------|----------|---------------------|---------------|-----------------|