pw
Skill by alirezarezvani
Playwright Pro is a skill for writing, reviewing, fixing and migrating Playwright end-to-end browser tests with AI coding agents. It suits developers who want tests, CI setup and TestRail or BrowserStack workflows in one toolkit.
Install pw
Built from the published package, never by AI.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-skills/engineering-team/playwright-pro/skills/pw ~/.claude/skills/pwRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/alirezarezvani/claude-skills /tmp/claude-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-skills/engineering-team/playwright-pro/skills/pw ~/.gemini/antigravity-cli/skills/pwAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Playwright Pro is a testing toolkit for AI coding agents. It routes Playwright and end-to-end browser testing requests to matching sub-skills and includes 55 test templates covering areas such as auth, CRUD, checkout, search, forms, and accessibility. When installed as a Claude Code plugin, it exposes commands such as /pw:pw-init, /pw:generate, /pw:fix and /pw:migrate. The source describes a recommended flow of generating tests, reviewing them, and fixing failing or flaky ones.
The toolkit follows a set of golden rules, including preferring getByRole() locators, avoiding page.waitForTimeout(), and using web-first assertions. It also includes migration guides for Cypress and Selenium, reference docs, and optional TestRail and BrowserStack integrations. It is aimed at developers and QA teams who write or maintain Playwright test suites.
Written from the project's SKILL.md and checked against it.
What it can do
- /pw:pw-initSets up Playwright by detecting the framework, generating config, CI, and a first test.
- /pw:generateGenerates tests from a user story, URL, or component description.
- /pw:pw-reviewReviews tests for anti-patterns and coverage gaps.
- /pw:fixDiagnoses and fixes failing or flaky tests.
- /pw:migrateMigrates tests from Cypress or Selenium to Playwright.
- /pw:coverageAnalyzes what is tested versus what is missing.
- /pw:testrailSyncs with TestRail to read cases and push results.
- /pw:browserstackRuns tests on BrowserStack and pulls cross-browser reports.
- /pw:reportGenerates a test report in a preferred format.
What you need
- Claude Code, to use the /pw commands as a plugin
- A Playwright project, or one set up with /pw:pw-init
- TestRail URL, user and API key, for TestRail commands (optional)
- BrowserStack username and access key, for BrowserStack commands (optional)
Try asking
- Generate Playwright tests for the login flow with email and password
- Review tests/auth/login.spec.ts for locator anti-patterns and missing assertions
- Diagnose and fix the flaky checkout test that fails in CI
Good to know
- The TestRail and BrowserStack MCP servers are not auto-registered and must be enabled manually.
- Without manual setup, /pw:testrail and /pw:browserstack fail with a tool not found error.
- Migration coverage should be confirmed with /pw:coverage before removing Cypress or Selenium tests.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: engineering-team/playwright-pro/skills/pw/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
reference/assertions.md2 KB -
reference/common-pitfalls.md3 KB -
reference/fixtures.md3 KB -
reference/flaky-tests.md2 KB
Show all 63 files
-
reference/golden-rules.md906 B -
reference/locators.md2 KB -
templates/README.md5 KB -
templates/accessibility/color-contrast.md5 KB -
templates/accessibility/keyboard-navigation.md5 KB -
templates/accessibility/screen-reader.md6 KB -
templates/api/auth-headers.md5 KB -
templates/api/error-responses.md5 KB -
templates/api/graphql.md6 KB -
templates/api/rate-limiting.md5 KB -
templates/api/rest-crud.md5 KB -
templates/auth/login.md5 KB -
templates/auth/logout.md4 KB -
templates/auth/mfa.md5 KB -
templates/auth/password-reset.md6 KB -
templates/auth/rbac.md5 KB -
templates/auth/remember-me.md6 KB -
templates/auth/session-timeout.md4 KB -
templates/auth/sso.md5 KB -
templates/checkout/add-to-cart.md4 KB -
templates/checkout/apply-coupon.md5 KB -
templates/checkout/order-confirm.md4 KB -
templates/checkout/order-history.md5 KB -
templates/checkout/payment.md5 KB -
templates/checkout/update-quantity.md5 KB
And 33 more files on GitHub.
Alternatives to pw
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
pw: common questions
Does Playwright Pro work with Cypress or Selenium projects?
It includes /pw:migrate for moving from Cypress or Selenium to Playwright, along with Cypress and Selenium mapping guides. The source recommends running /pw:coverage afterward to confirm parity.
Are the TestRail and BrowserStack integrations ready to use after install?
No. The source says the MCP servers are not auto-registered and must be enabled manually with npm install and your own MCP config.
What test templates are included?
The source lists 55 test templates covering auth, CRUD, checkout, search, forms, dashboard, settings, onboarding, notifications, API, and accessibility.
How do I install pw?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is pw free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is pw safe to use?
It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to pw?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
