CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

jest-react-testing

Comprehensive React component testing with Jest and React Testing Library covering configuration, mocking strategies, async testing patterns, hooks testing, and integration testing best practices

Quality

65%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./plugins/luxor-frontend-essentials/skills/jest-react-testing/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

50%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body delivers broad, concrete, largely copy-paste-ready code across configuration, mocking, async, hooks, and integration testing, but it is severely bloated with concepts Claude already knows and makes no use of progressive disclosure — everything is inlined in one massive file. A lean overview pointing to reference files, plus an explicit setup/test/debug workflow, would dramatically improve token efficiency.

Suggestions

Cut sections that restate knowledge Claude already has ("Testing Philosophy", "Key Testing Concepts", the Jest DOM matcher listing, basic Greeting/Counter examples, Good/Bad naming and AAA advice) and keep only project-specific decisions like the matchMedia/IntersectionObserver mocks and coverage thresholds.

Move bulk reference material — the full JS/TS Jest configs, the matcher reference, and the MSW setup — into references/ files (e.g., CONFIG.md, MATCHERS.md, MSW.md) and keep SKILL.md as a lean overview with one-level-deep links.

Add an explicit ordered workflow (configure Jest → write queries by priority → test interactions with userEvent → handle async with findBy/waitFor → debug via the troubleshooting table) and update the MSW examples to the current `http` handler API.

DimensionReasoningScore

Conciseness

The ~1300-line body extensively restates knowledge Claude already has — "Testing Philosophy" principles, "Key Testing Concepts" definitions of queries/mocking/assertions, a full Jest DOM matcher listing, and "Good/Bad test name" and AAA-pattern advice — matching anchor 2's several unnecessary explanations and padded sections. It avoids anchor 1 only because much of the bulk is concrete code rather than tutorial prose.

2 / 5

Actionability

The guidance is mostly executable with copy-paste-ready code: complete jest.config.js for JS and TypeScript, setupTests.js with matchMedia/IntersectionObserver mocks, MSW handlers/server setup, and full test suites covering the common cases. Minor gaps keep it at anchor 4 — the MSW examples use the deprecated v1 `rest` API instead of the current `http` handlers.

4 / 5

Workflow Clarity

Content is organized by topic with an implicit sequence (configuration → queries → component testing → mocking → async → hooks → integration → troubleshooting) and the Troubleshooting section gives issue/solution pairs, but there is no explicit ordered workflow with validation checkpoints, matching anchor 3. It is not 4 because no step sequence or checkpoint is made explicit for, e.g., the multi-step Jest setup process.

3 / 5

Progressive Disclosure

Section headers are clear and navigable, but the entire skill is one monolithic 1300-line file with no references/ bundle — bulk reference material (two full Jest configs, the Jest DOM matcher reference, complete MSW setup) is inlined where it should be split into separate files, matching anchor 3. It is not 2 because the structure is genuinely well-organized, not minimal or buried.

3 / 5

Total

12

/

20

Passed

Description

66%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description clearly communicates what the skill covers with strong domain keywords, but it omits any "Use when..." trigger guidance, which is the single biggest gap. Adding explicit trigger conditions and a few natural synonyms (e.g., "unit tests", "test coverage") would lift it substantially.

Suggestions

Append an explicit trigger clause, e.g., "Use when writing or debugging unit, integration, or hook tests for React components, setting up Jest for a React project, or mocking modules/API calls in tests."

Add natural trigger variations users actually say — "unit testing", "test coverage", "snapshot tests", "testing user interactions" — to improve trigger-term coverage.

Replace the padded opener "Comprehensive... best practices" with direct third-person action verbs (e.g., "Configure Jest, mock modules and API calls, test hooks...") for sharper specificity.

DimensionReasoningScore

Specificity

The description lists several concrete coverage areas — "configuration, mocking strategies, async testing patterns, hooks testing, and integration testing" — which matches anchor 4. It falls short of anchor 5 because these are noun phrases under "covering" rather than direct action verbs, and "Comprehensive... best practices" adds mild padding.

4 / 5

Completeness

The "what" is clearly stated (testing React applications with Jest and RTL across five named areas), but there is no "Use when..." clause or equivalent explicit trigger guidance, which caps completeness at 3 per the judging guidelines. It is not 2 because the "what" half is specific and comprehensive, not vague.

3 / 5

Trigger Term Quality

It contains good natural keywords users would say — "React component testing", "Jest", "React Testing Library", "mocking", "hooks testing", "integration testing" — fitting anchor 4. It is not anchor 5 because common variations like "unit tests", "test coverage", "snapshot testing", or "spec" are absent.

4 / 5

Distinctiveness Conflict Risk

The React + Jest + React Testing Library combination carves a mostly distinct niche with minor overlap risk against a generic Jest or unit-testing skill, matching anchor 4. It is not 5 because a broader frontend- or Jest-focused skill could still claim overlapping triggers.

4 / 5

Total

15

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (1304 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

manutej/luxor-claude-marketplace

Path

plugins/luxor-frontend-essentials/skills/jest-react-testing/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.