/behavior-testing:react-component-testingfrom behavior-testing
Guides writing and reviewing React component tests focused on public behavior (props, callbacks, state, accessibility, forms) while rejecting implementation-internal assertions.
Ships in behavior-testing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill for React component test writing and review. Component tests should prove public component behavior, not the current DOM or child component implementation.
Before writing or reviewing React component tests, read:
references/behavior-testing.mdreferences/component-testing.mdreferences/vitest-browser-testing.md when the suite uses Vitest Browser ModeIn addition to the shared references, reject:
path, viewBox, or generated icon markup. Use visible text stand-ins, accessible names, or lower-level icon tests.Run this against changed React component test files and justify or rewrite every hit:
rg -n "querySelector|childNodes|compareDocumentPosition|getBoundingClientRect|data-state|data-focus|data-highlighted|data-disabled|data-.*part|toHaveClass|viewBox|getByTestId" <test-files>
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub qualcomm/qualcomm-ui --plugin behavior-testing5 skills in this plugin
/angular-component-testingUse when writing, reviewing, or refactoring Angular component or directive tests, especially tests for inputs, outputs, host behavior, template probes, forms, accessibility, or signal-backed behavior./angular-testingUse when writing, reviewing, or refactoring Angular tests for application behavior, services, routes, state, forms, pipes, or integration flows, especially when tests may assert implementation details instead of public outcomes./react-testingUse when writing, reviewing, or refactoring React tests for application behavior, hooks, routes, state, or integration flows, especially when tests may assert implementation details instead of public outcomes.Other plugins' skills for the same job