Analyzes Jira ticket and Confluence documentation to identify contradictions, gaps, ambiguities, and inconsistencies that need clarification for test generation.
Ships in core. Installing the plugin adds it to Claude Code.
agents/testgen/{TICKET-KEY}/raw-data.md exists and populatedagents/testgen/{TICKET-KEY}/testgen-state.md shows Phase 1 completeAnalyze Jira ticket and Confluence documentation to identify contradictions, gaps, ambiguities, and inconsistencies that need clarification.
Read agents/testgen/{TICKET-KEY}/raw-data.md completely.
Extract key sections:
Contradiction: Same concept with different/conflicting values or logic.
Analyze for:
Value Mismatches:
Logic Conflicts:
Requirement Conflicts:
Document each contradiction:
### C1: [Brief Title]
**Type**: Value Mismatch / Logic Conflict / Requirement Conflict
**Source 1**: Jira - [Field/Section] - "[Quote]"
**Source 2**: Confluence - [Page Title] - "[Quote]"
**Impact**: [Why this matters]
**Needs Clarification**: [Specific question]
Gap: Missing information required for implementation.
Analyze for:
Functional Gaps:
Non-Functional Gaps:
Data Gaps:
Business Logic Gaps:
Dependency Gaps:
Document each gap:
### G1: [Brief Title]
**Type**: Functional / Non-Functional / Data / Business Logic / Dependency
**Context**: [Where this is needed]
**Missing Information**: [What's not specified]
**Impact**: [Why implementation blocked without this]
**Suggested Question**: [How to ask for this information]
Ambiguity: Vague or unclear statements that could be interpreted multiple ways.
Look for:
Document each ambiguity:
### A1: [Brief Title]
**Source**: Jira / Confluence [Page]
**Vague Statement**: "[Quote]"
**Possible Interpretations**:
1. [Interpretation 1]
2. [Interpretation 2]
**Clarification Needed**: [Specific question]
Compare Jira and Confluence for:
Document:
### Cross-Reference Findings
**Only in Jira**:
- [Item 1]
- [Item 2]
**Only in Confluence**:
- [Item 1]
- [Item 2]
**Overlapping but Different Detail**:
- [Topic]: Jira has [X], Confluence has [Y detail level]
File: agents/testgen/{TICKET-KEY}/analysis.md
Format:
# Test Generation Analysis - [TICKET-KEY]
**Analyzed**: [DateTime]
**Phase**: 2 - Gap & Contradiction Analysis
**Sources**: Jira [TICKET-KEY] + [N] Confluence pages
---
## Executive Summary
- **Total Issues Found**: [Count]
- **Contradictions**: [Count]
- **Gaps**: [Count]
- **Ambiguities**: [Count]
- **Severity**: [Critical / High / Medium / Low]
**Recommendation**: [Can proceed with clarifications / Needs major rework / etc.]
---
## 1. Contradictions
[None found OR list each contradiction using format from Step 2]
### C1: [Title]
[Details]
### C2: [Title]
[Details]
---
## 2. Gaps
[None found OR list each gap using format from Step 3]
### G1: [Title]
[Details]
### G2: [Title]
[Details]
---
## 3. Ambiguities
[None found OR list each ambiguity using format from Step 4]
### A1: [Title]
[Details]
### A2: [Title]
[Details]
---
## 4. Cross-Reference Analysis
[Cross-reference findings from Step 5]
---
## 5. Positive Findings
**Well-Documented Areas**:
- [Area 1]: Clear and complete
- [Area 2]: Consistent across sources
**Strengths**:
- [Strength 1]
- [Strength 2]
---
## 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
- **Jira Fields Analyzed**: [List key fields]
- **Confluence Pages Analyzed**: [Count and titles]
- **Analysis Duration**: [Time spent]
- **Automated Checks**: [Any automated validation performed]
- **Manual Review**: [Areas requiring human judgment]
Update agents/testgen/{TICKET-KEY}/testgen-state.md:
## Phase Completion Status
- [x] Phase 1: Data Collection - Completed [Date]
- [x] Phase 2: Gap Analysis - Completed [DateTime]
- [ ] Phase 3: Question Generation - Not Started
- [ ] Phase 4: Requirements Generation - Not Started
- [ ] Phase 5: Test Scenarios - Not Started
## Metrics
- Jira Fields Extracted: [Count]
- Confluence Pages Analyzed: [Count]
- Contradictions Found: [Count]
- Gaps Identified: [Count]
- Ambiguities Found: [Count]
[...]
## Phase Details
[...]
### Phase 2: Gap & Contradiction Analysis
- **Completed**: [DateTime]
- **Files Created**: analysis.md
- **Contradictions**: [Count]
- **Gaps**: [Count]
- **Ambiguities**: [Count]
- **Risk Level**: [Critical/High/Medium/Low]
- **Notes**: [Summary of findings]
Before completing Phase 2, verify:
analysis.md createdread_file() - Read agents/testgen/{TICKET-KEY}/raw-data.mdwrite() - Create agents/testgen/{TICKET-KEY}/analysis.md, update agents/testgen/{TICKET-KEY}/testgen-state.mdmcp_sequential_thinking() - For complex analysisBe Specific:
Quote Sources:
Assess Impact:
Avoid Assumptions:
Prioritize:
Typical Contradictions:
Typical Gaps:
Typical Ambiguities:
After Phase 2 completion:
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
/griddynamics-core-instructions-r2-core:testgen-flow-gap-and-contradiction-analysisfrom core
Generated from the plugin's indexed repository (griddynamics/rosetta) — no native marketplace selected
npx claudepluginhub p/griddynamics-core-instructions-r2-core43 commands in this plugin
/adhoc-flowWorkflow for the rest of tasks: lightweight documentation, build, track, synchronize, etc./aqa-flowWorkflow for automated QA: integration and end-to-end UI test automation, page objects, etc./aqa-flow-code-analysisPhase 3 Code Analysis of aqa-flow/aqa-flow-data-collectionPhase 1 Data Collection of aqa-flow/aqa-flow-requirements-clarificationPhase 2 Requirements Clarification of aqa-flow/aqa-flow-selector-identificationPhase 4 Selector Identification of aqa-flowOther plugins' commands for the same job