CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

data-client-react-testing

Test React code that uses @data-client/react: components and hooks that fetch or change data, with mocked responses for loading, error, mutation and polling cases. Covers renderDataHook, MockResolver and fixtures.

Quality

78%

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 ./.agents/skills/data-client-react-testing/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

78%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.

A well-structured, code-first skill body: executable examples cover the main testing scenarios, library-specific gotchas are captured compactly, and detail is properly offloaded to a complete, clearly signaled one-level-deep references directory. The main residual weaknesses are pseudocode interface stubs and examples that depend on unspecified resource definitions.

DimensionReasoningScore

Conciseness

The body is dominated by code examples and terse library-specific facts Claude would not know ('Cleanup is automatic -- an afterEach hook is registered at module load time', manager replacement rules, test naming conventions). Anchor 4 rather than 5 because the SuccessFixture/ResponseInterceptor blocks are typeless stubs that spend tokens without full payoff.

4 / 5

Actionability

Provides executable TypeScript examples for the common cases (hook success, mutation, error fixture, MockResolver component render, nock, manager middleware) plus copy-paste diagnostics like the whatwg-fetch polyfill fix. Not 5: the interface snippets are pseudocode ('endpoint;', 'response(...args);') and examples rely on undefined ArticleResource/TodoResource definitions.

4 / 5

Workflow Clarity

Content is organized scenario-by-scenario and the Best Practices section acts as an explicit situation-to-approach decision guide ('Use nock when testing networking definitions', 'Use renderDataHook() for testing hooks'). Anchor 4 not 5 because beyond per-scenario code there is no explicit sequencing or checkpoint framing; no validation cap applies since nothing is destructive or batch.

4 / 5

Progressive Disclosure

The body is a concise overview with a References section listing all seven references/ files (verified to exist) with one-line descriptions, plus one inline pointer to unit-testing-hooks.md for Jest setup. References are one level deep with only lateral cross-links, matching the clear-overview anchor.

5 / 5

Total

17

/

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.

A specific, well-scoped description that names concrete capabilities and the library's key testing utilities, with good natural trigger terms anchored by the package name. Its main weakness is the missing 'Use when...' trigger clause, which caps completeness and leaves invocation guidance only implied.

Suggestions

Add an explicit trigger clause, e.g. 'Use when testing components or hooks built on @data-client/react, or when the user mentions Reactive Data Client, data-client, or mocking its fetches.'

Include common user phrasings such as 'unit test', 'jest', and 'mock API responses' to broaden natural trigger coverage.

Name the package's alternate identity ('Reactive Data Client') since users may refer to it that way rather than by npm package name.

DimensionReasoningScore

Specificity

Enumerates concrete capabilities ('components and hooks that fetch or change data', 'mocked responses for loading, error, mutation and polling cases', 'renderDataHook, MockResolver and fixtures') covering the domain's main scenarios. Not 5 because the action vocabulary is essentially 'test' + 'mock', leaving minor coverage gaps versus the multiple-distinct-verbs anchor.

4 / 5

Completeness

The 'what' is clear ('Test React code that uses @data-client/react... with mocked responses for loading, error, mutation and polling cases'), but there is no 'Use when...' clause or equivalent explicit trigger guidance, capping completeness at 3 per the rubric guidelines. Not 4 because the 'when' is entirely absent rather than merely imprecise.

3 / 5

Trigger Term Quality

Contains natural terms users would say when testing this library ('Test React code', 'hooks', 'mocked responses', 'fixtures') plus the package name itself as a strong trigger. Not 5 because common variations like 'unit test', 'jest', or 'mock fetch' are missing.

4 / 5

Distinctiveness Conflict Risk

Tightly scoped to a specific library ('@data-client/react', 'renderDataHook, MockResolver') giving a clear niche with minimal conflict risk. Not 5 because a generic 'test my React component' request could overlap with general React-testing skills.

4 / 5

Total

15

/

20

Passed

Validation

100%

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

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

reactive/data-client

Path

.agents/skills/data-client-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.