CtrlK
BlogDocsLog inGet started
Tessl Logo

you-might-not-need-a-callback

Analyze and fix useCallback anti-patterns in your code

53

Quality

60%

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/you-might-not-need-a-callback/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

68%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 tight, well-organized analysis skill with concrete detection criteria and a correct-pattern example, weakened mainly by a fix-application workflow that lacks any validation/verification step before or after edits.

Suggestions

Add an explicit validation checkpoint after applying fixes, e.g. run typecheck/tests or re-scan the scope to confirm no new anti-patterns were introduced.

Show one concrete fix transform (before/after) so the apply step is copy-paste actionable rather than described.

Tighten anti-pattern 7 and the observer list to remove minor restatement.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's React competence, with each anti-pattern earning its place; only minor explanatory restatement (e.g., the long anti-pattern 7) could be trimmed, so it sits just below a 5.

4 / 5

Actionability

Detection criteria are concrete and pattern-specific, and the correct ref pattern ships an executable tsx example, but the actual fix transforms are described rather than shown as copy-paste code.

4 / 5

Workflow Clarity

The three-step sequence is present, but applying fixes (fix=true default) is a code-modifying batch operation with no validation checkpoint (typecheck/test/build), which caps workflow clarity at 3 per the destructive/batch guidance.

3 / 5

Progressive Disclosure

Content is well-sectioned (rule, anti-patterns, correct patterns, steps) with a single clearly-signaled one-level reference (react.dev URL); no bundle files exist, so structure is good but not the crisp multi-reference split of a 5.

4 / 5

Total

15

/

20

Passed

Description

52%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 names a precise niche and concrete actions but omits any 'when to use' trigger guidance and slips into second-person voice ('in your code'). Adding a 'Use when...' clause and switching to third person would lift the weakest dimensions.

Suggestions

Add an explicit trigger clause, e.g. 'Use when reviewing React code for unnecessary useCallback usage or performance issues.'

Rephrase to third person: replace 'in your code' with 'in React code' to avoid the second-person voice penalty.

Broaden trigger keywords with synonyms users naturally say ('React hooks', 'memoization', 're-render performance').

DimensionReasoningScore

Specificity

Names the domain (useCallback) and two actions ('Analyze and fix'), which would anchor at 3, but the second-person phrase 'in your code' triggers the voice penalty reducing specificity by 1.

2 / 5

Completeness

The 'what' is clear ('Analyze and fix useCallback anti-patterns') but there is no 'Use when...' clause or equivalent trigger guidance, capping completeness at 3.

3 / 5

Trigger Term Quality

'useCallback' and 'anti-patterns' are relevant keywords a React developer would say, but common variations like 'React hooks', 'memoization', or 'performance' are missing.

3 / 5

Distinctiveness Conflict Risk

'useCallback anti-patterns' carves out a clear niche with distinct triggers and minimal overlap risk with other skills.

5 / 5

Total

13

/

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
simstudioai/sim
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.