# React Testing (agent skill)

> React Testing is an agent skill (a SKILL.md file) from affaan-m/ECC. React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component… It works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode and has 274,402 GitHub stars across a repository of 10 listed skills.

React component testing with React Testing Library, Vitest/Jest, MSW for network mocking, accessibility assertions with axe, and the decision boundary between component tests and Playwright/Cypress end-to-end runs. Use when writing or fixing tests for React components, hooks, or pages. Comprehensive React testing patterns for behavior-focused component tests, custom hook tests, accessibility assertions, and network-level mocking.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/affaan-m/ECC |
| Skill path | skills/react-testing/SKILL.md |
| Skill name | react-testing |
| GitHub stars | 274,402 |
| Installs on skills.sh | 2 |
| License | MIT |
| Skills in repo | 10 |
| Plugin marketplace | ecc |
| Official | no |
| Works with | Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode |
| Category | Testing & QA |
| Last commit | Oct 2, 2026 |

## When it triggers

- Use when writing or fixing tests for React components, hooks, or pages.

## Add this skill

### Claude Code

```sh
/plugin marketplace add affaan-m/ECC
/plugin install ecc@ecc
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/affaan-m/ECC.git
cp -r ECC/skills/react-testing .agents/skills/react-testing   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/affaan-m/ECC.git
cp -r ECC/skills/react-testing .cursor/skills/react-testing   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

skills.sh listing: https://www.skills.sh/affaan-m/ECC/react-testing

---

Canonical page: https://appsgit.com/skills/affaan-m-react-testing
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
