qualcomm/qualcomm-ui/react-component-testing
Claude Code and agent skill by qualcomm/qualcomm-ui
- community
Checking that the SKILL.md file is still in the repository.
Use 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.
Install
npx vskill@latest install qualcomm/qualcomm-ui/react-component-testingSKILL.md
The same SKILL.md was published earlier as qualcomm/qualcomm-ui/react-component-testing.
React Component Testing
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.
Required References
Before writing or reviewing React component tests, read:
references/behavior-testing.mdreferences/component-testing.mdreferences/vitest-browser-testing.mdwhen the suite uses Vitest Browser Mode
React Component Workflow
- Identify props, callbacks, controlled/uncontrolled state, children or render props, accessibility, user interactions, forms, and public API variants.
- Follow the local React test stack and its render/query helpers.
- Assert callback payloads only after public user interaction.
- Run shared behavior assertions across public API variants when those variants claim the same behavior.
React Component Rejections
In addition to the shared references, reject:
- Child component internals. A parent test must not inspect a child's private markup to prove parent behavior.
- React state-machine plumbing, generated context internals, or render-prop internals when visible output can prove the contract.
- Icon/SVG internals such as
path,viewBox, or generated icon markup. Use visible text stand-ins, accessible names, or lower-level icon tests.
Self-Review Grep
Run this against changed React component test files and justify or rewrite every hit:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/behavior-testing/skills/react-component-testing/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/qualcomm/qualcomm-ui/react-component-testing)