Skip to content

React Patterns skill (Jezweb)

Review React composition, async waterfalls and rendering costs in priority order.

Community · Jeremy Dawes (Jezweb)
AuthorJeremy Dawes (Jezweb)
LicenceMIT
Sourcejezweb/claude-skills · SKILL.md on GitHub
Works inClaude Code
Read from the source on

The react-patterns skill is a prioritized review checklist for React 19, Vite and Cloudflare Workers projects.

It covers async waterfalls, bundles, composition, state and fetching. Suggested fixes are hypotheses to validate against the project's actual React version and measured behavior.

From the skill's SKILL.md: react-patterns

This is a community skill by Jeremy Dawes (Jezweb), not checked by us or by Anthropic. Skills can tell the agent to run code, read files or call the network. Before installing, read its SKILL.md and every script in the folder, and look for anything that does not match what it says it does.

What it does

  1. Inspect relevant components and prioritize waterfall and bundle issues.
  2. Review composition and state ownership before adding memoization.
  3. Report file and line findings, then measure any authorized change.

What you get

  • A source-linked findings list and scoped refactoring guidance, not a measured speedup by default.

When to use it

  • Review a compatible React project or investigate repeated rendering and slow loading.

When not to use it

  • Applying every useMemo or useCallback suggestion mechanically, or promising improvement without measurements.

What it needs

  • Claude Code with source access; real project checks and profiler or bundle tools are needed for performance evidence.

Files in the skill

File or folderWhat it is for
SKILL.mdPrioritized source-review checklist; it does not include a benchmarking runtime.

Licence as found in the repository on 2026-11-27: MIT.

Example prompts

Type one of these after installing; naming the skill makes sure it is used.

  • Review these components for independent async work that is unnecessarily sequential.
  • Find composition problems before proposing memoization.
  • Explain suspected rendering costs and the measurements needed to validate them.

How to install react-patterns

Match the target React and build versions

The frontend plugin installs this checklist alongside other UI skills. Copying the file does not install React, a profiler or dependencies. Verify the target project's semantics before adopting examples.

A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:

Claude Code: from the plugin marketplace

  1. Start Claude Code in a terminal with claude.
  2. Add the marketplace (once per computer):
    /plugin marketplace add jezweb/claude-skills
  3. Install the plugin. Claude Code opens its details first: check what it will add (skills, hooks, MCP servers), then choose whether it is for you, for everyone on this repository, or for you in this repository only.
    /plugin install frontend@jezweb-skills
  4. Type / and look for /frontend:react-patterns, or simply ask for the task.

From your shell instead of a session:

claude plugin marketplace add jezweb/claude-skills
claude plugin install frontend@jezweb-skills

The plugin installs as a whole, so other skills come with it, including tailwind-theme-builder, react-native, shadcn-ui, product-showcase, design-loop, landing-page, design-review, design-system.

Claude Code: copy the folder into your skills folder

Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).

git clone --depth 1 https://github.com/jezweb/claude-skills.git
mkdir -p ~/.claude/skills
cp -R claude-skills/plugins/frontend/skills/react-patterns ~/.claude/skills/

Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /react-patterns or just describe the task.

On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.

Only install skills you trust. Anthropic's advice is to use skills only from trusted sources, and to read every file of any other skill before using it: a skill can direct the agent to run commands, read files or send data in ways its description does not mention.

Sources for these steps

Checked against each vendor's documentation on 2026-11-14:

Prioritize structural causes

Look for unnecessary sequential I/O, large eager imports and unclear state ownership before adding caches. Confirm dependencies are truly independent before parallelizing them.

Report evidence at the right level

A file-and-line observation establishes a code pattern, not a user-visible timing result. Use the profiler, real bundle output and relevant integration checks for stronger claims.

Questions about react-patterns

Is every recommendation a mandatory fix?

No. Check applicability and impact in the actual project, rather than applying a checklist mechanically.

Does a code finding prove a speedup?

No. Compare the same workload before and after, accounting for noise and changed behavior.

Does it target every React version?

The source focuses on React 19 with Vite and Workers. Older React and other runtimes can require different patterns.

Will it rewrite components automatically?

The entry's allowed tools are read-oriented. Review and implementation authorization remain separate.

More AI skills

Related skills

Skill categories

Buy me a coffee