From core
Interactively clarifies test requirements by identifying gaps, defining explicit assertions, and generating prioritized questions for user input.
How this command is triggered — by the user, by Claude, or both
Slash command
/core:aqa-flow-requirements-clarificationThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Phase 2: Requirements Clarification ## Objective Fill gaps in understanding, clarify unknowns, and define explicit assertions before implementation. This phase requires **USER INTERACTION**. ## Prerequisites - Phase 1 completed - Test plan file created with TestRail and Confluence data - Initial understanding of test requirements ## Phase Tasks ### Task 1: Review Gathered Information for Gaps **Actions**: 1. Read the test plan file from Phase 1 2. Analyze information for completeness: - Are test steps clear and unambiguous? - Are expected results specific and measurable? -...
Fill gaps in understanding, clarify unknowns, and define explicit assertions before implementation. This phase requires USER INTERACTION.
Actions:
Expected Output: List of gaps and questions that need user input.
Actions:
Expected Output: Complete list of explicit, measurable assertions for each test step.
Actions:
Example Questions:
Critical Questions:
1. When clicking [Button X], should we verify only [Element Y] appears,
or also check that [Element Z] disappears?
2. For the success message, should we match exact text "Success!"
or just verify message contains "Success"?
3. What test data should be used for [Field A]? Any specific format?
Edge Cases:
4. What should happen if [Condition X] occurs during the test?
5. Should we test with empty/invalid data, or only valid data?
Test Flow:
6. Are there any timing dependencies (waits, delays)?
7. Should this test clean up data after execution?
Expected Output: Organized list of specific questions for user.
Actions:
User Interaction Format:
I need clarification on the following to ensure accurate test implementation:
## Critical Questions (Must Answer)
1. [Question]
2. [Question]
...
## Edge Cases (Should Answer)
1. [Question]
2. [Question]
...
## Optional Details (Nice to Have)
1. [Question]
2. [Question]
...
Please provide answers so I can proceed with test implementation.
Expected Output: Complete answers from user to all questions.
Actions:
## Phase 2: Requirements Clarification
### Questions Asked
[List of questions]
### User Responses
[Documented answers]
### Defined Assertions
#### Step 1: [Action]
- Assert: [Explicit assertion]
- Verification: [How to verify]
#### Step 2: [Action]
- Assert: [Explicit assertion]
- Verification: [How to verify]
...
### Edge Cases to Cover
- [Edge case 1]
- [Edge case 2]
...
### Test Data Requirements
- [Data requirement 1]
- [Data requirement 2]
...
Expected Output: Enhanced test plan with all clarifications and explicit assertions documented.
agents/aqa-state.md updated with Phase 2 completionAfter completing Phase 2, update agents/aqa-state.md:
### Phase 2: Requirements Clarification
- Completed: [DateTime]
- Questions Asked: [Count]
- Assertions Defined: [Count]
- Edge Cases: [List]
- User Responses: Documented in test plan
Mark Phase 2 as completed and Phase 3 as current.
After user provides all answers, proceed to Phase 3: Code Analysis by executing:
ACQUIRE aqa-flow-code-analysis.md FROM KB
npx claudepluginhub p/griddynamics-core-instructions-r2-core/hatch3r-test-planProduces a comprehensive test plan with coverage targets, priority ordering, test case outlines, and structured todo.md entries using parallel researchers for feature or module-level auditing.
/speckit-checklistGenerates a domain-specific checklist to validate the quality, clarity, and completeness of requirements, treating specs as code and the checklist as their unit tests.
/test-planCreates a structured, prioritized test plan for a feature, module, file, or PR, covering unit, integration, UI, E2E, and contract tests with gap analysis.
/qa-planBuilds a QA plan, test matrix, and exit criteria for the selected scope, producing structured output with assumptions and risks.