ui-change-e2e
Installation
SKILL.md
UI change — E2E required
Applies when the project has a frontend E2E setup (e2e/, playwright.config.*, or path in AGENTS.md).
New or changed screen
- Find or create spec under the project's E2E folder.
- Cover the new or changed behavior.
- Prefer
data-testidor stable roles over fragile CSS classes. - Run the project's E2E command before closing (
npm run test:e2e,pnpm test:e2e, etc.).
Bug fix
- Check if a spec exists for that area.
- Add a test case that reproduces the bug (or extend existing spec).
- Order: failing test → fix → green E2E.
- Do not mark the bug fixed without a regression test.