playwright-pro
Installation
SKILL.md
Playwright Pro
Tier: POWERFUL Category: Engineering / Testing Maintainer: Claude Skills Team
Overview
Production-grade end-to-end testing with Playwright. Generate tests from user stories, implement the Page Object pattern for maintainability, apply the correct locator strategy for resilient tests, diagnose and fix flaky tests, migrate from Cypress or Selenium, integrate with CI/CD, run visual regression tests, and perform accessibility audits. Enforces the 10 golden rules that eliminate 90% of E2E test failures.
Sub-Skills
This skill uses compound sub-skill architecture. Each sub-skill in skills/ handles a specific workflow:
| Sub-Skill | File | Purpose |
|---|---|---|
| Init | skills/init.md |
Bootstrap Playwright in a project -- install, configure, create first test |
| Generate | skills/generate.md |
Generate test files from user stories or page descriptions |
| Fix | skills/fix.md |
Diagnose and fix failing or flaky tests using trace analysis |
| Migrate | skills/migrate.md |
Migrate from Cypress or Selenium to Playwright |
Related skills