Agent skill

Playwright E2E Tests

by onyx-dot-app in onyx-dot-app/onyx

Write and maintain Playwright end-to-end tests for the Onyx application.

Custom licenceAuto-check: notesTesting & QA

Install Playwright E2E Tests

skills CLI
$ npx skills add onyx-dot-app/onyx --skill playwright-e2e-tests -a claude-code

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

GitHub CLI
$ gh skill install onyx-dot-app/onyx playwright-e2e-tests --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/onyx-dot-app/onyx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/playwright .claude/skills/playwright-e2e-tests && 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-e2e-tests
GitHub stars
32k
Used in
1 other repo
Token cost
~2.8k tokens
SKILL.md length
991 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
Custom licence

At a glance

Write and maintain Playwright end-to-end tests for the Onyx application.

  • Works in 10 steps: Descriptive test names — clearly state… → API-first setup — use OnyxApiClient for… → User isolation — tests that modify… → …
  • Creating new E2E tests
  • SKILL.md covers Project Layout, Imports, Environment and Running Tests, plus 6 more sections
  • Calls bunx and curl; needs TEST_ADMIN_CREDENTIALS

What it does

Playwright E2E Tests is an agent skill from onyx-dot-app/onyx. Write and maintain Playwright end-to-end tests for the Onyx application. Use when creating new E2E tests, debugging test failures, adding test coverage, or when the user mentions Playwright, E2E tests, or browser testing.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA, covering Browser testing and End-to-end testing. It works with Playwright and Model Context Protocol. The repository describes itself as: Open Source AI Platform - AI Chat with advanced features that works with every LLM.

When your agent uses it

  • Creating new E2E tests
  • Debugging test failures
  • Adding test coverage
  • The user mentions Playwright

Example prompts

  • “/playwright-e2e-tests”

Workflow steps

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

  1. Descriptive test names — clearly state expected behavior: "should display greeting message when opening new chat"
  2. API-first setup — use OnyxApiClient for backend state; reserve UI interactions for the behavior under test
  3. User isolation — tests that modify visible app state (sidebar, chat history) should run as the worker-specific user via…
  4. DRY helpers — extract reusable logic into utils/ with JSDoc comments
  5. No hardcoded waits — use the auto-retrying matchers (web/tests/e2e/README.md), waitFor, or waitForLoadState; never waitForTimeout
  6. Parallel-safe — no shared mutable state between tests. Prefer static, human-readable names (e.g. "E2E-CMD Chat 1") and clean up resources…
  7. Error context — catch and re-throw with useful debug info (page text, URL, etc.)
  8. Tag slow tests — mark serial/slow tests with @exclusive in the test title
  9. Visual regression — use expectScreenshot() for UI consistency checks
  10. Minimal comments — only comment to clarify non-obvious intent; never restate what the next line of code does

What it can do on your machine

Read from SKILL.md and the folder at commit 744ca37. 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:

    • bunx
    • curl

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

  • Network

    No URLs in SKILL.md. Its commands use bunx and curl, 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 these keys or tokens, usually read from environment variables:

    • TEST_ADMIN_CREDENTIALS

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

Context cost

Playwright E2E Tests loads about 2.8k tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 991 words of instructions outside code blocks.

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

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.

  • NoteMentions a .env fileSKILL.md:47
    - `web/.vscode/.env` may be **absent** — `dotenv` skips it silently (fine for most tests). One exception: `tests/e2e/mcp

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 991 words (~2,808 tokens).

“Spec-authoring rules live in web/tests/e2e/README.md — the Page Object Model, locator priority, and auto-retrying matchers. Read it before adding or changing a spec. This skill covers the surrounding workflow: layout, environment, running tests, auth, and Onyx-specific utilities.”

— opening of SKILL.md by onyx-dot-app, Custom licence
name
playwright-e2e-tests

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/playwright of onyx-dot-app/onyx.

Open the folder on GitHubat commit 744ca37

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in onyx-dot-app/onyx, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Playwright E2E Tests 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 E2E Tests compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Playwright E2E Tests this skillonyx-dot-app/onyx32k1 repos~2.8kAutomated safety check: NotesCustom licence
E2E VerificationChorus-AIDLC/Chorus1.2k—~1.5kAutomated safety check: NotesAGPL-3.0
Playwright Testingchongdashu/vibejam-starter-pack149—~2.2kAutomated safety check: PassNone
Frontend Playwright E2Eansible/ansible-ui113—~2.5kAutomated safety check: NotesApache-2.0
Playwright POM Discoverycomet-ml/opik22k—~4.4kAutomated safety check: PassApache-2.0
Dev Webtestclassmethod/tsumiki974—~4.2kAutomated safety check: PassMIT

Similar skills

  • E2E Verification

    Chorus-AIDLC/Chorus

    A skill your agent uses when manually verifying a Chorus frontend change in a real browser — finding local login credentials, driving the running dev server with the Playwright MCP, logging in…

    1.2k GitHub stars~1.5k tokensUpdated today
    Testing & QAAuto-check: notes
  • Playwright Testing

    chongdashu/vibejam-starter-pack

    Plan, implement, and debug frontend tests: unit/integration/E2E/visual/a11y.

    149 GitHub stars~2.2k tokensUpdated 5 mo ago
    Testing & QAAuto-check passed
  • Frontend Playwright E2E

    ansible/ansible-ui

    Write, run, and debug Playwright E2E / integration / live tests.

    113 GitHub stars~2.5k tokensUpdated today
    Testing & QAAuto-check: notes
  • Procedure for choosing stable selectors when building Page Object Models for the Opik E2E suite by exploring the live UI with the Playwright MCP.

    22k GitHub stars~4.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Dev Webtest

    classmethod/tsumiki

    This skill should be used when the user asks to "dev-webtest", "Webテスト", "画面の動作確認", "E2Eテスト", "web test", "visual check", "モンキーテスト", "アクセシビリティチェック", "レスポンシブテスト", "フォームテスト".

    974 GitHub stars~4.2k tokensUpdated 2 mo ago
    Testing & QAAuto-check passed
  • Agentic Browser Testing

    petrkindlmann/qa-skills

    Goal-driven E2E testing where a browser agent (Playwright MCP / computer-use) reads a natural-language goal and explores the app via the accessibility tree to assert outcomes — no pre-written script.

    163 GitHub stars~4.5k tokensUpdated 3 mo ago
    Testing & QAAuto-check passed

More from onyx-dot-app/onyx

All 9 skills in this repo
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    Auto-check passed
  • Check PR

    onyx-dot-app/onyx

    Checks a GitHub, GitLab, or Perforce (p4) pull request (or merge request, or shelved changelist) for unresolved review comments, failing status checks, and incomplete PR descriptions.

    32k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Merge Dependabot PRs

    onyx-dot-app/onyx

    Triages and lands a batch of open Dependabot PRs in the Onyx repo, where main is gated exclusively by GitHub's merge queue: approves and enqueues green PRs, closes superseded duplicates, fixes…

    32k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed
  • Image Generation

    onyx-dot-app/onyx

    Generate or edit raster images (photos, illustrations, textures, sprites, mockups, logos, infographics) using the workspace's configured image-generation provider via onyx-cli image.

    32k GitHub starsUsed in 1 repo~1.7k tokens
    Auto-check passed
  • Onyx CLI

    onyx-dot-app/onyx

    Query the Onyx knowledge base using the onyx-cli command. An agent skill from onyx-dot-app/onyx.

    32k GitHub starsUsed in 1 repo~2.6k tokens
    Auto-check passed
  • Browser

    onyx-dot-app/onyx

    Core browser usage guide. An agent skill from onyx-dot-app/onyx.

    32k GitHub starsUsed in 1 repo~21k tokens
    Auto-check: warnings

Categories

Questions about Playwright E2E Tests

What does Playwright E2E Tests do?

Write and maintain Playwright end-to-end tests for the Onyx application. Playwright E2E Tests is an agent skill from onyx-dot-app/onyx. Write and maintain Playwright end-to-end tests for the Onyx application.

When should I use Playwright E2E Tests?

Playwright E2E Tests fits situations like: creating new E2E tests; debugging test failures; adding test coverage; the user mentions Playwright.

How do I install Playwright E2E Tests in Claude Code?

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

How do I install Playwright E2E Tests in Codex?

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

Can I use Playwright E2E Tests 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 onyx-dot-app/onyx --skill playwright-e2e-tests -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-e2e-tests, .gemini/skills/playwright-e2e-tests, .github/skills/playwright-e2e-tests and .opencode/skills/playwright-e2e-tests in your project.

What does Playwright E2E Tests need to run?

Going by SKILL.md and its folder, Playwright E2E Tests needs the command-line tools its instructions call (bunx and curl) and credentials named TEST_ADMIN_CREDENTIALS.

Does Playwright E2E Tests access the network?

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

Is Playwright E2E Tests safe to install?

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

What licence does Playwright E2E Tests use?

Playwright E2E Tests has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Playwright E2E Tests use?

About 2.8k tokens (SKILL.md is roughly 11k 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 E2E Tests?

Skills that share tags, products or a category with Playwright E2E Tests: E2E Verification (Chorus-AIDLC/Chorus, 1.2k stars), Playwright Testing (chongdashu/vibejam-starter-pack, 149 stars), Frontend Playwright E2E (ansible/ansible-ui, 113 stars) and Playwright POM Discovery (comet-ml/opik, 22k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Playwright E2E Tests?

onyx-dot-app (a GitHub organization) maintains it in onyx-dot-app/onyx, which has 32,344 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 7, 2026.

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