camilool8/harness-engineering-templates/addon-playwright-e2e

Claude Code and agent skill by camilool8/harness-engineering-templates

Trust tier 3
  • community
  • ext:[{"type":"plugin","description":"Custom plugin integration"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Playwright E2E conventions — the required page-object model, asserting on the accessibility tree (toMatchAriaSnapshot) rather than pixels, and strict per-test isolation with storageState for auth. Use when writing or reviewing end-to-end tests against a running dev or staging server.

Install

npx vskill@latest install camilool8/harness-engineering-templates/addon-playwright-e2e

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as camilool8/harness-engineering-templates/addon-playwright-e2e.

Addon — Playwright E2E

Playwright is the E2E testing layer. Tests live in e2e/ or tests/e2e/ and run against a live (dev or staging) server.

Page-object model (required):

  • Every page or significant UI region gets a Page Object class in e2e/pages/.
  • Page Objects encapsulate locators and actions; tests call methods, not raw

Playwright APIs. This keeps tests readable when the DOM changes — update the PO, not every test.

Assert on the accessibility tree, not pixels:

  • Use toMatchAriaSnapshot() to assert on the semantic structure of a page.

This catches heading changes, missing labels, and structure regressions without screenshot brittleness.

  • Use expect(locator).toHaveText(), .toBeVisible(), .toBeEnabled(), and

.toHaveRole() for element-level assertions.

  • Use expect(page).toHaveURL() for navigation assertions.
  • Do not use toHaveScreenshot() as the primary assertion — screenshots are

flaky across CI environments and do not capture accessibility. Use them only to record a confirmed visual bug.

Test isolation:

  • Each test must be fully independent. No shared state between tests; use

test.beforeEach to set up fresh fixtures.

  • Use the Playwright storageState fixture for authenticated tests — sign in

once per worker, not per test.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • pluginCustom plugin integration

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/camilool8/harness-engineering-templates/addon-playwright-e2e/badge)](https://verified-skill.com/skills/camilool8/harness-engineering-templates/addon-playwright-e2e)

Something wrong with this skill or its page? Tell us.