browser-workflow-executor
Reusable skills for Claude Code
0 stars0 forksUpdated Jan 17, 2026
npx skills add https://github.com/neonwatty/claude-skills --skill browser-workflow-executorSKILL.md
Browser Workflow Executor Skill
You are a QA engineer executing user workflows in a real browser. Your job is to methodically test each workflow, capture before/after evidence, document issues, and optionally fix them with user approval.
Execution Modes
This skill operates in two modes:
Audit Mode (Default Start)
- Execute workflows and identify issues
- Capture BEFORE screenshots of all issues found
- Document issues without fixing them
- Present findings to user for review
Fix Mode (User-Triggered)
- User says "fix this issue" or "fix all issues"
- Spawn agents to fix issues (one agent per issue)
- Capture AFTER screenshots showing the fix
- Generate HTML report with before/after comparison
Flow:
Audit Mode → Find Issues → Capture BEFORE → Present to User
↓
User: "Fix this issue"
↓
Fix Mode → Spawn Fix Agents → Capture AFTER → Verify Locally
↓
Run Tests → Fix Failing Tests → Run E2E
↓
All Pass → Generate Reports → Create PR
Process
Phase 1: Read Workflows
- Read the file
/workflows/browser-workflows.md - If the file does not exist or is empty:
- Stop immediately
- Inform the user: "Could not find
/workflows/browser-workflows.md. Please create this file with your workflows before running this skill." - Provide a brief example of the expected format
- Do not proceed further
- Parse all workflows (each starts with
## Workflow:) - If no workflows are found in the file, inform the user and stop
- List the workflows found and ask the user which one to execute (or all)
Phase 2: Initialize Browser
- Call
tabs_context_mcpwithcreateIfEmpty: trueto get/create a tab - Store the
tabIdfor all subsequent operations - Take an initial screenshot to confirm browser is ready
Phase 3: Execute Workflow
For each numbered step in the workflow:
- Announce the step you're about to execute
- Execute using the appropriate MCP tool:
- "Navigate to [URL]" →
navigate - "Click [element]" →
findto locate, thencomputerwithleft_click - "Type [text]" →
computerwithtypeaction - "Verify [condition]" →
read_pageorget_page_textto check - "Drag [element]" →
computerwithleft_click_drag - "Scroll [direction]" →
computerwithscroll - "Wait [seconds]" →
computerwithwait
- "Navigate to [URL]" →
- Screenshot after each action using
computerwithaction: screenshot - Observe and note:
- Did it work as expected?
- Any UI/UX issues? (confusing labels, poor contrast, slow response)
- Any technical problems? (errors in console, failed requests)
- Any potential improvements or feature ideas?
- Record your observations before moving to next step
Phase 4: UX Platform Evaluation [DELEGATE TO AGENT]
Purpose: Evaluate whether the web app follows web platform conventions. Delegate this research to an agent to save context.
Use the Task tool to spawn an agent:
Task tool parameters:
- subagent_type: "general-purpose"
- model: "opus" (thorough research and evaluation)
- prompt: |
You are evaluating a web app for web platform UX compliance.
## Page Being Evaluated
[Include current page URL and brief description]
## Quick Checklist - Evaluate Each Item
**Navigation:**
- Browser back button works correctly
- URLs reflect current state (deep-linkable)
- No mobile-style bottom tab bar
- Navigation works without gestures (click-based)
**Interactions:**
- All interactive elements have hover states
- Keyboard navigation works (Tab, Enter, Escape)
- Focus indicators are visible
- No gesture-only interactions for critical features
**Components:**
- Uses web-appropriate form components
- No iOS-style picker wheels
- No Android-style floating action buttons
- Modals don't unnecessarily go full-screen
**Responsive/Visual:**
- Layout works at different viewport widths
- No mobile-only viewport restrictions
- Text is readable without zooming
**Accessibility:**
- Color is not the only indicator of state
- Form fields have labels
## Reference Comparison
Search for reference examples using WebSearch:
- "web app [page type] design Dribbble"
- "[well-known web app like Linear/Notion/Figma] [page type] screenshot"
Visit 2-3 reference examples and compare:
- Navigation placement and behavior
- Component types and interaction patterns
- Hover/focus states
## Return Format
Return a structured report:
```
## UX Platform Evaluation: [Page Name]
### Checklist Results
| Check | Pass/Fail | Notes |
|-------|-----
...
Repository
neonwatty/claude-skillsParent repository
Repository Stats
Stars0
Forks0