bydtyq· 30 skills
Add stable data-testid attributes by default for new or refactored UI components. Use when implementing React/TSX views, shadcn/antd-style components, dropdown/menu configs, or interactive UI flows that need reliable selectors for unit/E2E tests.
$npx -y skills add dtyq/magic --skill ui-data-testidInstalls into the current project.
Run `npx skills use "https://github.com/dtyq/magic" --skill "dtyq/magic/ui-data-testid"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/dtyq/magic" that are relevant to the current task. Run `npx skills add "https://github.com/dtyq/magic"` and select the relevant skills, then follow their instructions.