Skip to content
R

react-best-practices

Reading or writing React components (.tsx, .jsx files with React imports)

by alleneubankFree

#7701in AI Skills
0In stores

Description

react-best-practices is an agent skill that guides how an AI assistant reads and writes React components in .tsx and .jsx files. Its central…

Highlights

  • Core rule: avoid Effects unless syncing with an external system
  • Decision tree from each need to the right React tool
  • Guidance for useMemo, key props, refs and useEffectEvent
  • Pairs with typescript-best-practices
  • Applies to .tsx and .jsx React files

Ratings & Reviews

No ratings yet

Be the first to rate react-best-practices.

People also visit

R

react-expert

Researching React APIs or concepts for documentation

AI Skills
Get
R

react-expert

Building React 18+ applications in .jsx or .tsx files

AI Skills
Get
R

react-code-review

Provides comprehensive code review capability for React applications

AI Skills
Get
I

improve-react

Survey a whole React codebase as a senior React engineer

AI Skills
Get
T

typescript-react-reviewer

Expert code reviewer for TypeScript + React 19 applications

AI Skills
Get
R

react-dev

Should be used when building React components

AI Skills
Get

react-best-practices FAQ

When does this skill load?

When an agent reads or writes React components, in .tsx or .jsx files with React imports.

What is the main rule?

Effects are escape hatches for syncing with external systems. Most component logic should not use one.

What should I use instead of an Effect for a user action?

An event handler. The skill's decision tree maps each kind of need to the right tool.

Should I load it with TypeScript guidance?

Yes. The skill says to load typescript-best-practices alongside it when working with React.

How do I install it?

Run npx skills add https://github.com/alleneubank/claude-code --skill react-best-practices.

What were the security audit results?

Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.

What are the best react-best-practices alternatives?

Popular alternatives to react-best-practices include react-expert, react-expert and react-code-review. See all react-best-practices alternatives

Developer Stuff

Badges