What problem does it solve? React components often lack stable selectors for automated testing, forcing QA engineers to rely on fragile CSS classes or DOM structure. This Skill systematically adds data-test-id attributes to components in your current task scope, creating reliable test hooks without altering existing markup. ## Core Features & Use Cases - Scoped Attribute Injection: Adds data-test-id only to components declared in the current task scope, leaving unrelated code untouched. - Kebab-Case Naming Convention: Automatically converts component names like HelpPanel into data-test-id="help-panel" for consistent, predictable selectors. - Preservation Rules: Never modifies existing data-test-id values and skips components that do not support the attribute. - Use Case: While building a new UserProfileCard component, the Skill places data-test-id="user-profile-card" on the root element so your end-to-end tests can target it immediately. ## Quick Start Ask the AI to add data-test-id attributes to the React components you are currently editing.