Playwright Best Practices Claude skill

A Playwright testing skill with a 26 KB router and about 57 references on locators, fixtures, flaky tests, CI and accessibility.

Our verdict Recommended

Broad, well-organized Playwright guidance with a router so only relevant references load; the vendor link is the only commercial note.

What Playwright Best Practices does

This skill helps an agent write, debug and maintain Playwright tests in TypeScript. A large SKILL.md acts as a router: it identifies what you are doing and sends the agent to the matching reference rather than loading everything. The README lists about 57 reference documents in eight groups: core (test structure, locators, assertions and waiting, page objects, fixtures and hooks, test data, annotations, configuration, global setup, projects), debugging (trace viewer, flaky tests, error states, console errors), testing patterns (accessibility with axe-core, API tests, component tests, visual regression, file operations and more), advanced, architecture, browser APIs, frameworks, and infrastructure and CI/CD.

Topics reach into mobile emulation, WebSockets, iframes and canvas, service workers, Electron apps, browser extensions, OAuth popups, geolocation, i18n and RTL, offline mode, security tests for XSS and CSRF, and Web Vitals. The workflow guidance has the agent run tests with the list reporter, read traces, and repeat critical tests with --repeat-each. The skill is published by Currents.dev, a Playwright test dashboard vendor, and the README links to their product, but the skill content is general Playwright advice. There are no scripts, templates or evals.

Good for

  • Teams writing or refactoring Playwright E2E, component and API tests
  • Diagnosing flaky tests and CI sharding issues
  • Adding accessibility or visual regression tests

Not for

  • Selenium, Cypress or non-TypeScript Playwright setups
  • Driving a live browser interactively for scraping

What's inside depth 3/5

A 26 KB SKILL.md plus about 57 reference documents in eight folders, no scripts, templates or evals.

Skills
1
Reference docs
0
Scripts
0
Tests / evals
0
Templates
0
Avg SKILL.md
25.7 KB

Counted from the repository file tree. How we score depth.

Dependencies and costs

  • Node.js and @playwright/test in the target project

Security review

No issues found

We scanned all 63 files in this repository and read every script. Nothing in it reaches beyond what the skill describes.

A Markdown-only collection of Playwright testing guidance (63 files, no scripts, hooks, tool pre-approvals or network access by the skill itself). Code blocks are examples for your own test suite, using placeholder hosts and dummy credentials; some examples run npx playwright/prisma commands if you copy them.

What we checked

The repository (63 files) on Oct 29, 2026. We had every file and read every script.

NVIDIA SkillSpector static scan: 254 pattern hits (MCP Rug Pull 231, Privilege Escalation 10, Tool Misuse 5, Prompt Injection 3, Data Exfiltration 2, System Prompt Leakage 1). Evidence lines are Markdown examples for users' own Playwright suites (route.fetch mocking, login/password-reset test steps with dummy values, analytics blocking, execSync('npx prisma ...') in sample global-setup files); none are executed by the skill.

A review, not a certification. Skills change after we check them — read the files before installing.

License

MIT — commercial use allowed.

Can it run unattended?

Not really. It is advisory reference material; it asks the agent to run and re-run tests but defines no loop, state or stop condition.

Alternatives to Playwright Best Practices

Playwright Skill

lackeyjb/playwright-skill

A skill that lets an agent write and run its own Playwright scripts for testing, screenshots, login flows and arbitrary browser automation.

Recommended Broad access Depth 3/5

playwright-cli

microsoft/playwright-cli

Microsoft's command-line interface for driving a browser through Playwright, plus a skill that teaches coding agents the commands.

Recommended Check first Depth 3/5

Web Quality Skills

addyosmani/web-quality-skills

Six skills by Addy Osmani for auditing and fixing web performance, Core Web Vitals, accessibility, SEO and best practices, built around Lighthouse.

Recommended Check first Depth 3/5

FAQ

What is the Playwright Best Practices skill?

It is a Currents.dev skill that guides an agent through writing, debugging and maintaining Playwright tests in TypeScript. It routes to about 57 reference documents depending on the task.

How do I install it?

Run npx skills add https://github.com/currents-dev/playwright-best-practices-skill. You do not need to name the skill; describe a task such as fixing a flaky login test and the agent picks the relevant reference.

Is it safe to install?

It is markdown only with no scripts that we found. It does lead the agent to run Playwright test commands in your project.

Playwright Best Practices vs playwright-skill?

Currents' skill is a testing-practices library for writing and maintaining test suites. lackeyjb/playwright-skill is aimed at general Playwright browser automation by the agent. Use Currents' for test code quality and the other for browsing tasks.

Sources: GitHub repository (stars, license, file tree, last push Jul 21, 2026); install counts from skills.sh via Best Skills (CC BY 4.0). Review based on the README and SKILL.md files as published.