vercel-react-best-practices

Apply categorized optimization rules to React and Next.js codebases.

2|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/wildanjr19/semar-kos-finder --skill vercel-react-best-practices-wildanjr19
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/wildanjr19/semar-kos-finder/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/wildanjr19/semar-kos-finder --skill vercel-react-best-practices-wildanjr19

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects often struggle with performance regressions due to unoptimized rendering, data fetching, and bundling. This Skill provides a structured, category-based guide to identify and fix bottlenecks across the codebase.

Core Features & Use Cases

  • A categorized catalog of 70 optimization rules across 8 priority sections to guide automated refactoring and code generation.
  • Practical guidance for React components, Next.js pages, API routes, server actions, and bundle optimization.
  • Useful during writing, reviewing, or refactoring code to consistently apply high-impact performance patterns.

Quick Start

Review these guidelines and apply them to your React/Next.js codebase to begin optimizing performance immediately.

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 optimize React and Next.js performance during codebase refactoring?

To optimize React and Next.js performance, apply a structured catalog of 70 optimization rules across components, pages, and data-fetching to prevent waterfalls and reduce bundle size. This guides automated refactoring workflows to systematically fix rendering and bundling bottlenecks.

What are the best practices to prevent data fetching waterfalls in Next.js?

Preventing data fetching waterfalls in Next.js involves applying targeted optimization rules to pages and server actions. By enforcing structured performance patterns during code generation, you streamline data retrieval sequences and eliminate sequential blocking fetches across the application.

How can I reduce bundle size in a React application?

Reduce React bundle size by applying categorized optimization rules focused on bundling scenarios and component structures. Using a rule-based validation system during code review and generation identifies inefficient imports and rendering patterns that inflate the final build output.

Does this Next.js performance optimization approach work with server actions?

Yes, the Next.js performance optimization approach explicitly works with server actions, alongside API routes and pages. It provides practical guidance and structured rules to ensure server actions and data-fetching workflows avoid performance regressions and rendering bottlenecks.

When should I use a structured rule system for React performance?

Use a structured rule system for React performance when writing, reviewing, or refactoring code to consistently apply high-impact patterns. It is necessary when a project struggles with performance regressions from unoptimized rendering, data fetching, and bundling across the codebase.