react-testing
Skill0 starsChanged 2 months agoMITView on GitHub
Write or repair behavior-focused tests for React web components, hooks, and pages using the repository's existing Vitest or Jest, React Testing Library, network mocks, and accessibility assertions. Use when React test code is part of the requested change.
19 other projects use a version of this.
Adopted by
Most recently taken up by
- LeahyCC/claude-skillstheir own version, first seen Nov 8, 2026
- ahmadvahidi/skill-atlastheir own version, first seen Nov 8, 2026
- conjurer-rich/skillstheir own version, first seen Oct 25, 2026
- renepf/claude-skillstheir own version, first seen Oct 25, 2026
- davidanthonyn/claude-skillstheir own version, first seen Oct 20, 2026
- Ronnasayd/aipptheir own version, first seen Oct 20, 2026
Used with
Projects with it also use orch-pipeline, parallel-execution-optimizer and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
renepfSkillorch-pipeline
Shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly.
Also in 4 projects that use this
marcusgollSkillparallel-execution-optimizer
Identify and execute independent operations in parallel for 3-5x speedup. Auto-analyzes task dependencies, groups into batches, launches parallel Task() calls. Applies to /optimize (5 checks), /ship pre-flight (5 checks), /implement (task batching), /prototype (N screens). Auto-triggers when detecting multiple independent operations in a phase.
Also in 5 projects that use this
ronmkrSkillvite-patterns
Vite build tool patterns including config, plugins, HMR, env variables, proxy setup, SSR, library mode, dependency pre-bundling, and build optimization. Activate when working with vite.config.ts, Vite plugins, or Vite-based projects.
Also in 6 projects that use this
RojiosSkilldefi-amm-security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, CEI ordering, donation or inflation attacks, oracle manipulation, slippage, admin controls, and integer math.
Also in 5 projects that use this
renepfSkillprediction-market-oracle-research
Research prediction markets as data sources or oracle signals for products, agents, dashboards, and corporate decision intelligence. Use for source-grounded analysis of market-implied probabilities, caveats, and integration patterns without investment advice.
Also in 3 projects that use this
nek1987Skillreact-performance
Performance optimization for React web applications. Use when optimizing renders, implementing virtualization, memoizing components, or debugging performance issues.
Also in 9 projects that use this
- +2 more from renepf
Other versions19 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 19
- getsentry/sentry★ 46ksame name
- gongyijie85/dsh-ecc★ 8same name
- nek1987/auto-agent-harness★ 4same name
- LeahyCC/claude-skills★ 3same name
- aps08/fullstack-clean-architecture★ 2same name
- ronmkr/PromptBook★ 2same name
- conjurer-rich/skills★ 1same name
- diego-tobalina/vibe-coding★ 1same name
- hkarpinen/agent-skills★ 1same name
- NISTALTALSON/essential-claude-skills★ 1same name
9 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- global/AGENTS.mdAGENTS.md
- api-designSkill
- backend-patternsSkill
- brandSkill
- contract-firstSkill
- database-migrationsSkill
- engineering-task-workflowSkill
- error-handlingSkill
- fixing-accessibilitySkill
- frontend-designSkill
- frontend-ui-engineeringSkill
- intent-driven-developmentSkill
- react-native-patternsSkill
- react-patternsSkill
- security-best-practicesSkill
- shadcnSkill
- supabase-postgres-best-practicesSkill
- systematic-debuggingSkill
- tdd-workflowSkill
- ui-ux-pro-maxSkill
- verification-before-completionSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Run the focused test first, then the impacted suite and repository checks.
- Very specific: line 25
Use tdd-workflow for the red-green-refactor sequence and react-patterns for component implementation.
- Distinctive: line 27
Do not add a new runner, DOM shim, MSW, axe, or browser framework solely because this skill names the category.
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React Testing
Workflow
- Detect the actual React version, test runner, DOM environment, test utilities, provider wrappers, and existing conventions.
- Choose the smallest test that observes user-visible behavior or a stable hook contract.
- Query by role, name, label, or visible text and interact through the same controls a user uses.
- Mock network boundaries with the repository's established mechanism; avoid mocking the component's own implementation details.
- Cover the relevant success, failure, loading, validation, or accessibility behavior without duplicating framework behavior.
- Reproduce regressions with a failing test before the fix when practical.
- Run the focused test first, then the impacted suite and repository checks.
Test Boundary
- Component tests cover rendering, interactions, validation, callbacks, and local request states.
- Browser or end-to-end tests cover navigation, real browser layout, multi-page flows, and deployed integration.
- Use
tdd-workflowfor the red-green-refactor sequence andreact-patternsfor component implementation.
Do not add a new runner, DOM shim, MSW, axe, or browser framework solely because this skill names the category.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

