Jest testing patterns — test structure, mocking, async testing, snapshot
99
99%
Does it follow best practices?
Impact
99%
1.26xAverage score across 6 eval scenarios
Passed
No known issues
Quality
Discovery
100%Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.
This is a well-crafted skill description that follows best practices. It uses third person voice, lists specific capabilities, includes an explicit 'Use when...' clause with multiple trigger scenarios, and is clearly scoped to Jest rather than generic testing. The description provides sufficient detail for Claude to distinguish this skill from other testing-related skills.
| Dimension | Reasoning | Score |
|---|---|---|
Specificity | Lists multiple specific concrete actions: 'test structure, mocking, async testing, snapshot testing, and configuration' - these are distinct, actionable capabilities within Jest testing. | 3 / 3 |
Completeness | Clearly answers both what ('Jest testing patterns — test structure, mocking, async testing, snapshot testing, and configuration') AND when ('Use when building or reviewing tests with Jest, when setting up Jest for a project, or when debugging flaky Jest tests'). | 3 / 3 |
Trigger Term Quality | Includes natural keywords users would say: 'Jest', 'tests', 'mocking', 'async testing', 'snapshot testing', 'flaky Jest tests', 'setting up Jest'. These cover common user language when working with Jest. | 3 / 3 |
Distinctiveness Conflict Risk | Clearly scoped to Jest specifically, not generic testing. The explicit mention of 'Jest' throughout and Jest-specific features like 'snapshot testing' make it unlikely to conflict with other testing framework skills. | 3 / 3 |
Total | 12 / 12 Passed |
Implementation
100%Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.
This is an excellent skill document that demonstrates best practices for technical documentation. It efficiently communicates Jest testing patterns through concrete WRONG/RIGHT comparisons, provides fully executable code examples, and includes a comprehensive checklist for verification. The content respects Claude's intelligence while adding genuine value through project-specific patterns and common pitfalls.
| Dimension | Reasoning | Score |
|---|---|---|
Conciseness | The content is lean and efficient, using WRONG/RIGHT pattern comparisons that maximize information density. Each section explains only what's necessary with brief 'Why it matters' justifications that add genuine value without over-explaining concepts Claude already knows. | 3 / 3 |
Actionability | Every section provides fully executable TypeScript code examples that are copy-paste ready. The WRONG/RIGHT pattern makes it immediately clear what to do and what to avoid, with complete code blocks including imports and type annotations. | 3 / 3 |
Workflow Clarity | The skill clearly sequences testing patterns with explicit validation checkpoints (e.g., timer cleanup in afterEach, mock restoration). The checklist at the end provides a clear verification workflow, and the structure rules section gives explicit ordering guidance for test organization. | 3 / 3 |
Progressive Disclosure | Content is well-organized with clear section headers, a comprehensive checklist for quick reference, and external references to Jest documentation for deeper dives. The skill stays focused on patterns rather than embedding full API documentation inline. | 3 / 3 |
Total | 12 / 12 Passed |
Validation
90%Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.
Validation — 10 / 11 Passed
Validation for skill structure
| Criteria | Description | Result |
|---|---|---|
frontmatter_unknown_keys | Unknown frontmatter key(s) found; consider removing or moving to metadata | Warning |
Total | 10 / 11 Passed | |
Reviewed
Table of Contents