Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add borghei/Claude-Skills --skill playwright-pro -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/playwright-pro/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/playwright-pro/

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.

From the same set120

The whole set →
information-security-manager-iso27001 information-security-manager-iso27001 is a Claude Code skill for designing and auditing an ISO 27001:2022 ISMS, covering risk assessment, Annex A controls, and certification readiness. CX Codex +1 166installs agent-designer agent-designer — a skill for Claude Code and related platforms that plans multi-agent architectures. It generates tool definitions for Anthropic and OpenAI, diagrams communication flows, and parses runtime logs. CX Codex +1 161installs marketing-psychology The marketing-psychology skill uses behavioral psychology and mental models to diagnose marketing friction. Use it for landing pages, pricing, email, ads, and conversion work. CX Codex +1 151installs aws-solution-architect aws-solution-architect — a skill for Claude Code, Codex, and Cursor that designs AWS architectures and outputs IaC templates. Tailors cloud patterns to workload demands and flags infrastructure savings. CX Codex +1 150installs skill-security-auditor skill-security-auditor — a skill for Claude Code, Codex, Cursor, Copilot, Gemini CLI and OpenCode that scans agent skills before install. It detects prompt injection, dangerous code, credential harvesting and supply chain risks. CX Codex +1 146installs create-prd create-prd builds a product requirements doc in eight parts, from problem statement to P0/P1/P2 scope and release plan. Useful when a new feature needs one shared spec. CX Codex +1 146installs senior-computer-vision senior-computer-vision is a Claude Code skill for designing computer vision pipelines with object detection and segmentation. CX Codex +1 145installs app-store-optimization app-store-optimization is a Claude Code skill that researches store keywords, refines app metadata, and analyzes reviews for Apple App Store and Google Play listings. CX Codex +1 144installs

Project sponsors

Companies that keep this analytics open