playwright-best-practices: a Claude Code skill by Currents.dev
For teams writing Playwright end-to-end, component or API tests who want a guide picked for each task. Skip it if your tests use another runner.
High-risk warning At least one scanner rated it high risk, so we keep it out of the top ten. Read its code before you install it.
- Score
- 74of 100
- Rank
- #125of 239
- Installs
- 105Kon skills.sh
- Security
- Warning 5 scanners
- Updated
- 2026
- Context
- ~252tokens always
Install
npx skills add https://github.com/currents-dev/playwright-best-practices-skill --skill playwright-best-practices
Run it in your terminal. View the source
Using the Claude app rather than Claude Code? You can add a skill there too. How to add it in the app
What does playwright-best-practices do?
playwright-best-practices is a Claude skill from Currents that routes Claude to the right guide for the Playwright testing task at hand. A decision tree maps tasks to reference files such as core/locators.md, core/page-object-model.md, advanced/clock-mocking.md and infrastructure-ci-cd/github-actions.md. Topics run from locators, fixtures and login flows to flaky tests, visual regression, accessibility with axe-core, Electron apps, browser extensions, sharding, and CI on GitHub Actions or GitLab. After writing or changing tests, Claude runs npx playwright test --reporter=list, opens the trace on failure, fixes and reruns, and repeats key tests with --repeat-each=5.
When should you use playwright-best-practices?
Use it when
- Fixing a flaky Playwright test
- Setting up Playwright in GitHub Actions or GitLab CI
- Adding accessibility or visual regression checks
Skip it when
- Your tests run on another framework
- Your project has no browser tests
What it needs and what it can touch
You need
- Node.js with Playwright installed
What it can do
- Runs npx playwright test commands
- Edits test and config files
From reading its instructions, not from running it.
Why it scores 74
Strongest on upkeep (100 of 100), weakest on adoption (57).
Is playwright-best-practices safe to install?
At least one scanner rated it high risk, so we keep it out of the top ten. Read its code before you install it. Scanners often miss what other scanners catch, and a skill can change after a scan. Read its source before you install it.
| Scanner | Result | Date |
|---|---|---|
| Gen Agent Trust Hub | Passed | Nov 8, 2026 |
| Socket | Passed | Nov 9, 2026 |
| Snyk | Low risk | Nov 8, 2026 |
| Runlayer | High risk | Mar 14, 2026 |
| ZeroLeaks | Passed | Apr 16, 2026 |
Details
- Installs
- 105,150
- Repository stars
- 423
- Last repository change
- Tokens always loaded
- about 252
- Tokens when used
- about 6,136
- License
- MIT
- Data confidence
- High
Did it do the job for you?
Alternatives to playwright-best-practices
All skills for this job-
Get golang-testinggolang-testing
For Go developers writing, reviewing or debugging tests, from table-driven cases to fuzzing and leak checks.
-
Get vitestvitest
For JavaScript and TypeScript developers writing or fixing Vitest tests and config.
-
Get webapp-testingwebapp-testing
For developers who want Claude to click through a web app running on their own machine and see what breaks.
-
Get next-dev-loopnext-dev-loop
For Next.js developers on Turbopack who want each edit confirmed in a real browser.