CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

react-patterns

React 18/19 patterns including hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition. Use when writing or reviewing React components.

Quality

84%

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

82%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-organized, highly actionable patterns reference with executable code and excellent decision trees/matrices for the hard architectural choices. Its main costs are length — several sections re-teach React APIs Claude already knows — and the absence of a split between overview-level SKILL.md content and detailed reference files.

Suggestions

Move the worked Examples section (useDebounce, useOptimistic) and the full form-action demo into a references/examples.md or references/forms.md, keeping only the decision rules inline in SKILL.md.

Trim sections that restate standard React 19 API usage Claude already knows (useActionState, useOptimistic signatures) down to the project-specific preference being asserted.

Add a short verification step for the workflows the skill claims (e.g. 'run axe in component tests' as a checkpoint after applying accessibility composition, or profiler evidence before adding memoization) to strengthen workflow clarity.

DimensionReasoningScore

Conciseness

The body is dense, code-first, and low on fluff, but the ~340 lines include full demonstrations of standard React 19 APIs (useActionState, useOptimistic) and a lengthy good/bad derived-state pair that restate knowledge Claude already has. Minor instances of over-explanation could be trimmed, matching anchor 4 rather than anchor 5's lean ideal.

4 / 5

Actionability

Nearly every example is complete, typed, copy-paste-ready TSX covering the common cases (RSC boundaries, form actions, debounced search, optimistic UI), complemented by directly executable decision aids (state-location tree, data-fetching matrix, three-condition React.memo test). The few non-runnable composition sketches (Tabs, named slots) are inherent to illustrating composition shape.

5 / 5

Workflow Clarity

Decision flows are clearly sequenced and unambiguous, and the skill involves no fragile multi-step operation requiring validation loops. However, no explicit checkpoints or feedback loops exist anywhere (e.g. for the class-component migration use case it lists), placing it between anchor 4 and anchor 5.

4 / 5

Progressive Disclosure

Good section structure with the right reference pattern demonstrated ("See rules/react/hooks.md for the full ruleset. Highlights:") and clearly signaled Related links, but no bundle files exist and substantial worked content (the Examples section, full form-action and optimistic-UI demos) is inlined in an 11KB body that could be split into reference files. Fits anchor 4's "minor organization gaps" rather than 5's clean overview-plus-references split.

4 / 5

Total

17

/

20

Passed

Description

81%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: specific, domain-comprehensive, and explicitly triggered with a clear "Use when" clause in appropriate third-person style. The main weakness is a single narrow trigger phrase that doesn't cover the full breadth of activation scenarios the skill itself supports.

Suggestions

Expand the "Use when" clause with concrete trigger phrases matching the body's activation list, e.g. "Use when writing or reviewing React components, designing state shape, choosing data-fetching libraries, or working with JSX/TSX files."

Add natural keyword variants users would actually say ("JSX", "TSX", "React hooks", "Server Components", "RSC") to broaden trigger coverage toward the top anchor.

Consider narrowing "accessibility-first composition" (e.g. to "accessible component composition") to reduce overlap signal with a dedicated accessibility skill.

DimensionReasoningScore

Specificity

The description enumerates seven concrete capability areas — "hooks discipline, server/client component boundaries, Suspense + error boundaries, form actions, data fetching, state management decision trees, and accessibility-first composition" — comprehensively covering the React 18/19 domain with no notable gaps.

5 / 5

Completeness

Both "what" (the enumerated pattern areas) and "when" ("Use when writing or reviewing React components") are explicit, satisfying anchor 4. It falls short of anchor 5 because the trigger clause is narrower than the described capabilities — nothing signals the state-management-design, migration, or data-fetching scenarios the skill body itself activates on.

4 / 5

Trigger Term Quality

"React", "hooks", and "writing or reviewing React components" are natural user phrases, but the single "Use when" clause omits common variations such as "JSX", ".tsx", "React hooks", or state-management/migration triggers. Good coverage with a few natural terms missing fits anchor 4 rather than 5's comprehensive synonym/extension enumeration.

4 / 5

Distinctiveness Conflict Risk

"React" is a strong, distinct niche trigger giving minimal conflict risk overall, but "accessibility-first composition" and "state management decision trees" overlap with closely related sibling skills (accessibility, react-performance) the body cross-references — matching anchor 4's "minor overlap risk" rather than 5.

4 / 5

Total

17

/

20

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

relative_links

Relative link issues: 8 suspicious

Warning

Total

14

/

16

Passed

Repository

affaan-m/ECC

Path

skills/react-patterns/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.