Agent skill

Playwright Test

by mizchi in mizchi/skills

Best practices and reference for Playwright Test (E2E). An agent skill from mizchi/skills.

No licenceAuto-check: notesTesting & QA

Install Playwright Test

skills CLI
$ npx skills add mizchi/skills --skill playwright-test -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mizchi/skills playwright-test --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mizchi/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/playwright-test .claude/skills/playwright-test && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
playwright-test
GitHub stars
356
Token cost
~4.7k tokens
SKILL.md length
702 words
Files
3
Skills in repo
69
Repo updated
First seen
Licence
None found

At a glance

Best practices and reference for Playwright Test (E2E). An agent skill from mizchi/skills.

  • Works in 4 steps: First decide whether waitForResponse is… → If the API is not called, a web-first… → To cap the timeout, pass { timeout:… → …
  • Configuring CI for Playwright tests
  • SKILL.md covers Configuration Template, GitHub Actions, Rule: Do Not Use Fixed Waits and Network Triggers, plus 7 more sections
  • Calls npx and jq

What it does

Playwright Test is an agent skill from mizchi/skills. Best practices and reference for Playwright Test (E2E). Covers how to write tests, avoiding fixed waits, network triggers, DnD, shard/retry setup on GitHub Actions, and more. Use when writing, reviewing, or configuring CI for Playwright tests.

Its SKILL.md is about 4.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `README.md` and `SKILL-ja.md`).

It sits in Testing & QA, covering CI/CD, Test generation and End-to-end testing. It works with Playwright and GitHub Actions. The repository describes itself as: Agent skills by mizchi, distributed via APM.

When your agent uses it

  • Configuring CI for Playwright tests
  • Tasks that involve CI/CD
  • Tasks that involve Test generation

Example prompts

  • “/playwright-test”

Requirements

  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. First decide whether waitForResponse is necessary (needed when an API call is the definitive timing of a side effect)
  2. If the API is not called, a web-first assertion alone is enough (await expect(page.getByTestId('result')).toBeVisible())
  3. To cap the timeout, pass { timeout: 5_000 }
  4. To count arbitrary responses, use page.on('response', ...) as a listener (event aggregation rather than waitFor)

What it can do on your machine

Read from SKILL.md and the folder at commit 62f5808. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • jq

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Playwright Test loads about 4.7k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 702 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~4.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:60
    sudo apt-get update
  • NoteRuns commands with sudoSKILL.md:61
    sudo apt-get install -y fonts-noto-cjk fonts-noto-color-emoji
  • NoteRuns commands with sudoSKILL.md:81
    - run: sudo apt-get install -y fonts-noto-cjk fonts-noto-color-emoji
  • NoteRuns commands with sudoSKILL.md:169
    - run: sudo apt-get install -y fonts-noto-cjk fonts-noto-color-emoji

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 702 words (~4,664 tokens).

“Ubuntu/Debian does not ship with Japanese/CJK fonts by default. This causes mojibake and layout breakage in screenshots:”

— opening of SKILL.md by mizchi
name
playwright-test

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files in playwright-test of mizchi/skills.

  • SKILL.md
  • README.md
  • SKILL-ja.md

Open the folder on GitHubat commit 62f5808

Compare with similar skills

Playwright Test next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Playwright Test compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright Test this skillmizchi/skills356—~4.7kAutomated safety check: NotesNone
Dokan Run Test Suitegetdokan/dokan288—~4.7kAutomated safety check: NotesNone
Testing Test Automation Engineerchendongqi/OPB-Skills125—~3.1kAutomated safety check: PassNone
Debug Playwrightquay/quay2.8k—~1.2kAutomated safety check: PassApache-2.0
Playwright E2Eforcedotcom/salesforcedx-vscode1k—~3kAutomated safety check: PassBSD-3-Clause
Playwright CI CachingAaronontheweb/dotnet-skills1.2k1 repos~1.7kAutomated safety check: PassMIT

Similar skills

  • Dokan Run Test Suite

    getdokan/dokan

    Execute the Dokan Playwright test suite (E2E + API), locally or via GitHub Actions.

    288 GitHub stars~4.7k tokensUpdated today
    Testing & QAAuto-check: notes
  • 自动化测试助手 - 专业的测试自动化设计与实现专家。适用场景: (1) 自动化测试框架选型与搭建(Selenium/Cypress/Playwright/Appium) (2) 自动化测试脚本编写(Web/API/Mobile) (3) 测试数据管理与Mock设计 (4) CI/CD测试集成(Jenkins/GitLab CI/GitHub Actions) (5) Page…

    125 GitHub stars~3.1k tokensUpdated 7 mo ago
    Testing & QAAuto-check passed
  • Debug Playwright E2E test failures from GitHub Actions CI runs.

    2.8k GitHub stars~1.2k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright E2E

    forcedotcom/salesforcedx-vscode

    writing, running, and debugging Playwright tests; creating and recreating scratch orgs (Dreamhouse, minimal, non-tracking); working with their output from github actions

    1k GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed
  • Playwright CI Caching

    Aaronontheweb/dotnet-skills

    Cache Playwright browser binaries in CI/CD pipelines (GitHub Actions, Azure DevOps) to avoid 1-2 minute download overhead on every build.

    1.2k GitHub starsUsed in 1 repo~1.7k tokens
    Testing & QAAuto-check passed
  • Writes a Playwright end-to-end test from a prompt, runs it against a live Appsmith deployment and retries with fixes up to three times until it passes.

    41k GitHub stars~2.9k tokensUpdated today
    Testing & QAAuto-check: notes

More from mizchi/skills

All 69 skills in this repo
  • Publish Agent Skill

    mizchi/skills

    Package, publish, verify and update an agent skill through a Claude Code plugin marketplace, APM or the npx skills CLI.

    356 GitHub stars~1.7k tokensUpdated 6 days ago
    Auto-check passed
  • AI Index

    mizchi/skills

    Method and tooling for measuring how AI-generated a piece of prose reads, in Japanese or English.

    356 GitHub stars~3.6k tokensUpdated 6 days ago
    Auto-check passed
  • Cloudflare Deploy

    mizchi/skills

    Deploy applications and infrastructure to Cloudflare with the cf CLI and typed cloudflare.config.ts.

    356 GitHub stars~2.9k tokensUpdated 6 days ago
    Auto-check: notes
  • Review Image

    mizchi/skills

    Review screenshots or other images with OpenRouter vision models via bundled Deno scripts.

    356 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Post-generation safety checks for sqlc-gen-moonbit + Cloudflare D1.

    356 GitHub stars~995 tokensUpdated 6 days ago
    Auto-check passed
  • Apm Usage

    mizchi/skills

    Reference for APM (Agent Package Manager) — apm.yml syntax, install / uninstall / update commands, target detection, lockfile workflow.

    356 GitHub stars~1.9k tokensUpdated 6 days ago
    Auto-check passed

Questions about Playwright Test

What does Playwright Test do?

Best practices and reference for Playwright Test (E2E). An agent skill from mizchi/skills. Playwright Test is an agent skill from mizchi/skills. Best practices and reference for Playwright Test (E2E).

When should I use Playwright Test?

Playwright Test fits situations like: configuring CI for Playwright tests; tasks that involve CI/CD; tasks that involve Test generation.

How do I install Playwright Test in Claude Code?

Run `npx skills add mizchi/skills --skill playwright-test -a claude-code`. Or copy the skill folder (playwright-test in mizchi/skills) into .claude/skills/playwright-test in your project. Claude Code loads it when a task matches its description.

How do I install Playwright Test in Codex?

Run `npx skills add mizchi/skills --skill playwright-test -a codex`. Or copy the skill folder (playwright-test in mizchi/skills) into .agents/skills/playwright-test in your project. Codex loads it when a task matches its description.

Can I use Playwright Test in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mizchi/skills --skill playwright-test -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/playwright-test, .gemini/skills/playwright-test, .github/skills/playwright-test and .opencode/skills/playwright-test in your project.

What does Playwright Test need to run?

Going by SKILL.md and its folder, Playwright Test needs the command-line tools its instructions call (npx and jq). Our summary lists: Node.js.

Does Playwright Test access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Playwright Test safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Playwright Test use?

No licence was found for Playwright Test or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Playwright Test use?

About 4.7k tokens (SKILL.md is roughly 19k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Playwright Test?

Skills that share tags, products or a category with Playwright Test: Dokan Run Test Suite (getdokan/dokan, 288 stars), Testing Test Automation Engineer (chendongqi/OPB-Skills, 125 stars), Debug Playwright (quay/quay, 2.8k stars) and Playwright E2E (forcedotcom/salesforcedx-vscode, 1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright Test?

mizchi (a GitHub user) maintains it in mizchi/skills, which has 356 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on October 2, 2026.

Source: mizchi/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.