
Description
react-testing-library is an agent skill for writing tests for React components the way users interact with them. It centers on user-centric testing, with queries that find elements by what a user sees, user-event simulation for realistic clicks and typing, async utilities for content that appears later, and an accessibility-first API. The skill's quick navigation links to reference guides on queries, user events, the API, async behavior, debugging and configuration, so the agent loads only what a task needs. The installation section gives the packages to add as development dependencies: @testing-library/react and @testing-library/dom, with @testing-library/user-event and @testing-library/jest-dom recommended as extras. It also notes that React 19 needs version 16.1.0 or later of the React testing package. Use it when a request is to write, fix or review component tests in a React project. The skill is part of the llm-code repository and installs with the skills CLI.…
Highlights
- User-centric queries and an accessibility-first API
- user-event simulation and async utilities
- Reference guides for debugging and configuration
- Install notes, including the React 19 version requirement
Ratings & Reviews
No ratings yet
Be the first to rate react-testing-library.
People also visit

frontend-testing
Writing or changing Vitest or React Testing Library tests under `web/` or
react-testing-library FAQ
What does react-testing-library cover?
Writing and reviewing React component tests from the user's point of view, using React Testing Library.
What do I need to install?
npm install --save-dev @testing-library/react @testing-library/dom, with @testing-library/user-event and @testing-library/jest-dom as recommended extras.
Which React version is needed?
The page says React 19 requires version 16.1.0 or later of the React testing package.
How do I install the skill?
Run npx skills add https://github.com/itechmeat/llm-code --skill react-testing-library.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best react-testing-library alternatives?
Popular alternatives to react-testing-library include react-testing, jest-react-testing and react-native-testing. See all react-testing-library alternatives




















