Registry / petrkindlmann

petrkindlmann/qa-skills/selector-drift-recovery

Bulk-regenerate broken test selectors after a UI refactor or redesign. Detects drift between old and new DOM with an aria-snapshot diff, maps old locators to new equivalents using role-first + region scoping, validates against the new build, and produces a single PR with grouped per-file selector updates and per-change evidence. Assumes Playwright >= 1.50 (trace viewer DOM-snapshot panel, getByRole filtering, ariaSnapshot). Use when: "UI refactor broke tests," "redesign broke tests," "bulk updat

Agent skill · version 0.0.0-main.1794524967.g6243425 · from petrkindlmann/qa-skills

Install

npx yarkr-cli add skill:petrkindlmann/qa-skills/selector-drift-recovery

Without Node.js, on macOS and Linux (curl or wget):

curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:petrkindlmann/qa-skills/selector-drift-recovery
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:petrkindlmann/qa-skills/selector-drift-recovery

On Windows, in PowerShell:

irm https://yarkr.com/install.ps1 | iex; yarkr add skill:petrkindlmann/qa-skills/selector-drift-recovery

Works with Claude Code, Codex, opencode, Cursor, any harness over MCP.