Build and shipClaude Code and other agents supported by the skills CLI

Vercel Labs / vercel-react-best-practices

Why do agents keep writing outdated React?

Because most of the React ever written is old, and the average is what you get by default.

What to remember

  1. It counteracts the training data bias towards older patterns.
  2. It is guidance, not enforcement. Your linter still does the enforcing.
  3. Framework skills age. Check when the source was last updated before trusting it.
  4. It composes well with improve-codebase-architecture for larger cleanups.

01What it changes in practice

Ask for a component and you tend to get something that would have passed review a few years ago: patterns that still work, but are no longer how a current codebase is written. It is not a knowledge failure so much as an averaging failure.

Loading explicit current guidance moves the default. The value shows up most in the boring places, such as data fetching, component boundaries and where state is allowed to live.

02Where it disappoints

Public best practice can conflict with your codebase. If your team has decided something different on purpose, the skill will argue against it, and your codebase should win.

Ecosystem skills also date quickly. Check the repository's recent activity before treating its advice as current.

Install and first run

  1. Install it with the skills CLI from vercel-labs, published under MIT.
  2. Generate one component you already know how you would write, and compare.
  3. Add your own conventions on top, because a public best practice is not your house style.

Questions people actually ask

Who publishes it?
Vercel Labs, in their public agent skills repository, under the MIT license.
Does it work outside Next.js?
It targets React practice generally, but the closer you are to the Vercel stack the better the fit.
Does it replace lint rules?
No. It shapes what gets written. Lint rules are what stop the exceptions from landing.

Sources

  1. vercel-labs/agent-skills on GitHubrepository
  2. Agent skills directory listingdirectory

Machine readable versions of this page