react-performance
Skill1 starsChanged 4 months agoMITView on GitHub
React/SPA performance — request waterfalls, bundles, re-renders, chart/list jank, code-splitting heavy libs. Use only when load time, jank, or a performance budget is the stated problem. Prefer frontend-design when the task is general UI build/polish (it routes here if needed). Not for pure CSS aesthetics, a11y-only reviews (web-quality), or chart cognitive design (tufte).
11 other projects use a version of this.
Adopted by
Most recently taken up by
- templetongroup/radianttheir own version, first seen Sep 17, 2026
- jscott3201/yet-more-skillstheir own version, first seen Sep 7, 2026
- socialadsmentor/sam-agentic-harnesstheir own version, first seen Sep 3, 2026
- SamuelNDCE/claude-super-skill-librarytheir own version, first seen Aug 1, 2026
- JunMystery/Agent-Guidance-Pythontheir own version, first seen Jul 21, 2026
- jgamaraalv/delivery-looptheir own version, first seen Jul 4, 2026
Used with
Projects with it also use vite-patterns, react-testing and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
aragaobrunoSkillvite-patterns
Vite build tool patterns including config, plugins, HMR, env variables, proxy setup, SSR, library mode, dependency pre-bundling, and build optimization. Activate when working with vite.config.ts, Vite plugins, or Vite-based projects.
Also in 3 projects that use this
SentrySkillreact-testing
Write and review React/TypeScript tests for Sentry's frontend using Jest and React Testing Library. Use when adding or editing tests in static/ (*.spec.tsx), writing component/hook tests, mocking API responses with MockApiClient, testing routing or network requests, or when asked to "write a frontend test", "add a React test", "test this component", or "fix a flaky RTL test".
Also in 4 projects that use this
joneqianSkillpostgres-patterns
PostgreSQL database patterns for query optimization, schema design, indexing, and security. Based on Supabase best practices.
Also in 3 projects that use this
InfopibeSkilldeployment-patterns
Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications.
Also in 3 projects that use this
LangChainSkilldocker-patterns
Best practices for Docker containerization and multi-stage builds
Also in 3 projects that use this
mryeastcodeSkillcontext-budget
Audits Claude Code context window consumption across agents, skills, MCP servers, and rules. Identifies bloat, redundant components, and produces prioritized token-savings recommendations.
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- templetongroup/radiant★ 113same name
- s-hiraoku/synapse-a2a★ 16same name
- wpank/ai★ 11same name
- jgamaraalv/delivery-loop★ 4same name
- jscott3201/yet-more-skills★ 4same name
- socialadsmentor/sam-agentic-harness★ 4same name
- LeahyCC/claude-skills★ 3same name
- aragaobruno/monster-antigravity★ 2same name
- JunMystery/Agent-Guidance-Python★ 2same name
- Nupke/react-claude-skills★ 1same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository47 other files it gives its agents.
- data-apache-lakehouseSkill
- data-apiSkill
- dataSkill
- data-duckdbSkill
- data-identity-resolutionSkill
- data-pipeline-operationsSkill
- data-pokemon-tcg-foundationsSkill
- data-product-evalSkill
- data-reelsSkill
- data-semantic-qualitySkill
- data-table-lifecycleSkill
- html-designSkill
- ebay-listingSkill
- flutter-pro-ux-reviewSkill
- flutterSkill
- browser-testing-with-devtoolsSkill
- browser-verifySkill
- design-systemSkill
- frontend-designSkill
- mobile-app-echarts-visualSkill
- mobile-blog-chart-visualSkill
- mobile-chart-visualSkill
- mobile-product-uxSkill
- mockup-implementSkill
- product-designSkill
- product-ui-craftSkill
- prototypeSkill
- ui-exploreSkill
- visual-verifySkill
- web-qualitySkill
- high-retention-insight-reels-instagramSkill
- instagramSkill
- instagram-virality-insightsSkill
- marketing-cashvertisingSkill
- marketing-contagiousSkill
- marketing-going-viralSkill
- marketingSkill
- marketing-offersSkill
- marketing-storybrandSkill
- quality-checkSkill
- elements-of-styleSkill
- style-clarity-graceSkill
- writer-styleSkill
- writing-docsSkill
- writing-proseSkill
- writingSkill
- writing-technicalSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 37
Prefer parallel fetches over await chains
- Distinctive: line 39
Use deferred/streaming patterns when the framework supports them
- Distinctive: line 46
Avoid barrel-file imports that pull whole icon/component sets
- Very specific: line 47
Keep SSR/client entry lean.
“Common” is measured: kept by at least 6 in 10 of the 11 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
React performance
Job: Make product UI fast enough that craft work is usable.
Sources (attribution)
- Vercel Engineering React Best Practices agent-skill lineage: prioritized
rules around waterfalls, bundle size, server/client data fetching, and
re-render hygiene (public
react-best-practicesskill pattern). - Core Web Vitals orientation (LCP, INP/FID proxy, CLS) as used in product performance budgets.
- Chart/code-split practice common in analytics frontends (lazy heavy viz libs).
This file is a compact agent checklist, not a dump of Vercel’s full rule set.
When to load
- Slow route transitions or chat streams that block input
- Large main bundles / lighthouse or budget failures
- Card grids, virtualized lists, ECharts/map libs
- “Everything re-renders when one filter changes”
Priority order (fix highest impact first)
1. Eliminate waterfalls (critical)
- Prefer parallel fetches over await chains
- Don’t block entire page on secondary panels
- Use deferred/streaming patterns when the framework supports them
Smell: Network waterfall in DevTools; time-to-first-content dominated by sequential API calls.
2. Bundle size (critical)
- Dynamic import heavy routes and libs (
echarts, markdown, pdf, maps) - Avoid barrel-file imports that pull whole icon/component sets
- Keep SSR/client entry lean; split admin/scanner/trade if route-isolated
Smell: Main chunk jumps after adding one chart import.
3. Data fetching hygiene
- Cache with stable keys (React Query / router loaders)
- Stale-while-revalidate for browse surfaces when product allows
- Don’t refetch whole page for grade/timeframe toggles if partial data works
- Cancel/ignore stale responses on rapid filter changes
4. Re-render control (medium)
- State lives near consumers; avoid god-context for high-frequency values
- Derived booleans over storing everything raw
- Memoize expensive pure calc (chart option builders), not every component
- Virtualize long lists (
@tanstack/react-virtualor equivalent)
5. Rendering performance
- Animate transform/opacity only
content-visibilityfor long offscreen sections when appropriate- Images: correct size/variant for thumbnails vs lightbox
6. Charts (analytics-specific)
- One shared chart component contract (dispose on unmount)
- Don’t rebuild full option objects on unrelated parent state
- Separate chart chunk from app shell
Review output
State impact tier + fix:
CRITICAL — sequential grade-stats then sales fetch on card open; parallelize
HIGH — echarts imported from route root; dynamic import into Chart shell
MEDIUM — filter context re-renders entire PriceMatrix; split selection stateHand off
| Need | Next skill |
| Tokens/layout | design-system / product-ui-craft |
| Prove no visual regression after split | browser-verify |
| Mobile jank from sticky+scroll | mobile-product-ux |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

