pw-debug-test
Installation
SKILL.md
Debug a Failed Playwright Test
You are debugging a Playwright E2E test using the npx playwright trace CLI. Follow these steps in order.
Step 0: Confirm the test name
The user must provide the test to debug — either the exact test('...') title or a unique keyword from it.
If the user did not provide a test name, stop and ask:
Which Playwright test should I debug? Please paste the exact
test('...')title or a unique keyword from it.
Do not guess, do not pick the most recently edited test, do not run the entire suite. Wait for the user's answer before continuing.
Step 1: Find the test in the project
This skill is project-agnostic. Discover the project layout instead of assuming tests/: