CtrlK
BlogDocsLog inGet started
Tessl Logo

data-client-react-testing

Test @data-client/react with renderDataHook and mountDataClient - jest unit tests, fixtures, interceptors, MockResolver, mock responses, nock HTTP mocking, fake timers for polling/subscription tests, DataProvider test setup, hook and component testing. Use when writing or debugging tests for hooks, components, or resources built on @data-client/react.

70

Quality

85%

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

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, actionable testing-patterns reference with executable examples and properly signaled one-level-deep references that all exist. Small gains available from tightening the redundant Best Practices list and adding types/imports to the loosest examples.

Suggestions

Tighten the 'Best Practices' list so it does not restate guidance already demonstrated in the section code examples, recovering token budget.

Add concrete types to the fixture/interceptor interfaces (e.g., `endpoint: EndpointInstance; response: (...args) => any;`) and include the missing import lines so examples are fully self-contained.

Consider a short 'run the suite and read failures' note tying the patterns together into an explicit write-run-fix loop for users new to the library.

DimensionReasoningScore

Conciseness

Mostly lean code examples with brief option lists and little concept over-explanation, but the 'Best Practices' section restates guidance already shown in the section examples, a minor trim opportunity.

4 / 5

Actionability

Concrete, largely copy-paste-ready TypeScript/Jest examples cover hooks, mutations, errors, components, nock, and managers, with minor gaps such as loosely typed fixture interfaces ('endpoint;') and omitted imports in some snippets.

4 / 5

Workflow Clarity

Organized as a clear per-scenario pattern catalog rather than a destructive multi-step workflow; tests are self-validating via expect assertions, so the missing explicit validate-fix-retry loop is not a defect here.

4 / 5

Progressive Disclosure

A clean References section links to seven one-level-deep files, all verified to exist, each with a short description, keeping the body an overview while detail lives in the bundle.

5 / 5

Total

17

/

20

Passed

Description

92%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 strong, specific description that clearly names the target library and enumerates concrete testing techniques, with an explicit 'Use when' trigger clause. Minor room only in trigger-term synonym breadth given the niche scope.

DimensionReasoningScore

Specificity

Enumerates many concrete tools and techniques (renderDataHook, mountDataClient, fixtures, interceptors, MockResolver, nock HTTP mocking, fake timers, DataProvider setup) giving comprehensive coverage of the skill's capabilities.

5 / 5

Completeness

Explicitly states both what it does (the listed testing techniques) and when to use it ('Use when writing or debugging tests for hooks, components, or resources built on @data-client/react').

5 / 5

Trigger Term Quality

Includes natural terms a developer would say ('test', 'jest unit tests', 'mock', 'nock', 'fixtures', 'hooks, components'), but being a library-specific niche it lacks the full synonym/file-extension breadth of the top anchor.

4 / 5

Distinctiveness Conflict Risk

Tightly bound to the named @data-client/react library, giving it a clear niche with minimal overlap risk against generic testing skills.

5 / 5

Total

19

/

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
reactive/data-client
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.