react

Diagnose and optimize React/Next.js performance in code reviews and audits.

4|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/rbaumier/skills --skill react-rbaumier
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react
Source: https://github.com/rbaumier/skills/tree/main/react
Command: npx skills add https://github.com/rbaumier/skills --skill react-rbaumier

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide helps engineers identify and reduce performance bottlenecks in React/Next.js apps, from render waterfalls to bundle size.

Core Features & Use Cases

  • Diagnostics: detects common React performance patterns, SSR/CSR pitfalls, and hydration issues.
  • Optimization: prescribes safe refactors (data fetching, memoization, suspense, caching, and code-splitting).
  • Health-Check Guidance: provides a structured health-check workflow for ongoing maintenance and audits.

Quick Start

Start by running a lightweight assessment of the app to surface critical waterfalls and then apply targeted improvements.

Frequently Asked Questions about react

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

FAQPage Schema
How do I diagnose render waterfalls and hydration issues in my Next.js app?

Next.js performance optimization involves identifying bottlenecks like render waterfalls and bundle size, then applying safe refactors for data fetching, caching, and Suspense. It provides a structured health-check workflow to incrementally improve server components and client-side optimizations without destabilizing the application.

What is the best way to reduce bundle size with React server components?

The best way to reduce bundle size with React server components is to apply code-splitting and enforce strict server boundaries. By shifting data fetching to the server and utilizing caching patterns, you minimize client-side JavaScript and optimize overall bundle delivery.

How do I implement parallel data fetching and Suspense boundaries safely?

To implement parallel data fetching and Suspense boundaries safely, apply incremental improvements using prescribed refactoring patterns. This approach ensures data loading does not block the main thread while maintaining UI stability during hydration and rendering phases.

Can I use this health-check workflow for ongoing React maintenance audits?

Yes, you can use this health-check workflow for ongoing React maintenance audits. It provides a structured diagnostic process to continuously detect performance patterns, SSR pitfalls, and hydration issues, ensuring your application remains optimized through regular code reviews.

When should I not use memoization and caching for React performance?

You should not use memoization and caching for React performance when it adds unnecessary overhead to simple components or when dealing with rapidly changing data where cache invalidation becomes a bottleneck. Focus on safe, incremental improvements rather than premature optimization.