CtrlK
BlogDocsLog inGet started
Tessl Logo

you-might-not-need-state

Analyze and fix unnecessary useState, derived state, and server-state-in-local-state anti-patterns

55

Quality

63%

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-state/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%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 body is concise, codebase-aware, and gives concrete detect/fix patterns, but the workflow lacks a validation checkpoint before applying fixes and contains a dangling internal reference that breaks navigation.

Suggestions

Add a validation step to the workflow (e.g. 'After applying fixes, run the test suite / typecheck and confirm nothing regressed before reporting done').

Resolve the dangling reference to `.claude/rules/sim-hooks.md` — either add the file to the bundle or inline the relevant State-shape guidance so the pointer is not a dead end.

Tighten anti-pattern #3 by moving the sim-hooks sentinel/useRef detail into a short referenced note, keeping the main rule scannable.

DimensionReasoningScore

Conciseness

Lean and assumes Claude's competence; the Context section adds genuinely codebase-specific conventions (React Query/Zustand roles) rather than explaining concepts Claude already knows; not 5 because the dense parenthetical in anti-pattern #3 could be trimmed.

4 / 5

Actionability

Provides concrete inline code patterns to detect and fix (`useState(prop)` + `useEffect(() => setState(prop))`, `items.find(i => i.id === selectedId)`); not 5 because guidance is pattern-matching snippets rather than copy-paste executable code covering common cases.

4 / 5

Workflow Clarity

Three sequenced steps are present, but with fix=true the skill applies code changes (a destructive operation) yet includes no validation/verification checkpoint, which per the rubric caps workflow_clarity at 3.

3 / 5

Progressive Disclosure

Sections are well organized and external URL references are clearly signaled one level deep, but the body references `.claude/rules/sim-hooks.md`, a file that does not exist in the bundle, leaving a broken navigation pointer.

3 / 5

Total

14

/

20

Passed

Description

61%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 is specific and targets a distinct React state niche, but it omits any explicit 'Use when...' trigger guidance, which caps completeness and weakens the trigger/when half of the description.

Suggestions

Add an explicit 'Use when...' clause naming the natural triggers (e.g. 'Use when reviewing React components for unnecessary useState, derived state, or mirrored server state').

Expand the action verbs beyond 'Analyze and fix' to name the concrete operations (detect, refactor, replace with derived values) for higher specificity.

DimensionReasoningScore

Specificity

Names the domain (useState, derived state, server-state-in-local-state) and two concrete actions ('Analyze and fix'), matching anchor 3's '1-2 concrete actions'; not 4 because the only action verbs are the generic 'analyze'/'fix' rather than several specific operations.

3 / 5

Completeness

Has a clear 'what' ('Analyze and fix unnecessary useState, derived state, and server-state-in-local-state anti-patterns') but no 'Use when...' or equivalent explicit 'when' guidance, which per the rubric caps completeness at 3.

3 / 5

Trigger Term Quality

Includes natural terms a React developer would say ('useState', 'derived state', 'server state', 'anti-patterns') with good coverage; not 5 because it lacks common synonyms or file/extension-style trigger variations.

4 / 5

Distinctiveness Conflict Risk

Targets a clear niche (React state-management anti-patterns) with distinct triggers and low conflict risk; not 5 because it could overlap with general React linting or refactoring skills.

4 / 5

Total

14

/

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.