Shadcn released @shadcn/lint, an open source linter built for Tailwind design systems that gives AI coding agents rules they can check their own work against, according to the project's GitHub repository.

Rather than only flagging broken TypeScript types, the tool explains what rule was violated, why it matters and which existing component, variant or theme value would fix it, the repository says. Rules include blocking raw color values, arbitrary Tailwind values, inline styles and unknown classes in favor of a project's own defined design system.

The project reports that across more than 150 task runs with different AI models, agents reached zero rule violations within one correction round in almost every case, and that fixes guided by the linter's messages cost 10% to 48% less than rule checking alone, according to the repository. It works with React, Vue and Svelte through ESLint or Oxlint, and does not require shadcn/ui itself.

The tool is released under the MIT license and had drawn more than 3,000 GitHub stars.

Linters have always told a human what is wrong. This one is written for a reader that cannot ask a colleague for context, the same shift showing up across developer tooling as more of the code getting written comes from an agent instead of a person.