Official agent skill

Next Best Practices

by vercel-labs in vercel-labs/openreview

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

OfficialNo licenceAuto-check passedDevelopment

Install Next Best Practices

skills CLI
$ npx skills add vercel-labs/openreview --skill next-best-practices -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install vercel-labs/openreview next-best-practices --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/vercel-labs/openreview.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/next-best-practices .claude/skills/next-best-practices && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
next-best-practices
GitHub stars
1.7k
Used in
18 other repos
Token cost
~1k tokens
SKILL.md length
375 words
Files
20
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

  • Tasks that involve Error handling
  • SKILL.md covers File Conventions, RSC Boundaries, Async Patterns and Runtime Selection, plus 15 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Next Best Practices is an agent skill from vercel-labs/openreview, published by the product's own GitHub organization. Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files (for example `async-patterns.md`, `bundling.md` and `data-patterns.md`).

It sits in Development, covering Error handling. It works with Next.js, Vercel and React. The repository describes itself as: An open-source, self-hosted AI code review bot powered by Vercel.

When your agent uses it

  • Tasks that involve Error handling

Example prompts

  • “/next-best-practices”

Requirements

  • Node.js
  • Docker

What it can do on your machine

Read from SKILL.md and the folder at commit 672deb2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Next Best Practices loads about 1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 375 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 375 words (~1,001 tokens).

“Apply these rules when writing or reviewing Next.js code.”

— opening of SKILL.md by vercel-labs
name
next-best-practices
user-invocable
false

Read the full SKILL.md on GitHub

Files

SKILL.md and 19 other files in .agents/skills/next-best-practices of vercel-labs/openreview.

  • SKILL.md
  • async-patterns.md
  • bundling.md
  • data-patterns.md
  • debug-tricks.md
  • directives.md
  • error-handling.md
  • file-conventions.md
  • font.md
  • functions.md
  • hydration-error.md
  • image.md
  • metadata.md
  • parallel-routes.md
  • route-handlers.md
  • rsc-boundaries.md
  • runtime-selection.md
  • scripts.md
  • self-hosting.md
  • suspense-boundaries.md

Open the folder on GitHubat commit 672deb2

Used in 18 other repositories

We found 18 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 18 other GitHub owners. This page covers the copy in vercel-labs/openreview, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Next Best Practices next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Next Best Practices compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Next Best Practices this skillvercel-labs/openreview1.7k18 repos~1kAutomated safety check: PassNone
React Refactor Tournamentragnar-pwninskjold/tech-snacks137—~1.3kAutomated safety check: PassMIT
React Performanceaffaan-m/ECC276k1 repos~4.5kAutomated safety check: PassMIT
Vercel React Best Practicessanity-io/sanity6.4k129 repos~1.6kAutomated safety check: PassMIT
React Best Practicesryokun6/ryos1.3k—~2kAutomated safety check: PassMIT
Vercel React Best Practicesgambitph/Stackable351—~2kAutomated safety check: PassMIT

Similar skills

  • React Refactor Tournament

    ragnar-pwninskjold/tech-snacks

    Review React/Next.js code against the real vercel-react-best-practices skill, backlog the performance findings keyed to actual rule ids + impact tiers, rank the most over-subscribed tiers, then fix…

    137 GitHub stars~1.3k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • React Performance

    affaan-m/ECC

    React and Next.js performance optimization patterns adapted from Vercel Engineering's React Best Practices (https://github.com/vercel-labs/agent-skills).

    276k GitHub starsUsed in 1 repo~4.5k tokens
    DevelopmentAuto-check passed
  • Official

    React and Next.js performance optimization guidelines from Vercel Engineering.

    6.4k GitHub starsUsed in 129 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • React performance optimization guidelines from Vercel Engineering (vercel-labs/agent-skills).

    1.3k GitHub stars~2k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Vercel React Best Practices

    gambitph/Stackable

    React performance optimization guidelines from Vercel Engineering.

    351 GitHub stars~2k tokensUpdated 3 days ago
    Frontend & DesignAuto-check passed
  • Nextjs React Expert

    Dokhacgiakhoa/Agent-Skills-4-Vibe-Coding-CLI

    React and Next.js performance optimization from Vercel Engineering.

    508 GitHub stars~1.7k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed

More from vercel-labs/openreview

  • Web Interface Guidelines Reviewer

    vercel-labs/openreview

    Official

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my…

    1.7k GitHub starsUsed in 97 repos~308 tokens
    Auto-check passed
  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    Auto-check passed
  • Next Cache Components

    vercel-labs/openreview

    Official

    Next.js 16 Cache Components - PPR, use cache directive, cacheLife, cacheTag, updateTag

    1.7k GitHub starsUsed in 9 repos~2.3k tokens
    Auto-check passed
  • Next Upgrade

    vercel-labs/openreview

    Official

    Upgrade Next.js to the latest version following official migration guides and codemods

    1.7k GitHub starsUsed in 6 repos~502 tokens
    Auto-check passed

Categories

Questions about Next Best Practices

What does Next Best Practices do?

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling. Next Best Practices is an agent skill from vercel-labs/openreview, published by the product's own GitHub organization.

When should I use Next Best Practices?

Next Best Practices fits situations like: tasks that involve Error handling.

How do I install Next Best Practices in Claude Code?

Run `npx skills add vercel-labs/openreview --skill next-best-practices -a claude-code`. Or copy the skill folder (.agents/skills/next-best-practices in vercel-labs/openreview) into .claude/skills/next-best-practices in your project. Claude Code loads it when a task matches its description.

How do I install Next Best Practices in Codex?

Run `npx skills add vercel-labs/openreview --skill next-best-practices -a codex`. Or copy the skill folder (.agents/skills/next-best-practices in vercel-labs/openreview) into .agents/skills/next-best-practices in your project. Codex loads it when a task matches its description.

Can I use Next Best Practices in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add vercel-labs/openreview --skill next-best-practices -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/next-best-practices, .gemini/skills/next-best-practices, .github/skills/next-best-practices and .opencode/skills/next-best-practices in your project.

What does Next Best Practices need to run?

SKILL.md names no scripts, command-line tools or credentials: Next Best Practices is instructions for the agent only. Our summary lists: Node.js; Docker.

Does Next Best Practices access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Next Best Practices safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Next Best Practices use?

No licence was found for Next Best Practices or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Next Best Practices use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Next Best Practices?

Skills that share tags, products or a category with Next Best Practices: React Refactor Tournament (ragnar-pwninskjold/tech-snacks, 137 stars), React Performance (affaan-m/ECC, 276k stars), Vercel React Best Practices (sanity-io/sanity, 6.4k stars) and React Best Practices (ryokun6/ryos, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Next Best Practices?

vercel-labs (a GitHub organization, an official publisher) maintains it in vercel-labs/openreview, which has 1,695 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on March 6, 2026.

Source: vercel-labs/openreview on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.