Skip to content
affaan-m avatar

React Performance

Performance patterns for React and Next.js, organized into eight priority categories with rules for reviews and refactors.

CCM score
71 of 100
skills.sh installs
8.5K
GitHub stars
312.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers waterfalls, bundle size, server-side work, client fetching, re-renders, rendering, JS micro-performance, and advanced patterns
  • Includes before-and-after code for Promise.all, direct imports over barrels, React.cache(), and dynamic imports for heavy components
  • Enforces authentication and authorization inside every "use server" action, since each one is a public endpoint
  • Designed for writing, reviewing, or refactoring React and Next.js code when diagnosing slow loads or Core Web Vitals regressions

Install

$ npx -y skills add affaan-m/ecc --skill react-performance -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

React Performance

Performance optimization patterns for React 18/19 and Next.js, adapted from Vercel Labs react-best-practices (MIT, v1.0.0). This skill organizes rules by priority and provides decision-tree guidance for active code review and refactoring.

When to Activate

  • Writing or reviewing React/Next.js code for performance
  • Diagnosing slow page loads, slow interactions, or high CPU on the client
  • Auditing bundle size or Lighthouse Core Web Vitals regressions
  • Removing waterfalls in Server Components / API routes
  • Reducing client-side re-renders
  • Optimizing long lists, animations, or hydration
  • Auditing optimization choices in PRs touching app/, pages/, components/, or data layers

Priority Index

Details

Repository
github.com/affaan-m/ecc
Categories
Frontend & UI Code, Code Review & Quality
First seen
Jul 14, 2026

Questions

What does the react-performance skill do?

The react-performance skill gives Claude Code guidance on React and Next.js performance, organizing over 70 rules across 8 priority categories such as waterfalls, bundle size, server-side work, client data fetching and re-renders. It is meant for writing, reviewing or refactoring React and Next.js code for performance.

How do I install the react-performance skill?

Run npx -y skills add affaan-m/ecc --skill react-performance -y in your project to install it. Once installed, the agent can apply these React and Next.js performance patterns when you write or review code.

Where does react-performance rank among Frontend & UI Code skills?

It is listed in the Frontend & UI Code category alongside vercel-react-best-practices, web-design-guidelines and design-taste-frontend. It stands out by focusing on the priority-ordered performance rules, adapted from Vercel Engineering's React Best Practices.

More from affaan-m/ecc

All 257

Similar to React Performance

More Frontend & UI Code