Skip to content
Back to skills

Vercel React Best Practices

ASecurity

React and Next.js performance optimization guidelines from Vercel Engineering

  • 7 stars
  • 0 votes
  • 0 copies
  • 8 views
  • Added October 9, 2026
developmentjavascriptgojavareactnextjsrefactoringperformance

Works with

  • cli

Security analysis

A100/100

Pro scans all 18 files and shows the line behind each finding

Scanned November 10, 2026

npx -y skills add HigorAlves/orc --skill vercel-react-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vercel React Best Practices?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vercel React Best Practices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/higoralves-vercel-react-best-practices/badge)](https://www.skillsdirectory.com/skills/higoralves-vercel-react-best-practices)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vercel-react-best-practices
description: React and Next.js performance optimization guidelines from Vercel Engineering
when_to_use: Use when writing, reviewing, or refactoring React/Next.js components, data fetching, or bundles for performance.
license: MIT
metadata:
  author: vercel
  version: "1.0.0"
---

# Vercel React Best Practices

Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 70 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

## When to Apply

Reference these guidelines when:
- Writing new React components or Next.js pages
- Implementing data fetching (client or server-side)
- Reviewing code for performance issues
- Refactoring existing React/Next.js code
- Optimizing bundle size or load times

## Rule Categories by Priority

| Priority | Category | Impact | Prefix |
|----------|----------|--------|--------|
| 1 | Eliminating Waterfalls | CRITICAL | `async-` |
| 2 | Bundle Size Optimization | CRITICAL | `bundle-` |
| 3 | Server-Side Performance | HIGH | `server-` |
| 4 | Client-Side Data Fetching | MEDIUM-HIGH | `client-` |
| 5 | Re-render Optimization | MEDIUM | `rerender-` |
| 6 | Rendering Performance | MEDIUM | `rendering-` |
| 7 | JavaScript Performance | LOW-MEDIUM | `js-` |
| 8 | Advanced Patterns | LOW | `advanced-` |

## Quick Reference

Every rule id with a one-line summary, by category: [RULE-INDEX.md](references/RULE-INDEX.md). Read it to pick the rules that apply to the code at hand; each id names its file under `rules/`.

## How to Use

Read individual rule files for detailed explanations and code examples:

```
rules/async-parallel.md
rules/bundle-barrel-imports.md
```

Each rule file contains:
- Brief explanation of why it matters
- Incorrect code example with explanation
- Correct code example with explanation
- Additional context and references

## Full Compiled Document

For the complete guide with all rules expanded: `AGENTS.md`

Files in this skill

  • README.md3.3 KB
  • SKILL.md6.9 KB
  • rules/_sections.md1.5 KB
  • rules/_template.md631 B
  • rules/advanced-effect-event-deps.md1.8 KB
  • rules/advanced-event-handler-refs.md1.4 KB
  • rules/advanced-init-once.md958 B
  • rules/advanced-use-latest.md1 KB
  • rules/async-api-routes.md1.1 KB
  • rules/async-cheap-condition-before-await.md1.2 KB
  • rules/async-defer-await.md2.2 KB
  • rules/async-dependencies.md1.3 KB
  • rules/async-parallel.md654 B
  • rules/async-suspense-boundaries.md2.5 KB
  • rules/bundle-analyzable-paths.md2.3 KB
  • rules/bundle-barrel-imports.md2.7 KB
  • rules/bundle-conditional.md949 B
  • rules/bundle-defer-third-party.md920 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.