Skip to content

ericrisco/rsc-harness / skills/testing-web

testing-web

Verified

Use when writing or fixing frontend unit, component or custom-hook tests with Vitest or Jest plus Testing Library — rendering a component in jsdom, testing a hook in isolation, choosing between sync and async queries, silencing act warnings, mocking fetch, or migrating a Jest suite to Vitest. NOT real-browser multi-page journeys (that is `e2e-testing`), NOT pytest suites (that is `testing-py`), NOT accessibility auditing (that is `accessibility`).

FileKindSize
SKILL.mdskill md13.0 KB
evals/README.mdmarkdown907 B
evals/cases.yamlconfig3.6 KB
references/jest-setup.mdmarkdown3.0 KB
references/recipes.mdmarkdown3.7 KB
scripts/verify.shexecutablescript4.0 KB

evals/README.md

View on GitHub
# Evals — testing-web

`cases.yaml` is the trigger-routing and capability spec for this skill. There is no automated runner
bundled here; run it the way you run the rest of the catalog's evals. Feed each `should_trigger` /
`should_not_trigger` prompt to the router and confirm `testing-web` is (or isn't) selected, checking that
declined prompts route to the named sibling. For `capability`, hand the scenario to the agent with this
skill loaded and grade the produced test file against the `must_include` rubric — every item should be
demonstrably present (awaited user-event, role/label queries, boundary-mocked network, async findBy,
real assertions, no internal-detail coupling). The rubric is pass/fail per line; a missing item is a
miss. `scripts/verify.sh` can statically lint the generated test file as a fast pre-check, but it
validates artifact shape, not whether the rubric's intent was met.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall