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 launches agent-first Tailwind design system linter shadcn/lint(9 posts)→
More from coding & agent
- effect-harness on Cloudflare: run agent loops, tools and credentials on separate VMs — samgoodwin89 · 2026-10-31
- jh3yy: agents gave me flow state — my tools finally keep up with my brain — jh3yy · 2026-10-31
- CAFE ecosystem: Maple moves 300k lines of React to Foldkit in 3 days — samgoodwin89 · 2026-10-31
- Non-coder builds 100-star Android TV launcher entirely with Claude — SuB8u · 2026-10-31
- Factory acquires typedef_ai to give coding agents an enterprise data context layer — maddiehfaulkner · 2026-10-31
- Browser agent's graph reroute wins 5/5 vs 0/5 for trajectory replay, author retracts own number — JeremyCMorgan · 2026-10-31