Next.js Best Practices skill for Claude Code

Review App Router code with Vercel’s Claude Code skill for route conventions, server and client boundaries, metadata, data fetching, and async APIs.

How to add the Next.js Best Practices skill to Claude Code

  1. Install next-best-practices for Claude Code and open the Next.js project. Include the exact Next.js version and whether the route lives in the App Router.
  2. Vercel marks the skill as automatically loaded for relevant work. Ask Claude Code to review a specific route and use the matching framework documentation when a convention depends on version.
Claude Code · Install this skill
npx skills add https://github.com/vercel-labs/openreview --skill next-best-practices

Find what made a product page too dependent on the client

Give Claude Code a product detail route whose client wrapper currently owns the data load. Ask for a review of the route, metadata and add-to-cart behavior, with the smallest possible split between server-rendered content and interactive UI.

Check an initial rendered response for the product name, description and metadata. Then verify that variant selection and the add-to-cart action still work after hydration. The skill reviews source code, while the separate Next.js DevTools MCP reads data from a running development server.

Browse Skills