No slash command · from rosetta
Identifies missing UI selectors from frontend source code or page-source HTML and records the selector map with values and strategy. Phase 4 of the ui-aqa-flow pipeline.
Ships in rosetta. Installing the plugin adds it to Claude Code.
<ui_aqa_flow_selector_identification>
<description_and_purpose> Identify missing UI selectors from frontend source code or page-source HTML and record the selector map with values and strategy. Conditionally requests page-source capture from the user. Read-only identification — no page-object writes (that is Phase 5). </description_and_purpose>
<workflow_context>
ui-aqa-flowplans/ui-aqa-<test-name>/test-plan.md with assertions; Phase 3 code analysis at plans/ui-aqa-<test-name>/code-analysis.md## Selector Management section (Part A subsections) written into the test plan<test-name> slug resolution + the page-sources capture path/naming contract are owned by qa-structure's UI layout reference.qa-knowledge (implementation_modes — selector mode Part A, read-only identification; page-source capture message), qa-structure (<test-name> + page-sources path), sensitive-data (page-source redaction)testing
</workflow_context><failure_handling>
If the code-analysis file is missing, the slug stays ambiguous in agents/TEMP/<FEATURE>/ui-aqa-state.md, or more than one plausible plans/ui-aqa-*/code-analysis.md exists: stop Phase 4, record the gap in agents/TEMP/<FEATURE>/ui-aqa-state.md, ask the user once for the canonical <test-name> or to re-run Phase 3 — do not guess (slug rules per qa-structure).
</failure_handling>
<phase_steps>
<test-name> and verify the Phase 3 code-analysis file (step 4.0)<resolve_inputs step="4.0">
qa-structure and resolve <test-name> per its UI layout slug rules (the slug matches the Phase 1 run folder; use ui-aqa-state.md if unclear).plans/ui-aqa-<test-name>/code-analysis.md exists and is the single canonical input for this run.<failure_handling>.
</resolve_inputs><execute_identification step="4.1" subagent="engineer" role="Selector identification specialist">
testing and USE SKILL qa-knowledge (implementation_modes — selector mode, Part A: read-only identify) with the parent-supplied bindings: test plan path; code-analysis path; page-sources directory + capture contract = qa-structure's UI layout; output = the ## Selector Management section's Part A subsections in the test plan.<workflow_context>).Part A deliverables (written into the test plan's ## Selector Management — the contract Phase 5 reads):
data-testid > id > stable class/ARIA > XPath).Blocking-infeasibility check. If the test's core interactions are UNRESOLVABLE because the target elements/flow are absent from the app — page source was captured but contains no matching elements (not merely a not-yet-captured page source) — the test cannot be authored without inventing selectors or modifying product source. Trigger the workflow's Blocking infeasibility HARD-STOP (ui-aqa-flow.md): escalate to the user with the options and WAIT for an explicit choice. Do NOT fabricate selectors, do NOT on your own initiative default to a pending/fixme spec, and do NOT advance to Phase 5 — even if the user earlier said "skip clarification".
</execute_identification>
<handle_page_source step="4.2" condition="selectors still missing">
Create directory plans/ui-aqa-<test-name>/page-sources/ (same <test-name> slug resolved in step 4.0; path/naming contract per qa-structure).
Send the user the verbatim capture-instruction message — USE SKILL qa-knowledge to send its page-source capture instructions verbatim. Do NOT paraphrase; non-technical users rely on the literal F12 / right-click steps.
STOP AND WAIT for the user to add the page-source files. Acceptable resumption signals: the user replies with "captured" + the filename list, OR the user replies with a single filename and a "more coming" signal (partial-resumption allowed once the user confirms the rest).
Verify the files exist at plans/ui-aqa-<test-name>/page-sources/ with the kebab-case naming (<page-name>.html). If any file is missing, malformed, or saved with the wrong name, ask the user once for a corrected filename or content; do NOT proceed to selector analysis on incomplete page-source coverage.
Redaction pre-read gate (fail-closed): authenticated page-source HTML routinely embeds session/CSRF tokens and PII. USE SKILL sensitive-data: scan every saved page-source file and redact in place BEFORE reading or referencing any of it — no scan → no read. Then continue Part A analysis.
</handle_page_source>
<update_state step="4.3">
## Selector Management section carries the Part A deliverables (Interaction Map · Selector Availability · Identified Selectors · Fragile Selectors Flagged). If absent, return to the identification step and write them — Phase 5 reads this section as its contract; completing Phase 4 without it leaves Phase 5 with no selectors to implement.agents/TEMP/<FEATURE>/ui-aqa-state.md:
<validation_checklist>
qa-structure's page-sources contract or stopped per <handle_page_source>sensitive-data scan executed (fail-closed) before any page-source content was read or referenced; no literal tokens/PII remain
</validation_checklist></ui_aqa_flow_selector_identification>
What the command file sets; muted values are Claude Code's defaults
ui-testing, selector-identification, qa-automation, test-plan
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