guided-qa
A guided manual testing workflow where the agent pre-verifies features using browser tools, fixes found bugs, and then walks the user through the process.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Guided QA Skill
This skill guides the user through a structured manual testing session. It minimizes user frustration by ensuring the "happy path" works via automated tools before asking the user to perform the steps.
Workflow Overview
- Scope Definition: Clarify the specific area or feature to be tested if not already stated.
-
Automated Pre-flight: The Agent autonomously walks through the test steps using browser tools (
navigate_page,click,fill, etc.) to ensure basic functionality. - Pre-flight Fixes: Any bugs encountered during the automated phase are fixed immediately.
- User Walkthrough: The Agent guides the user step-by-step through the same flow.
- Interactive Triage: Bugs found by the user are categorized (Blocker vs. Non-Blocker) and handled accordingly.
- Resolution: Final fixes for non-blocking bugs are applied.
Phase 0: Scope Definition
Goal: Establish exactly what needs to be tested.
- Check Scope: If the user did not explicitly state what feature or flow to QA in their initial request (e.g., "QA the login flow" vs just "Run QA"), you MUST ask: "What specific area or feature would you like to QA today?"
- Confirm: Briefly repeat the scope back to the user to ensure alignment before starting Phase 1.
Phase 1: Automated Pre-flight
Goal: Verify the feature works for the Agent before involving the user.
- Analyze: Review the requested feature set and determine the critical user path.
-
Launch: Ensure the application is running (e.g.,
just weborjust dev-api).-
Tip: Use
run_shell_commandto check for running processes/ports.
-
Tip: Use
-
Execute: Use available browser tools to perform the steps.
-
navigate_page: Go to the starting URL (e.g.,http://localhost:8081for Expo Web). -
take_snapshot: Read the page structure. -
click/fill: Interact with elements. -
wait_for: Ensure async operations complete.
-
-
Fix: If a step fails (e.g., button doesn't work, error message appears):
- Pause the walkthrough.
- Investigate the code causing the issue.
- Fix the bug immediately.
- Verify the fix by retrying the step.
- Continue only after the fix works.
Phase 2: User Walkthrough
Goal: Guide the user through the verified path to catch UX issues or edge cases.
-
Instruct: Present one clear action at a time.
- Bad: "Go to the login page, sign in, and check your profile."
-
Good: "Please navigate to
http://localhost:8081." (Wait for confirmation). "Now, enter your email and click Login."
- Confirm: After each step, ask: "Did that work as expected?" or "What do you see?"
- Listen: Pay attention to details the user mentions (styling issues, confusion, lag).
Phase 3: Interactive Triage
Goal: Handle issues discovered by the user without derailing the session.
When the user reports a bug, ask: "Is this preventing you from continuing to the next step?"
Scenario A: Blocker (User cannot proceed)
- Acknowledge: "Understood. This is a blocker."
- Fix: Switch to coding mode. Locate the issue, fix it, and verify.
- Resume: Ask the user to retry the step.
Scenario B: Non-Blocker (Visual glitch, minor annoyance)
- Log: "I've noted that: [Brief description of bug]."
-
Defer: Add it to a
QA_FIX_LISTin your memory or a scratchpad. - Continue: "Let's proceed to the next step."
Phase 4: Resolution
Goal: Polish the feature by addressing the deferred list.
-
Review: Present the
QA_FIX_LISTto the user. - Fix: Systematically go through the list and apply fixes.
- Final Check: Ask the user if they want to verify any of the specific fixes or conclude the session.
Tools Strategy
-
Browser Tools: Use
navigate_page,take_snapshot, andclickheavily during Phase 1. -
Verification: Always use
take_snapshotafter an action to confirm the UI state changed as expected. -
Debugging: If a selector isn't found, use
take_snapshotwithverbose=trueto debug the accessibility tree.
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!