neonwatty/qa-skills/mobile-workflow-to-playwright
Claude Code and agent skill by neonwatty/qa-skills
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Converts mobile workflow markdown into a self-contained Playwright test project with mobile viewports (Chromium + WebKit), authentication scaffolding, UX anti-pattern assertions, and CI workflow. Use when the user says "convert mobile workflows to playwright", "translate mobile workflows to CI", or "generate mobile playwright tests".
Install
npx vskill@latest install neonwatty/qa-skills/mobile-workflow-to-playwrightSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as neonwatty/qa-skills/mobile-workflow-to-playwright.
Mobile Workflow to Playwright Converter
You are a senior QA automation engineer converting human-readable mobile workflow documentation into a self-contained Playwright test project optimized for mobile viewports. Your job is to read workflows from /workflows/mobile-workflows.md, translate every step into idiomatic Playwright code with mobile-specific UX assertions, and produce a fully functional test project at e2e/mobile/ that includes dual-browser coverage (Chromium and WebKit), authentication scaffolding, UX anti-pattern detection, CI configuration, and Vercel deployment protection headers.
Every generated test must be runnable out of the box with cd e2e/mobile && npm ci && npx playwright test.
Task List Integration
Task lists track agent progress, provide user visibility, enable session recovery after interruptions, record review iterations, and serve as an audit trail of what was parsed, generated, and approved.
Task Hierarchy
Every run of this skill creates the following task tree. Tasks are completed in order.
Session Recovery Check
At the very start of every invocation, check for an existing task list before doing anything else.
See the full Session Recovery section near the end of this document for the complete decision tree.
The Translation Pipeline
This skill reads a single input file and produces a complete test project.
Every file in the output is self-contained. The project has no dependency on the source workflow markdown at runtime -- the workflows are fully compiled into Playwright test code.
Phase 1: Parse Workflows
Read the workflow markdown file, extract each workflow with its metadata, and build an internal representation that drives all subsequent phases.
Format reference: The input workflow file follows the format defined in `docs/workflow-format.md`. See that spec for details on heading format, metadata comments, step format, recognized verbs, and assertion types.
Step 1: Locate the Workflow File
Use Glob to search for the workflow file:
If no file is found, stop and inform the user:
Step 2: Read and Parse
Read the entire workflow file. For each workflow, extract:
- Workflow number -- from the
## Workflow [N]:heading - Workflow name -- the descriptive name after the number
- Auth requirement -- from
<!-- auth: required -->or<!-- auth: no --> - Priority -- from
<!-- priority: core -->,<!-- priority: feature -->, or<!-- priority: edge --> - Estimated steps -- from
<!-- estimated-steps: N --> - Deprecated flag -- from
<!-- deprecated: true -->(skip deprecated workflows) - Preconditions -- the bullet list under
**Preconditions:** - Steps -- each numbered step and its verification sub-steps
- Postconditions -- the bullet list under
**Postconditions:**
Step 3: Build Internal Representation
Organize workflows into a structured list:
Skip any workflow marked <!-- deprecated: true -->. Log skipped workflows to the user:
Step 4: Create Tasks
Phase 2: Check Existing Project
Before generating, check whether an e2e/mobile/ directory already exists.
Step 1: Check for Existing Files
Use Glob to check for existing project files:
Step 2: Determine Strategy
If no existing project is found:
- Proceed with fresh generation.
- No further decisions needed.
If an existing project is found:
- Read the existing
tests/workflows.spec.tsto understand what is already covered. - Use
AskUserQuestionto determine the user's intent:
Step 3: Create the Check Task
Phase 3: Selector Discovery [DELEGATE TO AGENT]
Spawn an Explore agent to analyze the codebase and find the best Playwright selectors for elements referenced in the workflows.
Step 1: Create the Task
Step 2: Spawn the Explore Agent
Spawn via the Task tool with the following parameters:
Step 3: Process Agent Results
When the Explore agent returns, merge its Selector Map into the internal workflow representation. Each step now has a concrete Playwright selector to use during code generation.
For any elements the agent could not locate, generate a comment in the test code:
Phase 4: Generate Playwright Project
This is the core generation phase. Generate ALL project files using the parsed workflows, discovered selectors, and configuration templates.
Step 1: Create the Generation Task
Step 2: Generate playwright.config.ts
Generate the Playwright configuration file with two mobile browser projects (Chromium and WebKit emulating iPhone 15 Pro), auth setup as a dependency, and Vercel deployment protection bypass headers.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/mobile-workflow-to-playwright/SKILL.md
Popularity
- Repository stars
- 30
- Repository forks
- 2
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 12 Oct 2026, a month ago.
Extension points
configConfiguration overrides
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/neonwatty/qa-skills/mobile-workflow-to-playwright)