react-best-practices

Audit React and Next.js applications against 57 performance best practices.

1|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/danilomartinelli/cursor-kit --skill react-best-practices-danilomartinelli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/danilomartinelli/cursor-kit/tree/main/skills/nextjs-react-expert
Command: npx skills add https://github.com/danilomartinelli/cursor-kit --skill react-best-practices-danilomartinelli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses common performance bottlenecks in React and Next.js applications, ensuring faster load times, smoother user experiences, and more efficient development.

Core Features & Use Cases

  • Performance Auditing: Identifies critical issues like waterfalls, large bundle sizes, and unnecessary re-renders.
  • Optimization Strategies: Provides actionable rules and patterns for eliminating waterfalls, reducing bundle size, optimizing server-side rendering, and improving client-side performance.
  • Use Case: A developer is experiencing slow page loads in their Next.js app. They can use this Skill to audit their codebase, identify sequential data fetching (waterfalls), and receive guidance on using Promise.all or Suspense for parallel fetching.

Quick Start

Run a performance audit on the current project to identify and fix bottlenecks.

Frequently Asked Questions about react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix slow page loads in my Next.js app?

Fix slow Next.js page loads by auditing your codebase to identify sequential data fetching waterfalls and large bundle sizes. Replace sequential fetches with parallel data loading using Promise.all or Suspense to significantly improve performance.

What are the best practices for React performance optimization?

React performance optimization best practices include eliminating data waterfalls, reducing bundle size, optimizing server-side rendering, and improving JavaScript execution efficiency using a curated checklist of 57 rules.

How do I run a performance audit on a React codebase?

Run a React performance audit using automated checking scripts to identify bottlenecks like unnecessary re-renders and sequential data fetching. This process highlights critical issues and provides a prioritized checklist for code reviews.

Does this optimization approach work with both React and Next.js?

Yes, this optimization approach works with both React and Next.js, providing specific rules for optimizing server-side and client-side rendering, eliminating waterfalls, and reducing bundle size across both frameworks.

Why does my web development code have data fetching waterfalls?

Data fetching waterfalls occur in web development when requests are made sequentially rather than in parallel. Identify these bottlenecks during a code review and resolve them using Promise.all or Suspense for parallel fetching.