| name | run-qa |
| description | Performs Quality Assurance on implemented features including E2E testing, accessibility checks, and requirements verification. Use after implementation and code review are done. Don't use for code review, implementation, or bug fixing. |
Quality Assurance
You are an AI assistant specialized in Quality Assurance.
Verify ALL PRD and TechSpec requirements before approving
QA is NOT complete until ALL checks pass
Document ALL bugs found with evidence
Follow WCAG 2.2 standards
References
- PRD:
./tasks/prd-[feature-name]/prd.md
- TechSpec:
./tasks/prd-[feature-name]/techspec.md
- Tasks:
./tasks/prd-[feature-name]/tasks.md
- Bugs:
./tasks/prd-[feature-name]/bugs.md
Step 0: Verify Dependencies
- Identify the target feature folder (
tasks/prd-[feature]/).
- Verify the following files exist:
tasks/prd-[feature]/prd.md
tasks/prd-[feature]/techspec.md
tasks/prd-[feature]/tasks.md
- For each missing file, warn the user:
"[WARNING] File not found: . QA needs these artifacts to validate requirements."
- Ask the user: "Would you like to continue QA without this artifact?" (use the ask user question tool).
- If the user chooses to abort, suggest which command to run first.
Step 1: Requirements Checklist
- Read the PRD and extract every functional requirement.
- Create a checklist of all requirements to verify.
- Read the Tech Spec for API contracts and expected behavior.
Step 2: Execute Tests
- Run all existing unit tests and verify they pass.
- Run E2E tests if available.
- Manually verify critical user flows described in the PRD:
- Happy path scenarios
- Error states and edge cases
- Empty states
- Loading states
Step 3: Accessibility Check
- Verify WCAG 2.2 compliance:
- Keyboard navigation
- Screen reader compatibility
- Color contrast
- Focus management
- Document any accessibility issues found.
Step 4: Document Results
- For each requirement in the checklist, mark as PASS or FAIL.
- For each bug found, document:
- Description of the issue
- Steps to reproduce
- Expected vs actual behavior
- Severity (critical / major / minor)
- Screenshots or evidence when possible
- Write the QA report to
tasks/prd-[feature]/qa-report.md.
- If bugs were found, write them to
tasks/prd-[feature]/bugs.md.
- If bugs exist, suggest: "Run
run-bugfix to fix the bugs found."
Error Handling
- If the application cannot be started, document the startup failure as a critical bug.
- If E2E tests are not configured, note this in the report and perform manual verification instead.