testdino-hq/playwright-skill/playwright-frontend
For frontend engineers authoring UI — how to make components reliably locatable by tests and AI agents. Covers the official Playwright locator priority, semantic/accessible markup first, and how to add valid, unique, stable `data-testid` attributes (naming convention, uniqueness in lists, stability rules) for React, Vue, Angular, and Svelte. Use when writing or reviewing components, or when an agent needs durable locators.
Agent skill · version 0.0.0-main.1794532618.g178d1cb · from testdino-hq/playwright-skill
Install
npx yarkr-cli add skill:testdino-hq/playwright-skill/playwright-frontendWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:testdino-hq/playwright-skill/playwright-frontend
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:testdino-hq/playwright-skill/playwright-frontendOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:testdino-hq/playwright-skill/playwright-frontendWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.