vercel-react-best-practices

Identify React/Next.js performance best practices for codebases.

2|1|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/junDevCodes/Claude-Harness --skill vercel-react-best-practices-jundevcodes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/junDevCodes/Claude-Harness/tree/main/.claude/skills/vercel-react-best-practices
Command: npx skills add https://github.com/junDevCodes/Claude-Harness --skill vercel-react-best-practices-jundevcodes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This collection of React/Next.js performance guidelines helps teams identify and apply best practices to optimize rendering speed, shrink bundle sizes, and improve server/client efficiency.

Core Features & Use Cases

  • Guidelines cover eliminating waterfalls, bundle optimization, server-side performance, client data fetching, rendering improvements, and JavaScript performance.
  • Use cases include writing new components, reviewing code, or refactoring apps to hit performance targets.
  • Real-world scenario: implement dynamic imports, Suspense boundaries, and per-request caching to accelerate initial paint and reduce waterfalls.

Quick Start

Review a React/Next.js project and apply guidelines to produce actionable optimization tasks.

Frequently Asked Questions about vercel-react-best-practices

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

FAQPage Schema
How do I identify React and Next.js performance best practices during a code review?

To identify React and Next.js performance best practices during a code review, evaluate components against guidelines covering waterfall elimination, bundle optimization, and per-request caching. This produces actionable optimization tasks for refactoring.

What is the best way to eliminate render waterfalls and optimize bundle size in Next.js?

The best way to eliminate render waterfalls and optimize bundle size in Next.js is by implementing dynamic imports, Suspense boundaries, and code-splitting. These techniques shrink bundles and accelerate initial paint by delaying non-critical JavaScript.

How do I implement safe server actions and per-request caching in a React codebase?

To implement safe server actions and per-request caching in a React codebase, apply categorized guidelines for server-side performance and client data fetching. This ensures data retrieval is isolated per request while maintaining secure server mutations.

Does this approach to React performance optimization work for both writing new components and refactoring existing pages?

Yes, this approach to React performance optimization works for both writing new components and refactoring existing pages. The guidelines are designed to be applied proactively during development and retroactively to hit specific performance targets.

What are the limitations of relying on dynamic imports and Suspense boundaries for rendering improvements?

Relying on dynamic imports and Suspense boundaries for rendering improvements requires careful categorization to avoid blocking interactions. While they accelerate initial paint, improper boundary placement can still cause client-side data fetching waterfalls if not reviewed.