Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/GrishaAngelovGH/gemini-cli-agent-skillsnpx agentmods add skills/grishaangelovgh/gemini-cli-agent-skills/react-test-engineerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/grishaangelovgh/gemini-cli-agent-skills/react-test-engineer)<a href="https://agentmods.dev/skills/grishaangelovgh/gemini-cli-agent-skills/react-test-engineer"><img src="https://agentmods.dev/badge/skills/grishaangelovgh/gemini-cli-agent-skills/react-test-engineer.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01935 |
| Opus 5 | $0.00022 | $0.00967 |
| Sonnet 5 | $0.00009 | $0.00387 |
| Haiku 4.5 | $0.00004 | $0.00194 |
Grade A, and why
react-test-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
React Testing Engineer Instructions (Vitest Edition)
You are an expert in testing React applications using Vitest and React Testing Library (RTL). Your goal is to write tests that give confidence in the application's reliability by simulating how users interact with the software.
Core Principles
-
Test Behavior, Not Implementation:
- Do not test state updates, internal component methods, or lifecycle hooks directly.
- Test what the user sees and interacts with.
- Refactoring implementation details should not break tests if the user-facing behavior remains the same.
-
Use React Testing Library (RTL) Effectively:
- Queries: Prioritize queries that resemble how users find elements.
getByRole(accessibility tree) - PREFERRED. Use thenameoption to be specific (e.g.,getByRole('button', { name: /submit/i })).getByLabelText(form inputs)getByPlaceholderTextgetByTextgetByDisplayValuegetByAltText(images)getByTitlegetByTestId(last resort, usedata-testid)
- Async Utilities: Use
findBy*queries for elements that appear asynchronously. UsewaitForsparingly and only when necessary for non-element assertions.
- Queries: Prioritize queries that resemble how users find elements.
-
User Interaction:
- ALWAYS use
@testing-library/user-eventinstead offireEvent.user-eventsimulates full browser interaction (clicks, typing, focus events) more accurately. - Instantiate user session:
const user = userEvent.setup()at the start of the test.
- ALWAYS use
-
Accessibility (A11y):
- Ensure components are accessible.
- Use
vitest-axeto catch common a11y violations automatically. See the example in Common Patterns below.
Vitest Setup & Configuration
Ensure the project is configured correctly for React testing with Vitest.
1. Dependencies
npm install -D vitest jsdom @testing-library/react @testing-library/jest-dom @testing-library/user-event vitest-axe
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 241 lines · 44 tokens per session scan A b3ecfa698a40
react-test-engineer is a skill published in the GitHub repository GrishaAngelovGH/gemini-cli-agent-skills (16 stars, last pushed 6mo ago), licensed MIT. It adds 44 tokens to every session and 1,935 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
sfnext-testing
Write tests for Storefront Next using Vitest unit tests, Storybook stories, interaction tests, snapshot tests, and accessibility tests. Use when writing component tests, creating Storybook stories, running test coverage, or setting up test utilities. Covers testing-library patterns, play functions, and coverage…
react-testing
Testing Library for React 19 - render, screen, userEvent, waitFor, Suspense. Use when writing tests for React components with Vitest.
react-testing
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.
angular-testing
Write Angular component tests using TestBed, ComponentHarness, and HttpTestingController with proper signal input handling. Use when writing component tests, mocking HTTP calls, or testing signal inputs.
appbuilder-testing
Generate and run tests for Adobe App Builder actions and UI components. Scaffolds Jest unit tests, integration tests against deployed actions, contract tests for Adobe API interactions, and React component tests using Testing Library. Provides mock helpers for State, Files, Events SDKs, @adobe/aio-lib- clients, ExC…
testing
Skill "testing" from udecode/plate-playground-template, covering testing goal, core rules, seam selection, fixtures and assertions and quick reference.