Write React Testing Library tests for an existing component, following the project's RTL conventions (prefer role/label queries, mock at network boundary, no act()). Invoke when the user asks to test, add tests for, or cover a component.
$npx -y skills add muhammadusmangm/claude-code-best-practices --skill test-componentInstalls into the current project.
Run `npx skills use "https://github.com/muhammadusmangm/claude-code-best-practices" --skill "muhammadusmangm/claude-code-best-practices/test-component"` 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/muhammadusmangm/claude-code-best-practices" that are relevant to the current task. Run `npx skills add "https://github.com/muhammadusmangm/claude-code-best-practices"` and select the relevant skills, then follow their instructions.