Skip to content
SkillModel-led1,059 tokens in use

react-expert

Builds typed React 18 and 19 components with hooks, Server Components, useActionState forms, state management and Testing Library tests.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/react-expert
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing react-expert costs

79tokens idle
1,059tokens in use
12,362tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure25/25
  • Examples9/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

React Expert guides Claude through React work in six steps: analyze the component hierarchy, choose state and data-fetching patterns, implement in TypeScript, validate with tsc, optimize and add accessibility, then test with React Testing Library.

It includes patterns for a Next.js Server Component, a React 19 form with useActionState and a custom hook with effect cleanup, plus reference files for state, performance and class component migration.

What You Get

  • A six-step workflow that runs tsc —noEmit and returns to the type step when new errors appear
  • Patterns for a Server Component, a useActionState form and a custom hook with cleanup
  • Reference files for Server Components, React 19 features, state management, hooks, performance, testing and class migration
  • Rules against mutating state, index keys on dynamic lists and inline functions in JSX
  • An output template with a typed component file, a test file and a note on key decisions

Common Use Cases

  • Building a typed component with Suspense and error boundaries
  • Choosing between Context, Zustand, Redux and TanStack Query
  • Writing a form with React 19 actions
  • Converting class components to hooks or Server Components
  • Fixing re-render and performance problems with memoization and virtualization

What Makes It Unique

The skill is current with React 19, covering the use hook, useActionState and Server Components, and it includes a migration reference from class components. Type checking is a loop in the workflow, and its constraint list pairs each rule with the failure it prevents, such as effect cleanup against memory leaks.

Under The Hood

The skill is instructions and reference markdown that Claude loads by topic; it ships no scripts. Following it, Claude writes component and test files in your project and runs tsc —noEmit and your test runner. The Server Component example reads from a database in your own app, and the skill does not call outside services itself.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers