CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

react-best-practices

Provides React patterns for hooks, effects, refs, and component design. Covers escape hatches, anti-patterns, and correct effect usage. Must use when reading or writing React components (.tsx, .jsx files with React imports).

1.07x
Quality

78%

Does it follow best practices?

Impact

96%

1.07x

Average score across 3 eval scenarios

SecuritybySnyk

—

The risk profile of this skill

Fix and improve this skill with Tessl

tessl review fix ./data/skills-md/0xbigboss/claude-code/react-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

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 body is a well-organized, highly actionable catalog of React patterns with concrete BAD/GOOD code and a closing decision tree, but it spends 571 lines on doctrine Claude largely already knows and inlines material that would fit better in one-level-deep reference files. Strongest on actionability and sequencing, weakest on token efficiency and file structure.

Suggestions

Split the topic catalogs (effect-dependency recipes, refs, custom hooks, component patterns) into one-level-deep files under references/, keeping SKILL.md to the core principle, the when/when-not lists, and the decision tree.

Trim BAD/GOOD pairs that restate React's official docs (e.g., the Chains of Effects example), retaining only rules and project-specific preferences Claude would not infer on its own.

Make code examples self-contained — declare `serverUrl` and `connection` in the ChatRoom examples and include imports — so snippets are copy-paste executable.

DimensionReasoningScore

Conciseness

The prose is tight and code-heavy, but at 571 lines the body substantially restates React's official 'You Might Not Need an Effect' doctrine Claude already knows ("Effects let you 'step outside' React to synchronize with external systems", "Most component logic should NOT use Effects"), and multi-example sections like Chains of Effects could be condensed — 'mostly efficient but could be tightened'. Not 2 because there is no padded hand-holding or re-teaching of basic concepts, and not 4 because the duplication of well-known doctrine is more than minor.

3 / 5

Actionability

Every pattern ships a concrete BAD/GOOD TSX pair (key reset, updater functions, useEffectEvent) and the closing 7-step decision tree ("Need to respond to user interaction? Use event handler") is directly actionable. Minor gaps hold it below 5: some snippets use undeclared variables (`connection` in the callback-prop example, `serverUrl` in ChatRoom) and omit imports, so they are not fully copy-paste executable.

4 / 5

Workflow Clarity

The guidance is coherently sequenced (core principle → when/when-not to use effects → dependencies → cleanup → refs → custom hooks → component patterns) and ends with a numbered decision tree that acts as a clear routing checkpoint. No validation steps are needed since the skill involves no destructive or batch operations, but the under-50-line simple-skill exception does not apply at this length, so it does not reach 5.

4 / 5

Progressive Disclosure

This is a single monolithic 571-line file with no references/, scripts/, or assets/ bundle; headers provide good structure, but topic catalogs (refs, custom hooks, component patterns) that belong in one-level-deep reference files are fully inlined — 'content that should be separate is inline'. Not 2 because the structure is genuinely well-organized rather than minimal, and not 4 because the body reads as a full pattern catalog rather than an overview, with the only cross-file pointer being an external skill (`typescript-best-practices`) given no path.

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.

The description explicitly states both what the skill provides and when it must be used, anchored by concrete file-based triggers (.tsx/.jsx with React imports) and natural keywords. It is specific and highly distinguishable, with only minor overlap risk against a companion TypeScript skill.

DimensionReasoningScore

Specificity

Lists several specific capability areas — "hooks, effects, refs, and component design" plus "escape hatches, anti-patterns, and correct effect usage" — matching the anchor for several specific actions with minor gaps. It is not 3 because coverage goes well beyond 1-2 actions, and not 5 because the verbs ('provides', 'covers') enumerate topics rather than naming multiple distinct concrete actions like 'extract, fill, merge'.

4 / 5

Completeness

Explicitly answers both questions: what ("Provides React patterns for hooks, effects, refs, and component design") and when ("Must use when reading or writing React components (.tsx, .jsx files with React imports)") with concrete trigger phrases, exactly matching the top anchor. A weaker 'when' clause would cap it at 4, but the file-based trigger here is fully explicit.

5 / 5

Trigger Term Quality

Includes good natural keywords — "React components", "hooks", "effects", "refs", and file extensions ".tsx, .jsx files with React imports" — matching the anchor for good keyword coverage. It falls short of 5 because common user variations such as 'useEffect', 'props', 'state', or 'frontend' are missing.

4 / 5

Distinctiveness Conflict Risk

The trigger "React components (.tsx, .jsx files with React imports)" carves a clear niche with distinct file-extension triggers, but .tsx files would also fire a companion TypeScript skill (the body mandates loading `typescript-best-practices`), which is 'minor overlap risk with closely related skills' — anchor 4, not 5's 'minimal conflict risk'.

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

Warning

Total

15

/

16

Passed

Repository

NeverSight/learn-skills.dev

Path

data/skills-md/0xbigboss/claude-code/react-best-practices/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.