react-testing

react-testing is a skill for Claude Code from design-sparx/mantine-analytics-dashboard. It costs 14 tokens per session (120 once invoked), scanned A, original, MIT.

Guidance for testing React components with React Testing Library. It emphasizes checking what users do and see rather than testing a component's internal implementation.

In plain words
What is it for?
Use it to write or review component tests, query by roles, labels, or text, simulate user actions, and check accessibility behavior in React and Next.js interfaces.
Why use it?
It helps produce tests that better reflect real use and are less tied to internal code details. It also brings accessibility concerns such as keyboard navigation and reduced-motion behavior into component testing.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to write or review component tests, query by roles, labels, or text, simulate user actions, and check accessibility behavior in React and Next.js interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/design-sparx/mantine-analytics-dashboard/react-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add design-sparx/mantine-analytics-dashboard --skill react-testing
Clone the repo
git clone --depth 1 https://github.com/design-sparx/mantine-analytics-dashboard

Made for: Claude Code.

Wrote 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.

agentmods badge for react-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/design-sparx/mantine-analytics-dashboard/react-testing/github.svg)](https://agentmods.dev/skills/design-sparx/mantine-analytics-dashboard/react-testing)
Your own site
<a href="https://agentmods.dev/skills/design-sparx/mantine-analytics-dashboard/react-testing"><img src="https://agentmods.dev/badge/skills/design-sparx/mantine-analytics-dashboard/react-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for react-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/design-sparx/mantine-analytics-dashboard/react-testing"><img src="https://agentmods.dev/badge/skills/design-sparx/mantine-analytics-dashboard/react-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.00120
Opus 5.5 $0.00006 $0.00048
Sonnet 5.5 $0.00003 $0.00024
Haiku 4.5 $0.00001 $0.00012

Measured 7d ago against content hash 2c5f3db8dced, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-30, from the pricing page.

Security

Grade A, and why

react-testing 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.

.claude/skills/react-testing/SKILL.md · 28 lines

What it actually says

React Testing

Testing patterns for React 19 + Next.js App Router.

When to Use

  • Writing component tests
  • Setting up test infrastructure
  • Reviewing test quality

Guidelines

  • Use React Testing Library for component tests
  • Query by role, label, or text — avoid implementation details
  • Use userEvent over fireEvent
  • Test user behavior, not implementation

Accessibility

  • Include accessibility assertions in tests
  • Test keyboard navigation
  • Verify reduced-motion behavior
Changes

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.

  1. 7d ago First seen · 28 lines · 14 tokens per session scan A 2c5f3db8dced

Subscribe to this mod's changes

react-testing is a skill published in the GitHub repository design-sparx/mantine-analytics-dashboard (387 stars, last pushed yesterday), licensed MIT. It adds 14 tokens to every session and 120 once invoked, about $0.0001 per session on Opus 5.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-09-24.