
React perf
Audits React components for render performance problems, ranked by likely impact
React perf is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 7
- Last commit
- License
- MIT
- Listing updated
Similar skills
About React perf
This skill gives an agent a read-only React render performance audit. It works through the code in a fixed order: first checking whether too much data is rendered, whether work runs in the wrong place, whether state sits too high in the tree, whether context values are unstable, and whether effects cause extra render passes. Memoisation is only considered last, and only when there is a concrete reason it would prevent a costly re-render.
Each finding must name a file and line, the mechanism that triggers the re-render, a rough estimate of how many components and how often, a proposed fix, and a way to confirm it, such as a React DevTools Profiler recording or a Performance panel trace. Findings are grouped by severity. The skill also lists common false positives it avoids, like memoising handlers passed to DOM elements or wrapping cheap expressions in hooks.
When the target is empty, the skill audits files changed on the current branch relative to the base branch. It runs as a separate forked agent and reports only; it does not edit code. If the code does not explain a slowdown, it says so and points toward network, query, bundle or layout causes instead.
When your agent uses it
Audit React render performance from the code, prioritised by measured or measurable impact. Invoke when the user reports a slow or janky UI, asks about re-renders, mentions memo/useMemo/useCallback, or asks for a perf review of a component tree. Refuses to recommend memoisation without a reason.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (4 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ai-essentials plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add tonyghiani/ai-essentials
/plugin install ai-essentials@ai-essentialsOr copy only this skill to ~/.claude/skills/react-perf:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/react-perf &&
cp -R "$tmp/skills/react-perf" ~/.claude/skills/react-perf &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/react-perf inside it instead.
Copy the skill folder to ~/.agents/skills/react-perf to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/react-perf &&
cp -R "$tmp/skills/react-perf" ~/.agents/skills/react-perf &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/react-perf inside it instead.
Copy the skill folder to ~/.cursor/skills/react-perf to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/react-perf &&
cp -R "$tmp/skills/react-perf" ~/.cursor/skills/react-perf &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/react-perf inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/tonyghiani/ai-essentials.git --path skills/react-perfOr copy the folder to ~/.gemini/skills/react-perf yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/react-perf:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/react-perf &&
cp -R "$tmp/skills/react-perf" ~/.copilot/skills/react-perf &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/react-perf inside it instead.
Get the folder:
git clone --depth 1 https://github.com/tonyghiani/ai-essentials.gitThen copy ai-essentials/skills/react-perf into your agent's skills folder as react-perf. Agents that support SKILL.md read one folder per skill.
What it does
- Ordered audit checklist
- Works through data volume, state placement, context stability, effects and memoisation in a fixed priority order.
- Evidence-backed findings
- Each finding must name a file and line, a render mechanism, estimated impact and a profiling step to confirm it.
- Severity grading
- Classifies issues as critical, important or minor based on unbounded work, unstable context and wide re-renders.
- Memoisation guardrails
- Excludes common cargo-cult patterns such as memo on always-changing props or hooks around trivial arithmetic.
- Branch diff targeting
- Falls back to files changed against the base branch when no specific target is given.
- Read-only reporting
- Runs as a separate agent that reports findings without editing the codebase.
Good for
- Review a slow data table component for rendering too many rows
- Find out why a form re-renders on every keystroke
- Check a React context provider for unstable values causing consumer re-renders
- Audit the components changed on my branch for render performance issues
- Decide whether useMemo or useCallback is actually justified in a component
React perf FAQ
When does React perf trigger?
It is invoked when a user reports a slow or janky UI, asks about re-renders, mentions memo, useMemo or useCallback, or asks for a performance review of a component tree.
Does React perf change my code?
No. It runs as a read-only agent and reports findings only; it never edits files.
What does React perf audit if I give no target?
It audits the files changed on the current branch compared with origin/HEAD or the base branch named by the caller, reading each file in full.
Does React perf recommend memoisation by default?
No. Memoisation is the last step and is only recommended when the audit can name the re-render it prevents and why that render is costly.
What if the code shows no render problems?
It reports that no render-performance findings were found and suggests profiling, since the slowness may come from network, queries, bundle size or layout.
How do I install React perf in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/react-perf to use it in all your projects, or to .claude/skills/react-perf in one project. Or install the ai-essentials plugin, which includes it: /plugin marketplace add tonyghiani/ai-essentials, then /plugin install ai-essentials@ai-essentials.
Does React perf run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use React perf?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to React perf?
The closest alternatives to React perf are Frontend perf, Performance audit, React patterns, React native best practices and Audit frontend design.
Where this comes from
- Description: from the skill's own SKILL.md.
More from tonyghiani/ai-essentials

Lets an agent read your GitHub queue at day's end and draft a morning triage report
- Open source
- 7 GitHub stars
- Developer tools

Finds untranslated UI strings and i18n patterns that break translation in code
- Open source
- 7 GitHub stars
- Developer tools

Writes pull request descriptions from a fixed summary, screenshots and testing template
- Open source
- 7 GitHub stars
- Developer tools

Guides an agent through resolving merge conflicts by intent, then verifying and pushing
- Open source
- 7 GitHub stars
- Developer tools

Triages PR review comments, then implements, replies to and resolves them
- Open source
- 7 GitHub stars
- Developer tools

Guides the agent through a test-first loop: failing test, then minimal implementation
- Open source
- 7 GitHub stars
- Developer tools




