CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

react-hook-builder

Covers custom hooks for data fetching, mutations, forms, storage, and common UI utilities, with implementation examples and usage patterns. It also outlines a hook-building workflow and includes testing guidance, naming conventions, and an output checklist.

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/react-hook-builder/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Scored by GLM 5.3

Content

63%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 content is highly actionable — complete, copy-paste-ready TypeScript implementations with tests — but it fails on token efficiency and progressive disclosure: it is a ~900-line monolith of canonical hook implementations Claude already knows, all inlined in SKILL.md rather than split into reference files. A lean overview of conventions and naming rules, with implementations moved to references, would serve far better.

Suggestions

Trim SKILL.md to the project-specific guidance (naming conventions, workflow, best practices, output checklist) and move the full hook implementations into references/ files (e.g., references/data-fetching-hooks.md, references/storage-hooks.md), linked one level deep.

Remove or compress implementations of textbook hooks Claude already knows (useDebounce, useToggle, usePrevious, useMediaQuery) — keep only the project's preferred variants or conventions where they differ from the common pattern.

Add an explicit validation feedback loop to the workflow (e.g., 'write tests → run them → fix failures → re-run') and tie the Output Checklist items into the workflow steps as checkpoints.

DimensionReasoningScore

Conciseness

The ~900-line body inlines complete implementations of well-known textbook hooks (useDebounce, useToggle, usePrevious, useMediaQuery, useClickOutside, useLocalStorage) that Claude already knows how to write, which is the 'several unnecessary explanations or padded sections' pattern in code form. Not a 1 because there is virtually no prose padding or concept explanation — it is dense, correct code throughout.

2 / 5

Actionability

Every hook is a complete, executable TypeScript implementation with interfaces, generics, cleanup, usage examples, and a full testing-library test file ("hooks/__tests__/useDebounce.test.ts"), matching 'fully executable; copy-paste ready code; specific examples cover the common cases'. The only blemish is useSessionStorage omitting its imports with a 'Same pattern as useLocalStorage' note.

5 / 5

Workflow Clarity

The numbered 'Core Workflow' (identify pattern → design API → types → edge cases → optimize → test) plus the 'Output Checklist' give a clear sequence with a verification checkpoint, matching anchor 4. Not a 5 because there are no explicit feedback loops (e.g., run tests → fix → re-run) and the checklist items are not tied back into the workflow steps.

4 / 5

Progressive Disclosure

Section organization is good (Data Fetching, Form, Storage, Utility hooks, Testing, Best Practices), but all 12+ full hook implementations (~900 lines) are inlined directly in SKILL.md with zero reference files, so content that clearly belongs in separate files is inline — the anchor-3 pattern. Not a 2 because the structure is thorough and well-organized, not minimal.

3 / 5

Total

14

/

20

Passed

Description

83%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 description that explicitly states what the skill does and when to use it, with concrete quoted trigger phrases in third-person voice. The main gaps are a single action verb covering pattern categories rather than multiple distinct actions, and a few missing natural trigger variants. Note the description claims 'authentication' patterns which the body content does not actually cover.

DimensionReasoningScore

Specificity

"Creates custom React hooks for common patterns including data fetching, forms, authentication, local storage, debounce, and more" names the domain plus several concrete pattern areas, matching the 'several specific actions; minor gaps' anchor. Not a 5 because it uses a single action verb ('Creates') applied to pattern categories rather than the multiple distinct concrete actions in the anchor-5 example, and 'and more' leaves coverage open-ended.

4 / 5

Completeness

It clearly answers both 'what' ("Creates custom React hooks for common patterns including data fetching, forms, authentication, local storage, debounce") and 'when' ("Use when users request 'create custom hook', 'React hook for', 'useX hook', or 'reusable hook'") with concrete quoted trigger phrases, exactly matching the anchor-5 example structure. Written in third person as required.

5 / 5

Trigger Term Quality

The trigger phrases "create custom hook", "React hook for", "useX hook", and "reusable hook" are natural phrasings a user would say, giving good coverage. Not a 5 because common variants like "build a hook", "make a hook", or "extract logic into a hook" are missing.

4 / 5

Distinctiveness Conflict Risk

Custom React hook creation is a clear niche and triggers like "create custom hook" and "useX hook" are distinctive of this skill, but "React hook for" could overlap with general React development or hook-usage questions. Minor overlap risk with closely related React skills matches anchor 4 rather than anchor 5's minimal-conflict profile.

4 / 5

Total

17

/

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 (912 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository

sathishssj3/Stereix-Engine

Path

.agents/skills/react-hook-builder/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.