pw-new-test-cli
Installation
SKILL.md
Write a new Playwright E2E test based on the provided test steps using the Playwright CLI to explore a live application instead of reading source code.
Test steps: $ARGUMENTS
Never skip AskUserQuestion steps in this skill, even if told to work autonomously.
When to use this skill
Use this skill when the application source code is not accessible — for example, testing a third-party site, a deployed-only environment, or an application owned by another team. If you have access to the source code, prefer the pw-new-test skill: reading source is faster and produces more reliable locators than CLI snapshots.
Prerequisites
The Playwright CLI (@playwright/cli) must be available. Verify:
npx playwright-cli --version
If it is missing, ask the user to install it (do not install it yourself):