React Best Practices

Vercel’s React and Next.js performance guidance for reviewing data fetching, bundles, rendering and component behavior.

35,490Parent repo stars
3,101Parent repo forks
131Parent repo watchers

Checked 51 minutes ago · 2026-12-05 23:04:36 GMT+0000

React Best Practices links to Vercel’s performance guidance for React and Next.js projects. The skill organizes recommendations around issues such as request waterfalls, bundle size, server work and rendering behavior. It provides a structure for an agent’s review rather than a promise of faster code.

Choose a measurable problem

Start with one route or component that has a concrete concern. Record what the user experiences and how you will measure it. A slow first load, an expensive interaction and an unnecessarily large bundle may need different investigations.

Ask for an explanation before a rewrite

Have the agent identify the relevant guidance, explain why it applies and propose a bounded change. Keep unrelated refactoring out of the first experiment so that you can understand the result. Check your actual framework version and project conventions before accepting a suggested pattern.

Verify behavior and performance

Repeat the same measurement after the change and run the project’s relevant checks. A smaller bundle is useful only when the application still behaves correctly. If the evidence does not improve, preserve the measurement and reconsider the diagnosis instead of stacking more speculative changes.

Voonze reviewed the source and its listed license. This profile does not claim an independent benchmark, a guaranteed speed improvement or universal compatibility with every coding agent. Installation and runtime choices remain specific to your environment.

Hardware and software requirements

Additional hardware: No dedicated GPU step or minimum local RAM figure is specified. Use the requirements of your agent, project build and test tools.

A React or Next.js codebase and an agent able to inspect project files are needed for the intended review. Running builds or benchmarks requires the project’s own JavaScript toolchain. The skill does not publish a numeric RAM, CPU, GPU/VRAM or storage minimum or an exact required model. Intermediate difficulty is an editorial estimate.

Models and running costs

Model: No exact required model or version is specified by the reviewed skill. Agent tool access and the workflow determine the needed capabilities. unknown

The source can be obtained from its public repository. Agent subscriptions, API usage and any external compute or services are separate costs; current charges are set by those providers.

Installation

The repository documents: npx skills add vercel-labs/agent-skills. Review the CLI and selected skill before running it, then choose the target agent supported by the installer.

Example workflow

Review this React route for avoidable request waterfalls and bundle cost. Explain each proposed change, implement the smallest justified improvement and repeat the same measurement. Expected result: a focused code review and verified changes.

Limits and tested environment

Source review only; no independent agent or framework-version benchmark. Recommendations depend on the project’s runtime and architecture. Intermediate difficulty is an editorial estimate.

Related skills

Frontend Design

Anthropic’s interface design skill for deliberate visual direction, typography and layouts in AI coding workflows.

Claude Code
Hardware
No dedicated GPU step is specified; a minimum RAM requirement is not published. Check your agent and web project separately.
Model
No exact required model or version is specified by the reviewed skill. Agent tool access and the workflow determine the needed capabilities.
Level
Intermediate
Repo stars: 204,749 Checked 51 minutes ago View skill