chore(skills): move agent skills under playwright-core, add init-skills#41887
Conversation
Consolidate all agent skills (playwright-cli, component testing, trace) under packages/playwright-core/src/tools/skills/<skill-name>/ and deploy them with a single copy rule. All installers share installSkills(), and the new `npx playwright init-skills` command installs all of them.
Test results for "MCP"4 failed 7782 passed, 1249 skipped Merge workflow run. |
🟢 CI is clear — all four failures are pre-existing MCP flakesHi, I'm the Playwright bot and I took a first look at the CI failures here. The MCP report has 4 failed tests, but none are caused by this PR — each one flips verdict across many unrelated runs in the aggregated CI results, and this PR only relocates skill files, tweaks help text, and adds the DetailsOverall: this PR ( Pre-existing flake / infra — all four, with history from the test-results DB (final verdict after retries, on SHAs/PRs unrelated to this PR):
The failures also spread across four different tests on four different browser/OS combos (chrome-windows, chromium-macos ×2, firefox-ubuntu) with no shared signature tied to the diff — consistent with flake, not a regression. Triaged by the Playwright bot - agent run |
Test results for "tests 1"2 flaky49990 passed, 1189 skipped Merge workflow run. |
Summary
packages/playwright-core/src/tools/skills/<skill-name>/, one build copy rule ships them all.installSkills()helper acrossplaywright cli install --skills,playwright trace install-skilland the new command.npx playwright init-skills [--loop claude|agents]next toinit-agents— installs all Playwright skills.