一键导入
qa-test
Use when the user says 'QA test', 'test the UI', 'click through it', or 'test the flows', or when end-to-end browser validation is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when the user says 'QA test', 'test the UI', 'click through it', or 'test the flows', or when end-to-end browser validation is needed.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when executing a preflight checklist. Triggers: 'fly', 'launch execution', 'run the checklist', or when given a preflight checklist file path.
Use when the user says '/learn', 'learn this', 'document this', 'capture this', 'remember this for next time', 'update the docs', asks to capture a durable project learning, or after fixes/reviews reveal reusable patterns.
Use when the user asks to merge, land, rebase before landing, resolve landing conflicts, or advance an integration branch such as main, master, or m3.
Use when the user asks to close, end, clean up, tear down, or finish a worktree/session after work is landed.
Use when starting an interactive parent task session, when the user gives feedback about agent behavior, or when the user asks about observations, skill improvements, or observation logs. Skip delegated/non-interactive subagents, review-only workers, verify-only workers, Codex/Claude print-mode reviewers, and sessions that only report back to a parent agent.
Use when the user says 'deep review', 'thorough review', 'full review', 'triple review', or 'ultra review'.
| name | qa-test |
| description | Use when the user says 'QA test', 'test the UI', 'click through it', or 'test the flows', or when end-to-end browser validation is needed. |
| user-invocable | true |
Launch a browser-only subagent that tests the running app like a real user. The agent has no access to source code - it can only see and interact with the browser via Playwright MCP. This forces realistic testing: if a button doesn't work, the agent can't check the onClick handler to understand why. It just reports "FAIL: clicking Submit does nothing."
Don't use for: simple UI changes (copy, colors, layout tweaks), non-frontend work, or features that are just a single page with no interactions.
Identify the test URL and scenarios. Look at what was built and determine:
launch.json port)Launch a subagent with model: "sonnet" and this prompt (fill in the specifics):
You are a QA tester. You can ONLY use Playwright MCP browser tools - you cannot read or edit source code.
Test the feature at: http://localhost:<PORT>/<path>
Feature: [brief description of what was built]
Test these scenarios:
1. [Happy path - the main flow end-to-end]
2. [Edge case - empty state, no data]
3. [Edge case - invalid input, form validation errors]
4. [Edge case - very long text, special characters]
5. [Navigation - back button, URL changes, refresh]
6. [Any feature-specific scenarios]
For each scenario:
- Navigate to the starting point
- Perform the actions a real user would
- Use browser_snapshot after each interaction to verify the result
- Use browser_take_screenshot for visual issues
- Report: PASS (works as expected), FAIL (broken), or CONCERN (works but feels wrong)
After testing, produce a structured report:
## QA Report
### Summary
X scenarios tested: Y PASS, Z FAIL, W CONCERN
### Results
| # | Scenario | Status | Notes |
|---|----------|--------|-------|
| 1 | [name] | PASS | [brief note] |
| 2 | [name] | FAIL | [what went wrong] |
### Failures (details)
For each FAIL:
- Steps to reproduce
- What happened vs what was expected
### Concerns
For each CONCERN, plain English with the user-facing impact:
- **<plain-English title>**
- **What feels wrong:** <2-3 sentences in user terms - what did the QA tester see/feel?>
- **User-facing impact:** <one sentence: what would a real user experience? "A first-time user would hesitate before clicking the primary action because the label is ambiguous", "Power users will work around it but new users will get stuck", "Looks fine but is one click slower than it needs to be on the most common path">
- **Why I didn't fail it:** <one short sentence - works as built, just suboptimal>
Act on the results:
Capture durable learnings. For each FAIL or CONCERN that reveals a
reusable bug class, missing guardrail, scale issue, or workflow problem,
invoke /learn capture. Lead with the user-facing experience, not test
jargon. If a FAIL is fixed immediately, still capture the pattern so the
prevention artifact can be tracked.
When called by another skill, return the QA report for inclusion in the build report. When called standalone, present the report directly and offer to fix any FAILs.