react-testing
Skill0 starsChanged 3 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.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- lintangknitto/agent-skillstheir own version, first seen Sep 23, 2026
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- socialadsmentor/sam-agentic-harnesstheir own version, first seen Sep 3, 2026
- SamuelNDCE/claude-super-skill-librarytheir own version, first seen Aug 1, 2026
- JunMystery/Agent-Guidance-Pythontheir own version, first seen Jul 21, 2026
- getsentry/sentrytheir own version, first seen Jun 30, 2026
Used with
Projects with it also use ecc-guide, recsys-pipeline-architect 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.
JunMysterySkillecc-guide
Guide users through ECC's current agents, skills, commands, hooks, rules, install profiles, and project onboarding by reading the live repository surface before answering.
Also in 3 projects that use this
JunMysterySkillrecsys-pipeline-architect
Design composable recommendation, ranking, and feed pipelines using the six-stage Source→Hydrator→Filter→Scorer→Selector→SideEffect framework popularized by xAI's open-sourced For You algorithm. Use this skill whenever the user is building any system that picks "the top K items for a (user, context)" — social feeds, content CMSs, RAG rerankers, task prioritizers, notification triage, search reranking, ad ranking.
Also in 3 projects that use this
JamkrisSkillagent-sort
Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.
Also in 3 projects that use this
JamkrisSkilllead-intelligence
AI-native lead intelligence and outreach pipeline. Replaces Apollo, Clay, and ZoomInfo with agent-powered signal scoring, mutual ranking, warm path discovery, source-derived voice modeling, and channel-specific outreach across email, LinkedIn, and X. Use when the user wants to find, qualify, and reach high-value contacts.
Also in 3 projects that use this
arsalllsSkillnetwork-config-validation
Pre-deployment validation of Cisco IOS/IOS-XE configuration — catching missing saves, mismatched ACLs, overlapping subnets, duplicate IPs, missing route-maps, and dangerous commands before they cause outages.
Also in 3 projects that use this
aragaobrunoSkillvite-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 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- getsentry/sentry★ 45ksame name
- templetongroup/radiant★ 113same name
- socialadsmentor/sam-agentic-harness★ 4same name
- JunMystery/Agent-Guidance-Python★ 2same name
- diego-tobalina/vibe-coding★ 1same name
- hkarpinen/agent-skills★ 1same name
- Nupke/react-claude-skills★ 1same name
- SamuelNDCE/claude-super-skill-library★ 1same name
- lintangknitto/agent-skills★ 0same name
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 9 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 9 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.

