Skip to content

// React + Next.js performance — RSC patterns, partial pre-rendering, edge config, ISR, Core Web Vitals.

Vercel React Best PracticesVerified Creator

git log --oneline --stat
HEAD
Stars
9.2k
Forks
606
Updated
Jun 2, 2026
repo --stat
  • stars

    9.2k

  • forks

    606

  • last update

    Jun 2, 2026

  • license

    MITv2.0.0

quickstart.sh
3 steps
  1. Install

    // Drops SKILL.md into ~/.claude/skills/

    $ claude skills add vercel-react-best-practices
  2. Invoke

    // Run from any project directory

    $ claude --skill vercel-react-best-practices "give my landing page a hero treatment"
  3. Iterate

    // Re-run with edits — Claude keeps the skill loaded

    $ claude --skill vercel-react-best-practices "now refactor it"
vercel-react-best-practices/
references
  • references/
  • SKILL.mdopen
  • README.mdopen
SKILL.md
readonly
name:
Vercel React Best Practices
slug:
vercel-react-best-practices
version:
v2.0.0
license:
MIT
author:
@vercel-labs
categories:
tags:
#vercel#react#nextjs#performance#core-web-vitals
description:

React + Next.js performance — RSC patterns, partial pre-rendering, edge config, ISR, Core Web Vitals.

features.md
6 capabilities

// What you can do with it

  • Server vs Client boundaries — keep "use client" as low in the tree as possible; pass Server Components as children into client wrappers instead of importing them.
  • Partial Prerendering — export const experimental_ppr = true so a static shell streams instantly while dynamic holes resolve inside .
  • Caching & ISR — export const revalidate = N, fetch(url, { next: { revalidate, tags } }), and on-demand revalidateTag() / revalidatePath() in Server Actions or route handlers.
  • Runtime selection — export const runtime = "edge" for low-latency, lightweight routes; Node for heavy deps or native modules.
  • Assets — next/image with explicit sizes/priority, and next/font to self-host fonts and eliminate layout shift.
  • CWV targets — LCP < 2.5s, INP < 200ms, CLS < 0.1, validated with @vercel/speed-insights.

README.md

vercel-react-best-practices/README.md
6 sections
Loading README…

$ cat reviews/

Reviews

// No reviews yet. Be the first.
Loading review form…