When to choose it
Prioritizing concrete React or Next.js performance changes from project source.
Choose it if: you want prioritized suggestions tied to source files.
Look elsewhere if: you need measured production performance diagnostics from this installation alone.
What the source describes
- Rules cover asynchronous data fetching, server work and JavaScript shipped to the browser.
- Before/after reference patterns support component and route review.
Requirements
- Claude Code with Skill support.
- Node.js 22.20.0+ for the reviewed, published skills CLI 1.7.1 and npm.
- React or Next.js source files and the project’s existing validation tools.
A standalone Skill maintained by Vercel Engineering. Using it does not require Vercel hosting.
Install the focused Skill
- Choose the intended project. Run the focused install below from the intended project. The currently published skills CLI 1.7.1 requires Node.js 22.20.0+ and npm. Review its project/global scope and symlink or copy choice. The unversioned npx skills command resolves the npm release available when you run it; a later release may differ.
- Check discovery. Check the same project where you installed the Skill. In the reviewed 1.7.1 implementation, list defaults to project scope; use npx skills list --global --agent claude-code only for a global installation. Preserve the Skill’s rules and supporting files when copying it.Shell • setup check
npx skills list --agent claude-code - Use the metadata name. The installer ID is vercel-react-best-practices. Its repository directory is react-best-practices; these names are intentionally different.
- Record the application’s versions and boundaries. Supply installed React and Next.js versions from the project’s package and lock files, the router in use, and whether each affected file is a Server or Client Component. This Skill neither installs a framework nor guarantees that every reference example applies to your version.
- Start with one route and a measurement. Describe the slow interaction, relevant data calls and the existing bundle or timing evidence. Ask for a review first, then validate an accepted change with the project’s own checks and the same before/after measurement. Contributor pnpm build instructions in the rule repository are for maintaining its compiled guide; they are not required to activate an installed Skill.
Run this command from the intended project folder after reviewing the source. The skills CLI targets Claude Code and defaults to project scope. Review its scope and symlink or copy prompt; use --global only if you want a user-wide installation.
npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices --agent claude-codeHow to use it
Describe the React/Next.js task and relevant source files. Natural task matching is documented; no invented package command is needed.
For a dashboard route, ask the agent to read rules/async-parallel.md before combining requests, rules/async-suspense-boundaries.md for a loading boundary, rules/bundle-dynamic-imports.md for a heavy optional client component, and rules/server-cache-react.md for repeated server work. These are files within this Skill, not separate packages to install.
An original example for a bounded task. This request example is written by ClaudeStack; it is not a transcript of a tested session.
Review the supplied dashboard route and optional chart component without editing files. Use the React/Next.js versions and component boundaries in our package files. Map request dependencies before proposing Promise.all, check whether the chart is needed on initial render, and distinguish per-request React cache from cross-request caching. Cite the relevant rule and file location for each recommendation. Propose one change and a repeatable before/after check; preserve authentication, SSR content and analytics consent.The external skills CLI collects installation telemetry and makes public-repository security-audit requests. Its README documents DISABLE_TELEMETRY=1 or DO_NOT_TRACK=1 to disable both. ClaudeStack did not run this installer.
MIT is declared in the reviewed README and SKILL.md. No root LICENSE file was found and GitHub’s recognized-license field is null. The link below points to the declaration, not a nonexistent license file.
README and Skill rule counts differ; this guide intentionally makes no rule-count claim.
The installer’s current Git main is newer than the npm-published 1.7.1 gitHead. Dependency and listing claims here use the published release source, not unreleased main. Existing extension source pins and previous installer sources remain linked.
What to expect
The reviewed source describes these observations. ClaudeStack has not loaded or run this extension.
- A prioritized explanation tied to actual source locations, request dependencies and specific rule files, with assumptions stated.
- A distinction between genuinely independent requests, data needed to render the page shell, optional client JavaScript and repeated Server Component work.
- A validation plan using your installed framework and existing measurements. The source’s impact labels and example speed-up figures are guidance, not results measured on your route.
Self-check: Verify that proposed parallel calls do not depend on one another, that errors and authorization still behave correctly, and that lazy loading preserves required content. React cache is for Server Components and its cache is invalidated per server request; it is not a persistent cross-request store. Check the same route and build before and after an accepted edit.
Troubleshooting
The installer cannot find react-best-practices
Use the SKILL.md name vercel-react-best-practices instead of its directory name.
A recommendation conflicts with the application
Check installed React/Next.js versions, project constraints and actual measurements. Treat the rule as guidance, not proof.
Promise.all changes data dependencies or error behavior
Identify which call needs an earlier result and which requests are truly independent before starting them together. Inspect failure handling and authorization checks as well as latency. A sequential await is not automatically a defect.
A dynamic-import example fails in a Server Component
Current Next.js documentation restricts ssr:false to Client Components. Move that option only to an appropriate Client Component boundary and verify that content requiring server rendering remains present; do not disable SSR across the route to silence the error.
React cache still repeats work or appears to lose results
Use one shared memoized function in the supported Server Component context and inspect argument identity. Creating a new cached function or new object arguments can prevent sharing. Per-request invalidation is expected; a persistent cache requires a separate design with its own freshness and isolation rules.
The review promises a fixed speed-up
Ask for the actual trace, bundle output or measured route result that supports the claim. Rule priorities and upstream example figures do not establish your application’s improvement. Keep a recommendation provisional until the accepted change is measured.
Disable or remove it
- For a project installation, run npx skills remove vercel-react-best-practices --agent claude-code from the same project. Add --global only when removing a global installation.
- Review any edits and generated artifacts separately; removing the Skill does not revert its work.
Limitations & considerations
- This is guidance, not a profiler; no fixed performance improvement is promised.
- Check framework versions and application constraints before applying a reference pattern.
Source & review record
Our description is based on public documentation and manifests available on 2026-10-08. Installation formats were checked against Claude Code and the relevant installer documentation. No extension code was executed: this is a source review, not a runtime compatibility test or security audit.
- Original source and documentation
- Reviewed definition source
- License of the reviewed source
- Official plugin installation documentation
Repository last pushed at the time of review: 2026-08-28T13:36:31Z. This date does not prove that the extension works with a particular Claude Code release.
Usage guide sources
Upstream revision checked for this guide: 063bee94c3f4df8453406c830b0a7df0f2860278. Command names and behavior in this guide are documentation and registration-source findings, not runtime verification.
- Collection README ↗
- Skill definition and license declaration ↗
- Claude Code: Skill discovery and invocation ↗
- Previous review: Skills CLI: focused installation, scope, removal and telemetry ↗
- Previous review: Reviewed skills CLI 1.7.0 Node requirement ↗
- Published skills CLI 1.7.1: focused installation and removal ↗
- Published skills CLI 1.7.1: Node.js requirement ↗
- Published skills CLI 1.7.1: actual project/global listing behavior ↗
- npm-published skills 1.7.1 metadata ↗
- Independent requests and dependency checks ↗
- Suspense boundaries and layout trade-offs ↗
- Optional client-component loading ↗
- Per-request server deduplication and argument identity ↗
- React: cache scope, invalidation and caveats ↗
- Next.js: lazy loading and Server/Client Component restrictions ↗