Description
next-best-practices is an agent skill from Vercel that helps a coding assistant write and review Next.js code. It covers the framework's main areas: file conventions, React Server Component boundaries, the async API changes introduced in Next.js 15 and later, metadata, image and font optimization, error handling, route handlers and bundling. The point of the skill is that you do not have to keep every Next.js convention in your head or check the docs for each change; the assistant applies the current rules as it writes code. Listed uses include catching async client component errors before they reach the browser, migrating params and cookies to the Next.js 15 async API, setting up Open Graph image generation with next/og, configuring next/image for remote sources with responsive sizes, and debugging hydration errors caused by browser-only APIs or invalid HTML. It is for developers building Next.js apps who use an agent such as Claude Code or another coding assistant that supports skills. You install it with the skills command from the vercel-labs/next-skills repository, and the source is public on GitHub.…
Highlights
- Enforces current Next.js file and routing conventions
- Covers React Server Component boundaries
- Async params and cookies for Next.js 15 and later
- next/image and next/og configuration guidance
- Helps debug hydration errors
Ratings & Reviews
No ratings yet
Be the first to rate vercel-labs/next-best-practices.
People also visit

nextjs-code-review
Provides comprehensive code review capability for Next.js applications

nextjs-performance
Expert Next.js performance optimization skill covering Core Web Vitals

vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering

cc-skill-frontend-patterns
Frontend development patterns for React, Next.js, state management
vercel-labs/next-best-practices FAQ
What does this skill do?
It guides a coding assistant to write and review Next.js code using the framework's current conventions, including RSC boundaries, async APIs, metadata and images.
How do I install it?
Run npx skills add https://github.com/vercel-labs/next-skills --skill next-best-practices, or paste the repository link and ask your coding assistant to install it.
Which Next.js versions does it cover?
The page mentions the async API changes in Next.js 15 and later, so it targets current Next.js releases.
Who is it for?
Developers building Next.js apps who want their coding assistant to follow current framework rules as they write and review code.
Is it free?
The skill is in a public repository on GitHub and the page shows no price, so it is open source.
What are the best vercel-labs/next-best-practices alternatives?
Popular alternatives to vercel-labs/next-best-practices include next-best-practices, nextjs-developer and nextjs-code-review. See all vercel-labs/next-best-practices alternatives








