shadcn launches agent-first Tailwind linter, cutting agent fix costs by 10-48%
shadcn · x · 2026-09-15
shadcn released shadcn/lint, an agent-first linter for Tailwind design systems built on the idea of making design systems verifiable:
- Motivation: TypeScript constrains types, but Tailwind's className is a plain string — agents can override padding, colors, or shape without any error.
- Approach: rules like shadcn/no-restyle turn overrides into lint errors whose messages tell the agent what's wrong and how to fix it, read directly from your actual components, variants, and theme.
- Fine-grained control: you can allow layout classes (margin, width, positioning) while blocking restyling classes.
- Compatibility: works with existing Tailwind v4 projects (shadcn/ui not required), supports both ESLint and Oxlint, and can be enabled rule-by-rule, component-by-component.
- Results: in official evals nearly every task reached zero violations with corrections in one round (vs up to 3 without lint); fixes cost 10–48% less than AGENTS.md rules alone.
Open-sourced at shadcn-ui/lint on GitHub.
Related event: shadcn releases agent-first Tailwind design system linter(5 posts)→
More from coding & agent
- Drawing-to-CAD in Onshape using the Adam harness with GPT-6 Astra — npew · 2026-09-15
- Dev on astra: huge agency and output, but no better at novel decisions — generativist · 2026-09-15
- Andrew Ng at AGI House: open source will fuel the next wave of AI agent automation — agihouse_org · 2026-09-15
- Tencent open-sources Cube Sandbox: sub-60ms cold-start runtime for AI agents — udmrzn · 2026-09-15
- Team kills AI security startup, open-sources local red-team engine OpenHunterAI — udmrzn · 2026-09-15
- Cline launches Desktop app purpose-built for open-weights models — cpaik · 2026-09-15