React Performance
affaan-m/ECC
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills).
Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
$ npx skills add shapeshift/web --skill react-best-practices -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install shapeshift/web react-best-practices --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/react-best-practices .claude/skills/react-best-practices && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .claude/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practicesType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add shapeshift/web --skill react-best-practices -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install shapeshift/web react-best-practices --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/react-best-practices .agents/skills/react-best-practices && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .agents/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shapeshift/web --skill react-best-practices -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install shapeshift/web react-best-practices --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/react-best-practices .cursor/skills/react-best-practices && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .cursor/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/shapeshift/web.git --path .claude/skills/react-best-practices--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add shapeshift/web --skill react-best-practices -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install shapeshift/web react-best-practices --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/react-best-practices .gemini/skills/react-best-practices && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .gemini/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install shapeshift/web react-best-practicesInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add shapeshift/web --skill react-best-practices -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/react-best-practices .github/skills/react-best-practices && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .github/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add shapeshift/web --skill react-best-practices -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install shapeshift/web react-best-practices --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/shapeshift/web.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/react-best-practices .opencode/skills/react-best-practices && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "react-best-practices" agent skill from https://github.com/shapeshift/web/tree/develop/.claude/skills/react-best-practices into .opencode/skills/react-best-practices/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "react-best-practices", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
react-best-practicesComprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
React Best Practices is an agent skill from shapeshift/web. Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use when optimizing React apps, reviewing performance, or refactoring components.
Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 49 other files, including reference files (for example `references/react-performance-guidelines.md`, `references/rules/_sections.md` and `references/rules/_template.md`).
It sits in Development, covering React components, Performance optimization and Refactoring. It works with React, Next.js and JavaScript. The licence is MIT.
8 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 52aebb2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Shell, from the files we listed), which the agent can run.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
vercel.comgithub.comreact.devnextjs.orgswr.vercel.appFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
React Best Practices loads about 2k tokens when it runs, and up to ~28k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 806 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from shapeshift/web at commit 52aebb2, republished under its MIT licence (© shapeshift). 806 words, ~1,983 tokens.
.claude/skills/react-best-practices/SKILL.md (or your agent's skills folder). This skill also uses 47 other files; get the full folder from GitHub.Comprehensive performance optimization guide for React and Next.js applications with 40+ rules organized by impact level. Designed to help developers eliminate performance bottlenecks and follow best practices.
Use React Best Practices when:
Key areas covered:
Parallel data fetching:
const [user, posts, comments] = await Promise.all([
fetchUser(),
fetchPosts(),
fetchComments()
])Direct imports:
// ❌ Loads entire library
import { Check } from 'lucide-react'
// ✅ Loads only what you need
import Check from 'lucide-react/dist/esm/icons/check'Dynamic components:
import dynamic from 'next/dynamic'
const MonacoEditor = dynamic(
() => import('./monaco-editor'),
{ ssr: false }
)The complete performance guidelines are available in the references folder:
Each rule includes:
Waterfalls are the #1 performance killer. Each sequential await adds full network latency.
Reducing initial bundle size improves Time to Interactive and Largest Contentful Paint.
Optimize server-side rendering and data fetching.
Automatic deduplication and efficient data fetching patterns.
Reduce unnecessary re-renders to minimize wasted computation.
Optimize the browser rendering process.
Micro-optimizations for hot paths.
Specialized techniques for edge cases.
When optimizing a React application:
❌ Don't:
✅ Do:
The reference guidelines use function keyword syntax for examples, but this project prefers:
const Component = memo(() => ...) not memo(function Component() ...)useMemo(() => ..., [deps]) not (() => { ... })()useMemo(() => value, [deps]) not useMemo(() => { return value }, [deps])v0.1.0 (January 2026)
© shapeshift, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 47 other files (references) in .claude/skills/react-best-practices of shapeshift/web.
Open the folder on GitHubat commit 52aebb2
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in shapeshift/web, which our catalogue first saw on October 7, 2026.
React Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| React Best Practices this skillshapeshift/web | 206 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| React Performanceaffaan-m/ECC | 274k | 1 repos | ~4.5k | Automated safety check: Pass | MIT | |
| Vercel React Best Practicessanity-io/sanity | 6.4k | 130 repos | ~1.6k | Automated safety check: Pass | MIT | |
| React Best Practicesryokun6/ryos | 1.3k | — | ~2k | Automated safety check: Pass | MIT | |
| Vercel React Best Practicesgambitph/Stackable | 350 | — | ~2k | Automated safety check: Pass | MIT | |
| Reactpproenca/dot-skills | 214 | — | ~4.1k | Automated safety check: Pass | MIT |
affaan-m/ECC
React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills).
sanity-io/sanity
React and Next.js performance optimization guidelines from Vercel Engineering.
ryokun6/ryos
React performance optimization guidelines from Vercel Engineering (vercel-labs/agent-skills).
gambitph/Stackable
React performance optimization guidelines from Vercel Engineering.
pproenca/dot-skills
React 19/19.2 modern patterns for concurrent rendering, Server Components, actions, ref-as-prop, document metadata, resource hints, hooks, and memoization — plus a category-major review/refactor…
ragnar-pwninskjold/tech-snacks
Review React/Next.js code against the real vercel-react-best-practices skill, backlog the performance findings keyed to actual rule ids + impact tiers, rank the most over-subscribed tiers, then fix…
shapeshift/web
Run a quality benchmark of the /translate skill by selecting stratified test keys, capturing ground truth, translating, judging with sub-agents, and compiling a regression report.
shapeshift/web
Create a new qabot E2E test fixture interactively. An agent skill from shapeshift/web.
shapeshift/web
Translate new/changed English UI strings into all supported languages using a translate-review-refine pipeline.
shapeshift/web
Integrate a new blockchain as a second-class citizen in ShapeShift Web.
shapeshift/web
Run QA tests using agent-browser and post results to the qabot dashboard.
shapeshift/web
Integrate new DEX aggregators, swappers, or bridge protocols (like Bebop, Portals, Jupiter, 0x, 1inch, etc.) into ShapeShift Web.
Works with
Categories
Comprehensive React and Next.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. React Best Practices is an agent skill from shapeshift/web.js performance optimization guide with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering.
React Best Practices fits situations like: optimizing React apps; reviewing performance; refactoring components.
Run `npx skills add shapeshift/web --skill react-best-practices -a claude-code`. Or copy the skill folder (.claude/skills/react-best-practices in shapeshift/web) into .claude/skills/react-best-practices in your project. Claude Code loads it when a task matches its description.
Run `npx skills add shapeshift/web --skill react-best-practices -a codex`. Or copy the skill folder (.claude/skills/react-best-practices in shapeshift/web) into .agents/skills/react-best-practices in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add shapeshift/web --skill react-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/react-best-practices, .gemini/skills/react-best-practices, .github/skills/react-best-practices and .opencode/skills/react-best-practices in your project.
Going by SKILL.md and its folder, React Best Practices needs a shell for the scripts in its folder. Our summary lists: A Bash shell.
SKILL.md names 5 domains. As links in the text: vercel.com, github.com, react.dev, nextjs.org and swr.vercel.app. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
React Best Practices is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 7.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 26k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with React Best Practices: React Performance (affaan-m/ECC, 274k stars), Vercel React Best Practices (sanity-io/sanity, 6.4k stars), React Best Practices (ryokun6/ryos, 1.3k stars) and Vercel React Best Practices (gambitph/Stackable, 350 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
shapeshift (a GitHub organization) maintains it in shapeshift/web, which has 206 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 7, 2026.
Source: shapeshift/web on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.