CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

react-patterns

Modern React patterns and principles. Hooks, composition, performance, TypeScript best practices.

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 ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/react-patterns/SKILL.md

The canonical home for this skill is react-patterns in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

46%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 skill is a well-organized but shallow pattern catalog: clean tables and clear section structure, yet much of it restates basic React knowledge Claude already has, and it contains zero code examples or executable commands. The genuinely valuable parts (React 19 hooks, state-management selection) are diluted by re-taught basics and a vague, boilerplate closing section.

Suggestions

Cut sections that re-teach basics Claude already knows (hook rules, 'Props down, events up', common TS types like ReactNode) and keep only the non-obvious guidance such as React 19 hooks and compiler behavior.

Add short executable code examples for the key patterns (e.g., a useOptimistic or compound-component Tabs example) so guidance is concrete rather than purely descriptive.

Replace the boilerplate 'When to Use' section with a concrete statement of when to consult this skill, and consider moving the TypeScript/testing tables into a single one-level-deep reference file to slim SKILL.md.

DimensionReasoningScore

Conciseness

While the table format is terse, several sections re-teach knowledge Claude already has — 'Hooks at top level only', 'Same order every render', 'Custom hooks start with "use"', 'Props down, events up', and TS basics like 'Children → ReactNode' — failing to assume Claude's competence. This matches 'Noticeably verbose; several unnecessary explanations or padded sections' rather than 3, because multiple full sections (hook rules, design rules, common TS types) add nothing Claude doesn't already know; only the React 19 and state-selection sections genuinely earn their tokens.

2 / 5

Actionability

The decision tables offer some concrete guidance — specific APIs and libraries are named ('useState, useReducer', 'React Query, SWR', 'Zustand, Redux Toolkit', 'useActionState', 'useOptimistic') — but there is no executable code, no commands, and no worked examples, leaving key details missing. This sits between 'Some concrete guidance but incomplete' (3) and 'Minimal concrete guidance' (2): the named selections are actionable for choosing tools, but nothing is copy-paste or step-level executable.

3 / 5

Workflow Clarity

One clear sequence exists (the optimization order: 'Check if actually slow → Profile with DevTools → Identify bottleneck → Apply targeted fix') but there are no validation checkpoints or feedback loops anywhere, and the closing 'When to Use' section is vague boilerplate ('This skill is applicable to execute the workflow or actions described in the overview'). This matches 'Steps listed but validation gaps; sequence present but checkpoints missing or implicit' rather than 4, which requires most checkpoints present.

3 / 5

Progressive Disclosure

The body is well organized into ten clearly headed sections with consistent tables and no nested references (no bundle files exist at all), matching 'Good structure; most content is appropriately placed; references mostly clear; minor organization gaps'. It is not 5 because at ~200 lines the TypeScript/testing detail and the table catalogs could be split into one-level-deep reference files, and the boilerplate 'When to Use' section is an organization gap at the end of the document.

4 / 5

Total

12

/

20

Passed

Description

56%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 clearly identifies the React-patterns domain with good natural keywords, but it reads as a topic list rather than a statement of capabilities — there is no concrete action and no 'Use when...' trigger guidance. The missing trigger clause is the largest gap, capping completeness at 3.

Suggestions

Add an explicit trigger clause, e.g. 'Use when building or reviewing React components and applications, or when the user mentions React, hooks, or component design.'

Replace the topic list with concrete actions, e.g. 'Guides component design, custom hook extraction, state management selection, and React 19 migration decisions.'

Add common synonyms users would say (components, state management, JSX) to strengthen trigger-term coverage.

DimensionReasoningScore

Specificity

The description names the domain ('Modern React patterns and principles') and lists topic areas ('Hooks, composition, performance, TypeScript best practices'), but contains no concrete actions — no verbs describing what the skill does, matching the anchor 'Names the domain but actions are minimal or generic'. It does not reach 3 because no concrete action is ever stated, and it is above 1 because the domain and sub-areas are clearly identified.

2 / 5

Completeness

The 'what' is reasonably clear (a React patterns/principles reference covering hooks, composition, performance, TypeScript), but there is no 'when' clause at all — no 'Use when...' or equivalent trigger guidance, which caps completeness at 3 per the judging guidelines. It is above 2 because the 'what' is clearly stated, and below 4 because 'when' is entirely absent rather than just imprecise.

3 / 5

Trigger Term Quality

Terms like 'React', 'Hooks', 'composition', 'performance', and 'TypeScript' are natural phrases users would say when needing this skill, giving good keyword coverage. It falls short of 5 because common variations users might say — 'components', 'state management', 'JSX', 'frontend' — are missing.

4 / 5

Distinctiveness Conflict Risk

'React' plus 'Hooks' and 'TypeScript best practices' carves out a fairly clear niche with minimal conflict risk against non-frontend skills. It is not 5 because the broad 'performance' and 'best practices' phrasing could overlap with a dedicated TypeScript or general frontend/web-development skill.

4 / 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.

Validation — 15 / 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

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

plugins/AI-Agents-Safe-Coding-Skills-claude/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.