playwright-best-practices

playwright-best-practices is a skill for Claude Code, Codex from NeverSight/learn-skills.dev. It costs 55 tokens per session (3,498 once invoked), scanned A, original, no licence file.

A set of patterns for writing Playwright tests, which automate and check web pages in a browser. It covers reliable element selectors, reusable page models, test setup, browser-aware checks, and replacing network calls with test data.

In plain words
What is it for?
It is for creating or changing Playwright end-to-end tests in TypeScript or JavaScript.
Why use it?
It helps reduce tests that break when page details change or when tests depend on unreliable services.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

Good fit It is for creating or changing Playwright end-to-end tests in TypeScript or JavaScript.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/neversight/learn-skills.dev/playwright-best-practices
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add NeverSight/learn-skills.dev --skill playwright-best-practices
Clone the repo
git clone --depth 1 https://github.com/NeverSight/learn-skills.dev

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for playwright-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/neversight/learn-skills.dev/playwright-best-practices.svg)](https://agentmods.dev/skills/neversight/learn-skills.dev/playwright-best-practices)
Your own site
<a href="https://agentmods.dev/skills/neversight/learn-skills.dev/playwright-best-practices"><img src="https://agentmods.dev/badge/skills/neversight/learn-skills.dev/playwright-best-practices.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,498 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.03498
Opus 5 $0.00028 $0.01749
Sonnet 5 $0.00011 $0.00700
Haiku 4.5 $0.00006 $0.00350

Measured 4d ago against content hash 3f6b3025208e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

playwright-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

data/skills-md/0xbigboss/claude-code/playwright-best-practices/SKILL.md · 497 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 497 lines · 55 tokens per session scan A 3f6b3025208e

Subscribe to this mod's changes

playwright-best-practices is a skill published in the GitHub repository NeverSight/learn-skills.dev (209 stars, last pushed yesterday), with no licence file. It adds 55 tokens to every session and 3,498 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

browser-testing-with-devtools

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…

addyosmani/agent-skills · 68 tokens

actionbook-web-test

Run browser-based web tests against websites using Actionbook CLI. Activate when the user wants to test a website workflow, run smoke tests, verify a user flow, check if a web application works, run regression tests, or validate browser-based interactions. Supports test definition, execution, assertion, reporting, and…

actionbook/actionbook · 71 tokens

web-test

A browser-automation tool for testing the 1C:Enterprise web client. It uses Playwright to navigate sections, fill forms, read tables and reports, and perform user actions in a browser.

Nikolay-Shirokov/cc-1c-skills · 44 tokens

playwright-visual-testing

Add, repair, or review Playwright visual regression tests for browser-facing .NET apps, including screenshot baselines, Pixelmatch thresholds, deterministic rendering, and GitHub Actions artifacts. USE FOR: toHaveScreenshot, page.screenshot visual checks, Pixelmatch/pngjs comparison scripts, visual baseline updates…

managedcode/dotnet-skills · 101 tokens

e2e-testing

Playwright and Cypress patterns, selectors, assertions, API mocking, visual testing, and CI/CD.

cosmicstack-labs/mercury-agent-skills · 24 tokens

appbuilder-e2e-testing

Use this skill whenever the user wants browser-based end-to-end tests for an Adobe App Builder application. Covers Playwright E2E testing for ExC Shell SPAs, AEM extension UIs, and full-stack flows. Use when the user mentions: "E2E test", "end-to-end test", "Playwright", "browser test", "test my SPA in the browser"…

adobe/skills · 144 tokens