No slash command · from rosetta-light
Extracts issue tracker ticket data and wiki documentation from a project to establish baseline for gap analysis and requirements generation. Phase 1 of the testgen-flow pipeline.
Ships in rosetta-light. Installing the plugin adds it to Claude Code.
<testgen_flow_data_collection>
<description_and_purpose> Extract all relevant data from the Issue Tracker ticket and related Wiki / documentation sources to establish baseline for gap analysis and requirements generation. </description_and_purpose>
<workflow_context>
testgen-flowinitial-data.mdraw-data.md with extracted Issue Tracker and Wiki datadata-collection (single canonical collector). This phase resolves each in-scope provider and passes its role + provider to the skill; the skill loads the role-named binding.testgen-project-config.md data sources, prefilled from gain.json sdlc.issue_tracker(_project) / sdlc.wiki(_project)).initial-data.md (valid evidence when unambiguous).SKIPPED_NO_CONFIG (record the gap + skip that source, do not fabricate a provider). The Issue Tracker source is required.<phase_steps>
<extract_ticket step="1.1">
plans/testgen-{TICKET-KEY}/initial-data.md (contributes the original user prompt and a pointer to the project config) and the original user request.<workflow_context>. If unresolvable with scope active, re-read config; still absent → record the gap and stop Phase 1.PROJ-NNN form), do not proceed until the user provides it. After 2 unsuccessful re-asks, record Phase 1 blocked: ticket key unresolvable in testgen-state.md and stop.data-collection with role Issue Tracker, the resolved provider, the resolved ticket key, and the ticket section of <create_raw_data>'s minimum-output contract; the skill loads its issue binding and adapts the canonical Jira examples to the target system. Retrieve fields: summary, description, status, issuetype, priority, labels, components, assignee, reporter, comments (up to 10). Redaction runs inside data-collection via sensitive-data before write.</extract_ticket>
<get_wiki step="1.2">
<workflow_context>. If no Wiki is in scope, apply SKIPPED_NO_CONFIG: record Wiki Source: Skipped — no Wiki configured and proceed ticket-only.data-collection with role Wiki, the resolved provider, the Wiki input handle(s), and the Wiki section of <create_raw_data>'s contract. The skill's documentation binding owns URL parsing, direct-URL-vs-search precedence, child-page traversal, truncation, deduplication, permission fallbacks, AND the authenticated reads/searches in one binding — no second skill to reconcile against; its canonical Confluence examples adapt to the target system. Redaction runs inside data-collection via sensitive-data before write.data-collection when no URLs supplied): project key (from ticket key), labels, component names, key terms from summary/description.Wiki Source: not available — proceeded ticket-only in the data collection summary and continue. Do NOT fabricate documentation content.
</get_wiki><create_raw_data step="1.3">
Minimum-output contract (asserted by this phase independent of skill internals): raw-data.md MUST capture, at minimum — ticket: summary, description, status, priority, labels, components, comments; Wiki (when not skipped): page title, URL, content. Missing any of these = phase incomplete, regardless of what the data-collection role bindings define internally. The template below shows Jira/Confluence field names as canonical examples — adapt labels to the resolved providers.
plans/testgen-{TICKET-KEY}/raw-data.md with structure:
Extracted: [DateTime] Phase: 1 - Data Collection Providers: [resolved Issue Tracker / Wiki] Wiki Source: [User-provided URLs / Auto-search / User-provided after search / Skipped]
URL: [Ticket URL] Summary: [Summary] Type: [Issue Type] Status: [Status] Priority: [Priority] Created: [Date] Updated: [Date]
[Full description - rendered if HTML, otherwise raw]
Name: [Assignee Name] Email: [If available]
Name: [Reporter Name] Email: [If available]
[List any custom fields found, e.g., Epic Link, Story Points, Sprint, etc.]
URL: [Wiki page URL] Space: [Space Key] Labels: [Labels] Updated: [Date] Type: Parent / Child of [Parent Title]
[Full page content in markdown]
URL: [Wiki page URL] Space: [Space Key] Parent Page: [Parent Title] - [URL] Labels: [Labels] Updated: [Date] Type: Child
[Full page content in markdown]
[Repeat for each page and child page]
</create_raw_data>
<update_state step="1.4">
Update plans/testgen-{TICKET-KEY}/testgen-state.md per the canonical state-file schema (owned by testgen-flow-project-config-loading.md <state_file_template>, via testgen-flow.md <state_and_outputs> — this phase does NOT restate the full schema; it produces the Phase 1 delta the schema slots in).
Phase 1 delta — required fields (slot into the schema's ## Phase Completion Status and ## Phase Details blocks):
# In `## Phase Completion Status`:
- [x] Phase 1: Data Collection - Completed [ISO datetime]
# In `## Phase Details`, append:
### Phase 1
- Completed: [ISO datetime]
- Ticket: [TICKET-KEY]
- Ticket Fields Captured: [count] (summary, description, status, priority, plus any extracted custom fields)
- Wiki Pages: [count] (or `0 — user approved skip` if no docs)
- Files Created: plans/testgen-{TICKET-KEY}/raw-data.md
- Notes: [partial-load flags from get_wiki step 1.2, or ticket-key-extraction notes from step 1.1, or `None`]
Update **Current Phase**: 1 → **Current Phase**: 2 and refresh **Last Updated** at the top of the file.
Tell user: "Phase 1 complete. Found [X] ticket fields and [Y] Wiki pages."
</update_state>
<validation_checklist>
raw-data.md created with the ticket section populatedIssue: Ticket not found Solution: Verify ticket key with user, check permissions
Issue: Wiki search returns 0 results Solution: Ask user for page URLs, or proceed with ticket-only analysis
Issue: Wiki page too large Solution: Include first 5000 words, note truncation in raw-data.md
Issue: Custom fields not recognized
Solution: Invoke the search-fields operation per data-collection's issue binding (or equivalent integration) to enumerate available field names
Issue: Wiki search finds parent but misses child pages
Solution: Always perform the child-page traversal operation per data-collection's documentation binding (or equivalent integration) for each found page
Issue: User provided an invalid Wiki URL Solution: Try to parse the page handle; if that fails ask user for a correct URL or page ID
Issue: Wiki URL is from a different domain Solution: The URL is still valid provider evidence — try the matching available integration once; on failure report the host mismatch and ask for an accessible equivalent or approval to continue without that source </common_issues> </testgen_flow_data_collection>
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub griddynamics/rosetta --plugin rosetta-light70 commands in this plugin
2 plugins in one repository ship this exact command · first indexed Aug 20, 2026
Other plugins' commands for the same job