react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. Contains 45 rules across 8 categories, prioritized by impact. ALWAYS load when working with React/Next.js code: - Writing new React components or Next.js pages - Implementing data fetching (client or server-side) - Reviewing code for performance issues - Refactoring existing React/Next.js code - Optimizing bundle size or load times - Working with async operations and Promise handling - Implementing Suspense boundaries or streaming Keywords: React, Next.js, performance, optimization, bundle, async, Promise, waterfall, rerender, memo, useMemo, useCallback, Suspense, RSC, server components, client components, SWR, data fetching, cache Do NOT load for: - Non-React projects (Vue, Angular, Svelte, etc.) - Backend-only code without React integration - Pure CSS/styling work (use frontend-design-fundamentals) Works with other skills: - frontend-design-fundamentals: For UI/styling best practices - quality-code-check:
Installation and usage
React and Next.js performance optimization guidelines from Vercel Engineering. Contains 45 rules across 8 categories, prioritized by impact. ALWAYS load when working with React/Next.js code: - Writing new React components or Next.js pages - Implementing data fetching (client or server-side) - Reviewing code for performance issues - Refactoring existing React/Next.js code - Optimizing bundle size or load times - Working with async operations and Promise handling - Implementing Suspense boundaries or streaming Keywords: React, Next.js, performance, optimization, bundle, async, Promise, waterfall, rerender, memo, useMemo, useCallback, Suspense, RSC, server components, client components, SWR, data fetching, cache Do NOT load for: - Non-React projects (Vue, Angular, Svelte, etc.) - Backend-only code without React integration - Pure CSS/styling work (use frontend-design-fundamentals) Works with other skills: - frontend-design-fundamentals: For UI/styling best practices - quality-code-check:
Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:
skills use react-best-practices