How to add the Next.js Best Practices skill to Claude Code
- 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.
- 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.
npx skills add https://github.com/vercel-labs/openreview --skill next-best-practicesFind 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.