Skill / SKILL.md

Playwright Frontend

testdino-hq/playwright-skill

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.
1 views 425 repository starsUpdated Nov 28, 2026
Overview

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.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/testdino-hq/playwright-skill' skill-source

Use the complete skill-source/frontend directory with your client’s skill installer.

Source directory frontend

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
461f94009850a6b98af17ade7de46ee81a637a5c6066e2304b256f64cd59143c
Format validation findings
  • Declared name does not match the source directory.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills