Engineering Source verified
react-best-practices

React Best Practices agent skill

Apply prioritized React and Next.js performance guidance from Vercel Engineering while writing or reviewing code.

Profile reviewed by the Vibe Coding Editorial Team · Updated 2026-09-04

Installation

Review the source, then run the command

Agent Skills CLI
npx skills add vercel-labs/agent-skills --skill react-best-practices

Requires Node.js and a React or Next.js codebase.

Best for

  • New React component work
  • Next.js data-fetching reviews
  • Performance-focused refactors

What it adds

  • Prioritizes high-impact problems such as request waterfalls and excessive client work.
  • Provides focused rules for rendering, bundling, data access, and component behavior.
  • Helps an agent explain why a performance change matters before editing code.
Typical workflow
  1. 01Identify the rendering path and the highest-impact performance risks.
  2. 02Load only the rules relevant to the current component or route.
  3. 03Make scoped changes and verify behavior, types, and production output.
Review before use

Skills are instructions with consequences

  • Measure before and after when a performance claim affects architecture.
  • Do not trade correctness or accessibility for a micro-optimization.
  • Confirm recommendations match the React and Next.js versions in the project.

Try asking

Review this Next.js route with react-best-practices and fix only the high-impact findings.

Primary source

Read the original before installing

This page is an independent editorial profile, not a mirror of the skill. The publisher’s repository remains the source of truth for files, license terms, changes, and installation support.

Vercel Agent Skills

Vercel Labs · MIT · reviewed 2026-09-04

Open the exact skill directory on GitHub.

React Best Practices FAQ

Questions before installation

Check fit, compatibility, prerequisites, permissions, and source ownership before adding this skill to a coding agent.

What does the React Best Practices agent skill do?

Apply prioritized React and Next.js performance guidance from Vercel Engineering while writing or reviewing code. Its main capabilities include prioritizes high-impact problems such as request waterfalls and excessive client work; provides focused rules for rendering, bundling, data access, and component behavior; helps an agent explain why a performance change matters before editing code.

When should I use react-best-practices?

Use it for new react component work, next.js data-fetching reviews, performance-focused refactors. A skill is most useful when this is a recurring workflow and its instructions improve results compared with a normal one-off prompt.

Which coding agents are compatible with react-best-practices?

The current profile lists Codex, Claude Code, Cursor. Skill support changes quickly, so confirm the latest installation directory, discovery behavior, and tool permissions in your agent’s documentation before installing.

What do I need before installing this skill?

You need Node.js and a React or Next.js codebase. The listed command uses Agent Skills CLI; inspect the exact source directory and its bundled files before running it.

Can this skill run commands or change files?

A skill supplies instructions and resources to an agent. Whether it can run commands, edit files, browse, or call external services depends on the tools and permissions available to that agent. Review requested actions at runtime and keep sensitive operations approval-gated.

Is this skill maintained by Vibe Coding?

No. Vercel Labs publishes the original skill. Vibe Coding provides an independent profile and source link, reviewed on 2026-09-04, but the upstream repository remains the source of truth for updates, support, and license terms.

Install with context

Inspect the source, then test the skill on a real task.

Use a disposable branch or workspace, compare the result with and without the skill, and keep it only when the workflow becomes more reliable.

npx skills add vercel-labs/agent-skills --skill react-best-practices

Related skills