react-best-practices

Analyze React and Next.js code against 57 performance rules across 8 categories.

2|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/Kaakati/sdh-claude-skills --skill react-best-practices-kaakati
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/Kaakati/sdh-claude-skills/tree/main/.claude/skills/react-best-practices
Command: npx skills add https://github.com/Kaakati/sdh-claude-skills --skill react-best-practices-kaakati

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses performance bottlenecks in React and Next.js applications, ensuring faster load times, smoother user interactions, and reduced bundle sizes.

Core Features & Use Cases

  • Performance Auditing: Analyzes code against 57 rules across 8 categories to identify performance issues.
  • Optimization Guidance: Provides actionable advice for eliminating data fetching waterfalls, optimizing bundle size, improving server-side rendering, and enhancing client-side re-render efficiency.
  • Use Case: Review a React component that is experiencing slow initial load times and janky animations. This Skill will pinpoint the exact issues, such as inefficient data fetching or unnecessary re-renders, and provide code examples for optimization.

Quick Start

Review the current React component for performance bottlenecks and suggest optimizations.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How do I optimize React components for slow initial load times and janky animations?

To optimize React components, you can audit your code against 57 rules across 8 categories to identify performance issues like inefficient data fetching waterfalls and unnecessary re-renders, then apply suggested code examples to improve load times and rendering efficiency.

What's the best way to eliminate data fetching waterfalls in Next.js applications?

The best way to eliminate data fetching waterfalls in Next.js is to analyze your code against established performance guidelines that pinpoint inefficient fetching patterns, providing actionable advice to restructure requests for faster server-side rendering and improved application speed.

How do I reduce JavaScript bundle size in React and Next.js projects?

To reduce JavaScript bundle size, apply performance optimization guidelines that analyze your codebase and provide actionable advice for bundle size reduction, ensuring faster load times and improved responsiveness across your React and Next.js applications.

Can I use these performance guidelines to audit an existing React codebase?

Yes, you can use these guidelines to audit an existing React codebase. The skill provides comprehensive performance auditing by analyzing code against 57 rules across 8 prioritized categories to identify and guide the refactoring of performance bottlenecks.

When do I need to optimize server-side rendering in Next.js for better performance?

You need to optimize server-side rendering in Next.js when experiencing slow initial load times, as performance auditing can pinpoint specific issues in data fetching and JavaScript execution, providing actionable advice to enhance rendering efficiency and overall application speed.

Does optimizing client-side re-renders require specific tools or dependencies?

Optimizing client-side re-renders does not require specific external dependencies, as the skill enforces 57 rules across 8 categories to guide automated refactoring and code generation directly within your React and Next.js projects to improve rendering efficiency.