vercel-react-best-practices

Enforce React and Next.js performance patterns for code splitting, lazy loading, and rendering.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/scamai/scamai-landing --skill vercel-react-best-practices-scamai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/scamai/scamai-landing/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/scamai/scamai-landing --skill vercel-react-best-practices-scamai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React/Next.js performance often degrades due to missed optimization opportunities, large bundles, and suboptimal rendering and data-fetching patterns.

Core Features & Use Cases

  • Enforces a curated set of performance patterns across rendering, data fetching, and bundling.
  • Guides safe server actions, Suspense usage, code-splitting, and serialization to improve reliability and efficiency.
  • Use case: developers review and refactor code to reduce waterfalls, optimize bundle sizes, and accelerate initial paints.

Quick Start

Start by reviewing your project and applying the documented patterns to improve render times and bundle size.

Frequently Asked Questions about vercel-react-best-practices

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

FAQPage Schema
What are the best practices for React and Next.js performance optimization?

React and Next.js performance optimization involves applying curated patterns for code splitting, lazy loading, and server actions to improve runtime efficiency. These rules guide safe data fetching and rendering behavior to reduce waterfalls and accelerate initial paint.

How do I reduce bundle size and waterfalls in Next.js applications?

Reduce Next.js bundle size and waterfalls by reviewing your project and applying documented patterns for code splitting and Suspense usage. This refactoring enforces concrete rules for data fetching and bundling to optimize initial loads.

When should I use Suspense and server actions in Next.js?

Use Suspense and server actions in Next.js when you need to improve rendering behavior and runtime efficiency. Applying these patterns ensures safe serialization and helps developers reduce data-fetching waterfalls across components and pages.

Does this React optimization approach work for existing projects across teams?

This React optimization approach works for existing projects across teams by enforcing concrete refactoring rules for rendering, data fetching, and bundling. It guides developers to review and refactor code to ensure compliance with performance patterns.

What are the limitations of code splitting and lazy loading in React?

Limitations of code splitting and lazy loading in React involve ensuring safe serialization and proper Suspense usage to avoid degrading reliability. Developers must apply these patterns carefully to prevent suboptimal rendering and maintain efficiency.