No slash command · from rosetta
Analyzes Issue Tracker ticket and Wiki documentation to identify contradictions, gaps, ambiguities, and inconsistencies, producing a categorized analysis document for requirements generation.
Ships in rosetta. Installing the plugin adds it to Claude Code.
<testgen_flow_gap_and_contradiction_analysis>
<description_and_purpose> Analyze the Issue Tracker ticket and Wiki documentation to identify contradictions, gaps, ambiguities, and inconsistencies that need clarification before requirements generation. </description_and_purpose>
<workflow_context>
testgen-flowraw-data.md from Phase 1analysis.md with categorized contradictions, gaps, ambiguities, risk assessmentqa-knowledge (gap_analysis mode)<phase_steps>
<load_raw_data step="2.1">
plans/testgen-{TICKET-KEY}/raw-data.md completelyraw-data.md missing: stop Phase 2, record Phase 2 blocked: raw-data.md missing in testgen-state.md, and ask user to rerun Phase 1.raw-data.md exists but key sections empty (no ticket description / no Wiki content): record the empty sections as gaps for Phase 3 to surface, and proceed — do not silently fabricate content.raw-data.md corrupt / unparseable: stop Phase 2, record the parse error, and ask user to inspect the file.
</load_raw_data><run_analysis step="2.2" subagent="architect" role="Requirements gap analyst">
qa-knowledge (gap_analysis mode, general multi-source variant). The mode is analysis-only and EMITS categorized findings into this phase's <analysis_document_contract> artifact; it never invents the artifact shape or path.raw-data.md.<create_analysis_document step="2.3">
Create plans/testgen-{TICKET-KEY}/analysis.md. The qa-knowledge gap_analysis mode EMITS its categorized findings into the phase-owned document contract below — this phase OWNS the full skeleton, section list, and risk-assessment artifact shape; the mode supplies the finding entries.
Precondition (mode produced findings): step 2.2 invoked the gap_analysis mode and produced categorized findings (or an explicit zero-issues result). If the mode could not run, apply <failure_handling> "gap_analysis produced no findings" — do NOT fabricate a partial analysis.
<analysis_document_contract>
The document has these sections in order; empty finding sections carry No issues found (never silently omitted). Per-entry shapes: C[N] (Type / Source 1 / Source 2 / Impact / Needs Clarification), G[N] (Type / Context / Missing Information / Impact / Suggested Question), A[N] (Source / Vague Statement / Possible Interpretations ≥2 / Clarification Needed). Risk tiers are exactly three (High / Medium / Low) — no fourth tier. Phase 3 priority mapping (so the downstream P0/P1 signal is unambiguous): a High finding whose Impact is "blocks implementation" → Phase 3 P0 (MUST answer); Medium (impacts quality) → P1; Low (minor clarification) → P2/P3. Phase 3 classifies a question's priority from the finding's tier + its stated Impact, not from a tier name alone.
# Analysis - [TICKET-KEY]
**Analyzed**: [DateTime]
**Sources**: [Issue Tracker ticket + Wiki pages analyzed]
---
## Executive Summary
- **Total Issues Found**: [Count]
- **Contradictions**: [Count] · **Gaps**: [Count] · **Ambiguities**: [Count]
- **Severity**: [High / Medium / Low]
- **Recommendation**: [Can proceed with clarifications / Needs major rework]
## 1. Contradictions
[None found OR C[N] entries]
## 2. Gaps
[None found OR G[N] entries]
## 3. Ambiguities
[None found OR A[N] entries]
## 4. Cross-Reference Analysis
[Findings OR `Skipped — only one source available (<name>); no cross-reference possible.`]
## 5. Positive Findings
[Well-documented areas / strengths]
## 6. Risk Assessment
**High Risk** (blocks implementation): [Issue ID — why blocking]
**Medium Risk** (impacts quality): [Issue ID — impact]
**Low Risk** (minor clarification): [Issue ID — minor impact]
## 7. Next Steps
1. Generate clarification questions (Phase 3)
2. Total questions expected: [Estimate based on issues found]
3. Recommended: Review with [Stakeholder role] before proceeding
## Analysis Metadata
- **Ticket Fields Analyzed**: [List key fields]
- **Wiki Pages Analyzed**: [Count and titles]
- **Analysis Duration**: [Time spent]
- **Manual Review**: [Areas requiring human judgment]
</analysis_document_contract>
Zero-issues handling. If total issues = 0, every finding section carries No issues found, set Total questions expected: 0, and replace the Recommended: ... line with Proceed directly to Phase 4 — no clarification needed (per Phase 2 zero-issues outcome). The document is still produced so downstream phases have a verifiable artifact.
Finding-quality grounding (applies to every Contradiction / Gap / Ambiguity entry):
| ❌ Vague | ✅ Specific |
|---|---|
Some details missing. | User authentication method not specified — the ticket mentions "secure login" but does not name OAuth, SAML, or basic auth; needed for Phase 4 requirements. |
Name the specific concept that's missing or conflicting, quote the source text, explain why the gap blocks the next phase.
</create_analysis_document>
<update_state step="2.4">
plans/testgen-{TICKET-KEY}/testgen-state.md with Phase 2 complete and metrics (contradictions, gaps, ambiguities counts, risk level)SKIPPED — no issues from Phase 2 in testgen-state.md if the user agrees, then proceed to Phase 4.<validation_checklist>
analysis.md created with all sections per <analysis_document_contract> (in order; empty finding sections carry No issues found)<failure_handling>
qa-knowledge gap_analysis mode but it could not run / returned nothing): stop Phase 2, record Phase 2 blocked: qa-knowledge gap_analysis produced no findings in testgen-state.md, ask the user to verify the skill loaded correctly. The phase blocks when the mode is unavailable; do NOT fabricate a partial analysis.md. (Entry shapes are owned inline by <analysis_document_contract>, but the mode supplies the analysed findings — a blank skeleton with no analysis is not acceptable.)qa-knowledge gap_analysis errors mid-run): re-invoke once with the same inputs; if still failing, stop, record the skill failure, and ask the user to verify input quality.analysis.md unwritable at the supplied path (permission denied, disk full): pause, report the filesystem error with the path; do not mark Phase 2 complete.</failure_handling>
- Focus on implementation-blocking issues first - Balance thoroughness with practicality — don't over-analyze minor details</testgen_flow_gap_and_contradiction_analysis>
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
/adhoc-flowWorkflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc./api-aqa-flowWorkflow for backend API test automation: TMS / Issue Tracker test cases → automated API tests, HITL-gated./api-aqa-flow-api-spec-analysisPhase 2 API Spec Analysis of api-aqa-flow/api-aqa-flow-data-collectionPhase 1 Data Collection of api-aqa-flow/api-aqa-flow-execution-and-report-analysisPhase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED)/api-aqa-flow-gap-and-requirements-clarificationPhase 3 Gap & Requirements Clarification of api-aqa-flow (USER INTERACTION REQUIRED)2 plugins in one repository ship this exact command · first indexed Aug 20, 2026
Other plugins' commands for the same job