No slash command · from rosetta
Generates targeted clarification questions from analysis findings to resolve contradictions, gaps, and ambiguities. Waits for user answers and validates completeness before proceeding to requirements.
Ships in rosetta. Installing the plugin adds it to Claude Code.
<testgen_flow_question_generation>
<description_and_purpose> Generate specific, actionable clarification questions based on analysis findings, collect user answers, and validate completeness. This is the primary HITL gate — user input is required before proceeding to requirements generation. </description_and_purpose>
<workflow_context>
testgen-flowanalysis.md from Phase 2questions.md (for user), answers.md (structured user responses by AI based on answers in questions.md)questioning<phase_steps>
<generate_questions step="3.1">
plans/testgen-{TICKET-KEY}/analysis.mdquestioning to formulate targeted clarification questions from analysis findingsQ5: G3, G4, A2 - User Permissions Model<question_format_for_contradictions>
### Q[N]: [Issue ID] - [Brief Title]
**Issue Type**: Contradiction
**Context**:
- Ticket states: "[quote]"
- Wiki states: "[quote]"
**Question**: Which statement is correct, or should we use a different approach?
**Options**:
a) Use the ticket version: [specific value]
b) Use the Wiki version: [specific value]
c) Use alternative: [specify]
d) Other (please specify)
**Your Answer**:
[Leave blank for user]
</question_format_for_contradictions> <question_format_for_gaps>
### Q[N]: [Issue ID] - [Brief Title]
**Issue Type**: Gap (Functional/Non-Functional/Data/Business Logic/Dependency)
**Context**: [Where this is needed in implementation]
**Question**: [Specific question about missing information]
**Examples/Options** (if applicable):
- Option 1: [example]
- Option 2: [example]
- Other: [allow free text]
**Your Answer**:
[Leave blank for user]
</question_format_for_gaps> <question_format_for_ambiguities>
### Q[N]: [Issue ID] - [Brief Title]
**Issue Type**: Ambiguity
**Vague Statement**: "[quote from source]"
**Question**: Can you clarify what "[vague term]" means specifically?
**Need to Know**:
- [Specific aspect 1]
- [Specific aspect 2]
**Your Answer**:
[Leave blank for user]
</question_format_for_ambiguities>
<good_questions>
<poor_questions>
<create_questions_document step="3.2">
plans/testgen-{TICKET-KEY}/questions.md using the questions.md template defined in <questions_template> belowquestions.md path and ask them to fill the [Leave blank for user] fields there. A short chat summary of the questions is fine for orientation, but the authoritative answers are collected in questions.md — do NOT run a chat Q&A in its place, and do NOT accept chat replies as a substitute for the file (validate_answers, step 3.3, reads the file, not the chat). This keeps every question visible and answerable to the user, instead of only the ones the agent chose to surface in chat.<questions_template>
questions.md template:
# Clarification Questions - [TICKET-KEY]
**Created**: [DateTime]
**Phase**: 3 - Question Generation
**Source Analysis**: plans/testgen-[TICKET-KEY]/analysis.md
---
## Summary
- **Total Questions**: [Count]
- **P0 (Critical, MUST answer)**: [Count]
- **P1 (High)**: [Count]
- **P2 (Medium)**: [Count]
- **P3 (Low)**: [Count]
---
## How to Answer
For each question below, replace `[Leave blank for user]` with your answer (or `UNKNOWN — need to research with [stakeholder]` if you cannot answer right now). All **P0** must be answered before Phase 4 proceeds; P1 must be answered or marked UNKNOWN.
---
## P0 Questions (Critical)
[Insert Q-entries here using `<question_format_for_contradictions>` / `<question_format_for_gaps>` / `<question_format_for_ambiguities>` formats above, grouped under this section]
## P1 Questions (High)
[Same; if none, omit the section]
## P2 Questions (Medium)
[Same; optional, may remain blank per `<validate_answers>` rule]
## P3 Questions (Low)
[Same; optional, may remain blank per `<validate_answers>` rule]
---
## Additional Questions or Comments
[If you have information, constraints, edge cases, or context NOT covered by the questions above, add it here. This free-text is the channel for user-volunteered input and is carried into Phase 4 requirements.]
---
## Completion Checklist (tick before notifying the agent)
- [ ] All P0 questions answered (no blanks)
- [ ] P1 answered or marked `UNKNOWN — need to research with [stakeholder]`
- [ ] File saved
- [ ] When complete, tell the agent: "answers ready"
</questions_template> </create_questions_document>
<validate_answers step="3.3">
questions.mdP0 → P1 (user-authorized downgrade) in answers.md before treating UNKNOWN as acceptable). Phase 3 stays open until every P0 is resolved by (a) or (b).UNKNOWN — need to research with [stakeholder].<create_answers_document step="3.4">
plans/testgen-{TICKET-KEY}/answers.md using template below<answers_template>
answers.md template:
# User Answers - [TICKET-KEY]
**Answered**: [DateTime]
**Phase**: 3 - User Input
**Total Answers**: [Count answered questions]
---
## Summary
- **Questions Answered**: [Count] / [Total]
- **P0 Answered**: [Count] / [Total P0]
- **P1 Answered**: [Count] / [Total P1]
- **Unknowns**: [Count marked UNKNOWN]
---
## Resolved Issues
### Q1: [Issue ID] - [Title]
**Question**: [Original question summary]
**Answer**: [User's answer]
**Follow-up**: [If provided]
**Status**: Resolved
### Q2: [Issue ID] - [Title]
[Same format]
---
## Unresolved Issues (Marked UNKNOWN)
### Q[N]: [Issue ID] - [Title]
**Question**: [Summary]
**Status**: Need to research with [stakeholder/team]
**Impact**: [From original analysis]
**Recommendation**: [How to proceed without this info, if possible]
---
## Additional User Input
[Include any additional comments user provided]
---
## Next Steps
1. Proceed to Phase 4: Requirements Generation
2. Incorporate all resolved answers
3. Document assumptions for unresolved issues
4. Flag unresolved issues in requirements document
</answers_template> </create_answers_document>
<update_state step="3.5">
plans/testgen-{TICKET-KEY}/testgen-state.md with Phase 3 complete. State delta (per testgen-flow.md SELF-CHECK): set the Phase 3 ## Phase Completion Status row to complete; populate ## Phase Details (questions generated, P0/P1 answered, unresolved/UNKNOWN counts, files created: questions.md, answers.md); update ## Metrics.<validation_checklist>
questions.md created with all questions from analysisanswers.md created with structured answers<failure_handling>
analysis.md: stop Phase 3, record Phase 3 blocked: analysis.md missing in testgen-state.md, ask user to rerun Phase 2.SKIPPED — no questions in testgen-state.md, and advance to Phase 4 directly (do not create an empty questions.md).Phase 3 blocked: unparseable answers after 2 retries, and ask the user whether to re-do questions.md from scratch or escalate.Phase 3 blocked: user-declined-answers on P0, ask whether to re-open Phase 2 or escalate scope.
</failure_handling></testgen_flow_question_generation>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub griddynamics/rosetta --plugin rosetta70 commands in this plugin
/api-aqa-flow-data-collectionPhase 1 Data Collection of api-aqa-flow2 plugins in one repository ship this exact command · first indexed Aug 20, 2026
Other plugins' commands for the same job