用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/griddynamics/rosetta --skill ui-aqa-flow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | ui-aqa-flow |
| description | Workflow for automated QA: integration and end-to-end UI test automation, page objects, etc. |
| tags | ["workflow"] |
| baseSchema | docs/schemas/workflow.md |
<ui_aqa_flow>
<description_and_purpose>
End-to-end test automation from requirements gathering to test implementation. Uses test cases, project documentation to create automated tests following existing architecture and coding standards.
Prerequisite: Rosetta Prep Steps.
Terminology. External systems are named by role throughout this workflow and its phases: Test Management System (TMS), Issue Tracker, and Wiki. TestRail, Jira, and Confluence are canonical examples only — adapt identifiers, URLs, requests, calls, and query syntax to the systems resolved for the current project (from repository-root gain.json, explicit user input, recognizable URLs/handles, and available integrations).
</description_and_purpose>
<workflow_phases>
Execution cadence:
load-project-context, orchestration, hitlagents/TEMP/<FEATURE>/ui-aqa-state.md → next; never start a phase until the previous is marked done in ui-aqa-state.md.<orchestration_and_escalation>.No assumptions:
Customization:
Authoritative rules (do not skim past):
coding before any work touching repository tests, page objects, or shared helpers — authoritative for conventions; repository docs win over skill snippets.### Explicit Assertions in the test plan), enforced when Phase 6 implements tests.fixme spec · abort — and WAIT for the user's explicit choice. "Skip clarification" waives clarification questions only; it never authorizes this feasibility/scope call.<data_collection phase="1" applies="ALL" subagent="discoverer" role="UI-AQA data collector" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3.1-pro, grok-4.5, gpt-5.6-terra">
phases/ui-aqa-flow-data-collection.mdgain.json + project context at its configured paths (canonical: docs/CONTEXT.md, docs/ARCHITECTURE.md, agents/IMPLEMENTATION.md). Output: test plan at plans/ui-aqa-<test-name>/test-plan.mddata-collection, sensitive-data, qa-structure, qa-knowledgeagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 1 is not complete until its output spot-check passes.
</data_collection><requirements_clarification phase="2" applies="ALL" subagent="architect" role="Test requirements analyst" subagent_required_model="claude-opus-4-8, gpt-5.5-high, gemini-3.1-pro-high, gpt-5.6-sol" type="HITL">
phases/ui-aqa-flow-requirements-clarification.mdqa-knowledge (gap_analysis mode), qa-structurequestioningagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 2 is not complete until its output spot-check passes.
</requirements_clarification><code_analysis phase="3" applies="ALL" subagent="discoverer" role="Test architecture analyst" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3.1-pro, grok-4.5, gpt-5.6-terra">
phases/ui-aqa-flow-code-analysis.mdplans/ui-aqa-<test-name>/code-analysis.md (architecture patterns, existing page objects, test patterns)qa-knowledge (code_analysis mode), reverse-engineering, sensitive-data, qa-structureagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 3 is not complete until its output spot-check passes.
</code_analysis><selector_identification phase="4" applies="ALL" subagent="engineer" role="Selector identification specialist" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3-flash, grok-4.5, gpt-5.6-terra" type="HITL-CONDITIONAL">
phases/ui-aqa-flow-selector-identification.mdqa-knowledge (implementation_modes — selector mode Part A), qa-structure, sensitive-datatestingagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 4 is not complete until its output spot-check passes.
</selector_identification><selector_implementation phase="5" applies="ALL" subagent="engineer" role="Selector implementation specialist" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3-flash, grok-4.5, gpt-5.6-terra">
phases/ui-aqa-flow-selector-implementation.mdqa-knowledge (implementation_modes — selector mode Part B), qa-structuretesting, codingagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 5 is not complete until its output spot-check passes.
</selector_implementation><test_implementation phase="6" applies="ALL" subagent="engineer" role="Test automation engineer" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3-flash, grok-4.5, gpt-5.6-terra" type="HITL">
phases/ui-aqa-flow-test-implementation.mdqa-knowledge (implementation_modes — UI impl), qa-structuretesting, codingagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 6 is not complete until its output spot-check passes.
</test_implementation><test_report_analysis phase="7" applies="ALL" subagent="engineer" role="Test failure analyst" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3-flash, grok-4.5, gpt-5.6-terra" type="HITL">
phases/ui-aqa-flow-test-report-analysis.mdagents/user-instructions/). Output: failure analysis with root causes + fix recommendationsagents/user-instructions/).qa-knowledge (test_execution_triage mode), sensitive-data, qa-structureagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 7 is not complete until its output spot-check passes.
</test_report_analysis><test_corrections phase="8" applies="ALL" subagent="engineer" role="Test correction engineer" subagent_required_model="claude-sonnet-5, gpt-5.4-medium, gemini-3-flash, grok-4.5, gpt-5.6-terra" type="HITL">
phases/ui-aqa-flow-test-correction.mdphases/ui-aqa-flow-test-correction.md section <present_for_approval>.qa-knowledge (correction mode), qa-structuredebugging, coding, hitlagents/TEMP/<FEATURE>/ui-aqa-state.md; Phase 8 is not complete until its output spot-check passes.
</test_corrections></workflow_phases>
<orchestration_and_escalation>
hitl skill): a skip asserted but contradicted by agents/TEMP/<FEATURE>/ui-aqa-state.md / disk evidence is refused — announce the specific missing state row / absent artifact, then start the earliest incomplete phase the same turn. Audit-trail row → the state file's ## Verification-Failure Overrides (template owned by qa-structure).type="HITL" / type="HITL-CONDITIONAL" — those type= attributes are the sole source of truth for this workflow — plus safety/destructive confirmations. Any skip outside the refusal rule above requires explicit user confirmation (HITL).type="HITL" phase the subagent surfaces the question/blocker and returns; the orchestrator runs the gate with the user and only then resumes — never inferred, critical on the destructive Phase 8. Dispatch per USE SKILL orchestration.ui-aqa-state.md, ask the user; never substitute silently.
</orchestration_and_escalation><workflow_success_criteria>
agents/TEMP/<FEATURE>/ui-aqa-state.md, the artifacts those phases reference exist, and the user accepts the last test outcome or explicitly stops. In-scope = default execution plus user-approved customization/skip decisions under <orchestration_and_escalation>.<test-name> slug (no fabricated/placeholder slug) · P2 — ### Explicit Assertions in the plan (≥1 typed bullet or None-clause) · P3 — code analysis report populated (architecture + page-object inventory + test location) · P4 — ## Selector Management Part A deliverables in the plan · P5 — every identified selector in the updated page objects, lint-clean · P6 — test file exists lint-clean + ## Test Implementation record with all five subsections (incl. ### Uncovered Assertions / None-clause) · P7 — failure analysis when failures occurred, or state rows reconciled to N/A — 0 failures / None · P8 — user-approved edits applied when failures occurred, or state records N/A — no corrections after a zero-failure run.ui-aqa-state.md, flag uncertainty, stop for user guidance.
</workflow_success_criteria><state_file>
agents/TEMP/<FEATURE>/ui-aqa-state.md — created/updated after each phase from the template owned by qa-structure (its state-file skeleton asset, loaded at Phase 1). It carries ## Phase Completion Status, ## Key Artifacts & Facts (the resume anchor — only what resume-after-compaction needs), and ## Verification-Failure Overrides.
</state_file>
Subagents: discoverer · architect · engineer.
Cross-phase skills: qa-structure (paths / <test-name> slug / state-file shape) and qa-knowledge (modes, taxonomy, artifact skeletons — loads its own assets at point of use).
Integrations: TMS and Wiki per <description_and_purpose> Terminology, plus browser automation (Playwright is the canonical example).
</ui_aqa_flow>