/behavior-testing:react-testingfrom behavior-testing
Guides writing React tests that verify public behavior rather than implementation details. Covers hooks, routes, state, and integration flows.
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 tests that are not specifically component-surface tests. Tests should survive refactors to internal state, routing, data loading, hooks, or rendering details when public behavior is unchanged.
Before writing or reviewing React tests, read references/behavior-testing.md.
If the suite uses Vitest Browser Mode, also read references/vitest-browser-testing.md.
In addition to the shared reference, reject:
Run this against changed React 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|useState|useReducer" <test-files>
Acceptable hits are test-owned public hooks, documented public contracts, or inaccessible public parts where no accessible query exists.
What SKILL.md sets; muted values are Claude Code's defaults
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-component-testingUse when writing, reviewing, or refactoring React component tests, especially tests for props, callbacks, controlled state, children, accessibility, form behavior, or multiple public component API variants.Other plugins' skills for the same job