No slash command · from rosetta
Converts API test cases into detailed Given-When-Then test specifications, producing a test-specs.md with scenarios, file mapping, shared utilities, and execution order. Requires user approval before proceeding to the next phase.
Ships in rosetta. Installing the plugin adds it to Claude Code.
<api_aqa_flow_test_case_specification>
<description_and_purpose> Convert test cases into detailed, implementation-ready API test specifications using Given-When-Then format. User approval required before implementation. </description_and_purpose>
<workflow_context>
api-aqa-flowplans/api-aqa-{IDENTIFIER}/test-specs.md with Given-When-Then scenarios, file mapping, shared utilitiesqa-knowledge (scenario_design mode + test-specs skeleton + ATC conventions), sensitive-data (redaction), qa-structure ({IDENTIFIER} + artifact path)hitl (explicit approval)
</workflow_context><phase_steps>
<load_inputs step="4.1">
Read completely:
plans/api-aqa-{IDENTIFIER}/raw-data.md — original test cases and patternsplans/api-aqa-{IDENTIFIER}/api-analysis.md — endpoint contractsplans/api-aqa-{IDENTIFIER}/analysis.md — clarifications and resolved gaps</load_inputs>
<execute_authoring step="4.2" subagent="architect" role="Test specification author">
qa-knowledge (scenario_design mode) with all loaded inputs from step 4.1. This phase OWNS the output contract — the spec artifact shape is qa-knowledge's test-spec template (the skill loads its own asset) plus the file-mapping / shared-utilities / execution-order sections; the mode EMITS Given-When-Then ATC entries into them per its GWT-spec taxonomy and process.sensitive-data.</execute_authoring>
<produce_output step="4.3">
Before presenting: every item in <validation_checklist> below must be satisfied for the produced file. Items that are not yet verifiable at this step (e.g., user approval) are checked at step 4.5.
Create plans/api-aqa-{IDENTIFIER}/test-specs.md per qa-knowledge's test-spec template — it carries the full skeleton: Summary, Test Scenarios (per-endpoint ATC-NNN Given-When-Then with a worked example), Test File Mapping, Shared Utilities, Execution Order, Assumptions.
</produce_output>
<present_for_approval step="4.4">
qa-knowledge to run its shared approval gate; USE SKILL hitl. Approval = an exact token from the closed list approved / approve / yes (case-insensitive), scoped to the presented specs — no "or equivalent" / "or similar" phrasing extends it. Comments, questions, suggestions, edits, and partial review are REVIEW, not approval. Bindings: re-present step = 4.3; full-reject revisit target = Phase 3. Treat partial approve as a change request that drops the rejected scenarios.<update_state step="4.5">
<validation_checklist> and confirm every item is checked off — in particular that every ATC-NNN traces to a Phase 3 source (test-specs.md is Phase 5's contract; an untraceable ATC means Phase 5 implements unverifiable tests). Report Phase 4 checklist: N/N items satisfied in chat. Do NOT mark complete if any item fails.agents/TEMP/<FEATURE>/api-aqa-state.md:
<validation_checklist>
ATC-NNN traces to a Phase 3 source — its **Source:** line cites a raw-data.md test case (TC-NNN) and/or an analysis.md finding (G[N]/C[N]/A[N]); no untraceable ATC<failure_handling>
raw-data.md, api-analysis.md, or analysis.md absent or empty): stop Phase 4, record Phase 4 blocked: missing [artifact] in agents/TEMP/<FEATURE>/api-aqa-state.md, ask user to re-run the producing phase.BLOCKING ASSUMPTION entries): stop, record Phase 4 blocked: Phase 3 has open Critical questions, send user back to Phase 3.qa-knowledge scenario_design returns empty): stop, record the failure, ask user to verify inputs and re-run.<present_for_approval> step 3, stop and ask the user whether to re-open Phase 3 or escalate scope.
</failure_handling></api_aqa_flow_test_case_specification>
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