playwright-pro · borghei — Claude Code skill: what it does, how to install
playwright-pro — a skill for Claude Code, Codex, and Cursor. Generates Playwright end-to-end tests, builds Page Object structures, diagnoses flaky runs, and migrates suites from Cypress or Selenium.
LicenseRef-MIT-Commons-Clause 148 installs ★ 1,183 updated 2026-11-08
npx skills add borghei/Claude-Skills --skill playwright-pro -a claude-codeWhat playwright-pro does
Compatible with Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. It guides end-to-end test authoring based on user stories, covering both positive paths and edge failures. It also structures Page Object models directly from DOM markup and assists with CI configuration, including test sharding and trace retention.
Under the hood, the skill bundles Python command-line tools. The test_analyzer.py tool scans specs for brittle locators and fixed delays like waitForTimeout, coverage_mapper.py highlights missing scenario coverage, and flaky_detector.py evaluates run stability across Playwright JSON outputs. Dedicated modules also handle visual regressions with toHaveScreenshot, Axe accessibility checks, and BrowserStack or TestRail workflows.
Executing the built-in diagnostic and generator tools requires a local python3 runtime.
What it helps with
- generate resilient Playwright test suites from user flows
- construct Page Object classes out of raw HTML forms
- diagnose flaky CI executions without relying on arbitrary delays
- convert existing Cypress or Selenium test suites to Playwright
- audit test code for bad practices such as fixed timeouts
Example prompts for the agent
- Create a Playwright test spec for the checkout flow covering card failure states
- Analyze our test directory using test_analyzer.py to find non-retrying assertions
- Map this Cypress login test over to a resilient Playwright Page Object
How to install playwright-pro
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill playwright-pro -a claude-code2Manually: put the files in place
~/.claude/skills/playwright-pro/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/playwright-pro/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill playwright-pro -a codex2Manually: put the files in place
.agents/skills/playwright-pro/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill playwright-pro -a cursor2Manually: put the files in place
.cursor/skills/playwright-pro/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install borghei/Claude-Skills engineering/playwright-pro/SKILL.md2Manually: put the files in place
.github/skills/playwright-pro/SKILL.md1Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill playwright-pro -a gemini-cli2Platform CLI
gemini skills install https://github.com/borghei/Claude-Skills --path engineering/playwright-proManually: put the files in place
.devin/skills/playwright-pro/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add borghei/Claude-Skills --skill playwright-pro -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about playwright-pro
How to install playwright-pro in Claude Code?
Run npx skills add borghei/Claude-Skills --skill playwright-pro -a claude-code. The skill file lands in ~/.claude/skills/playwright-pro/SKILL.md.
What does playwright-pro do?
It orchestrates Playwright test creation, generates Page Object classes, identifies anti-patterns in spec files, and tracks test flakiness across multiple test runs.
What prerequisites are needed for the analysis scripts?
The bundled validation and mapping utilities require python3 available in your execution environment.
Similar skills
All skills for Testing and QA →playwright-pro by other authors comes first.