← All skills

SBQ AGENTS HUB / SKILL LIBRARY

React best practices

Optimize React and Next.js apps by eliminating async waterfalls, trimming bundles, and reducing re-renders.

Applies prioritized React and Next.js performance rules from Vercel Engineering covering async parallelization, dynamic imports, server caching, and render optimization.

Category: Development

Agents: Claude CodeCodexGemini CLIOpenCodeKilo CodeAntigravity

Helps SBQ workflows: Feature development, Refactor, Code review

Licence: MIT · Source

React best practices is a third-party skill published in the vercel-labs/agent-skills repository on GitHub. SBQ lists it and does not own it; the publisher’s licence terms apply.

Installation

Install

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

Skill purpose

Examine React data flow and loading costs before making performance changes.

Practical workflow example

Check whether account and admin code loads on the public homepage. Split unrelated routes and compare the resulting build output.

Prerequisites and compatibility

A React codebase and a measured performance or bundle concern.

Agent setup targets are listed above. Provider accounts, model access and permissions remain separate; a catalogue listing does not certify every model or plugin version.

Configuration and use in SBQ

Review the original source, install for the selected agent and finish any upstream configuration. Connect that profile in SBQ, assign it to a relevant workflow stage and specify the task, scope and expected evidence. Begin with a small task in an isolated branch or worktree and inspect the changed files and verification output.

Limitations

Not every React recommendation applies to every framework or rendering architecture.

Skills guide behavior; they do not grant model access, bypass permissions or guarantee correct code. Review tool access and never include credentials in task prompts.

Source, licence and attribution

Publisher: vercel-labs. Original source URL. Catalogue licence: MIT. The matching licence or declaration was checked on 2026-12-03.

These examples are original SBQ editorial guidance. Upstream skill bodies, scripts and assets are not republished here. Retain upstream licence, copyright and NOTICE files when installing or redistributing the original material.

Security and privacy · Workflow example

  • Requesting code review — Prepare and request a structured code review before integrating completed work.
  • Using Git worktrees — Isolate feature, bugfix, and refactor work in dedicated Git worktrees with clean baseline checks.
  • Code simplification — Simplify complex code and reduce technical debt while preserving exact runtime behavior.
  • Code review and quality — Evaluate pull requests across correctness, readability, architecture, security, and performance.

Learn about supported coding agents and agent orchestration in SBQ Agents Hub.