ui-data-testid
Installation
SKILL.md
UI Data-testid
Overview
Add predictable data-testid attributes to UI code as part of implementation, not as a later patch.
Keep selectors stable across i18n text changes and visual refactors.
Follow project testing rules in .cursor/rules:
- preserve existing
data-testidduring refactor/migration - use
data-testid-firstquery strategy in project tests