@shadcn/lint is an agent-first linter for Tailwind v4 design systems, available for both ESLint and Oxlint, with React, Svelte and Vue support. You declare what is allowed on each component, and when an agent breaks a rule the error tells it what to do instead, drawn from your own components, variants and theme. That is the gap TypeScript types leave: they say "no" but not "use size lg". It does not require shadcn/ui. The tradeoff: Tailwind v4 only, and you still have to write the rules, which is real upfront work for a large design system. MIT, about 3.5k stars, from the shadcn team.
Agents write most of your Tailwind UI and keep drifting off your spacing and variant rules.
You are still on Tailwind v3; it targets v4 projects only.
# Clone + explore: git clone https://github.com/shadcn-ui/lint cd lint # Then read the README below for setup steps.
Inferred from package · always double-check against the official README below.