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.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!