shadcn ships agent-first linter for Tailwind design systems, cutting agent fix costs up to 48%
shadcn · x · 2026-09-15
shadcn released shadcn/lint, an agent-first linter for Tailwind design systems: developers define what's allowed, and when an agent breaks a rule the error explains what's wrong and how to fix it using existing components, variants, and theme.
Key details from the thread:
- Constraints are enforced by the toolchain (TypeScript), not convention — e.g. a Button's style prop can be restricted to margin and width so agents get type errors when trying to change padding.
- Per-component contracts let Button accept full width but keep its shape, with custom error messages supporting placeholders like {{variants}} and {{file}}.
- In the author's evals, nearly every task reached zero violations, corrections took one round instead of up to three, and fixes cost 10–48% less than AGENTS.md rules alone.
Related event: shadcn launches agent-first Tailwind design system linter shadcn/lint(9 posts)→
More from coding & agent
- Gemini 4 tops public coding benchmarks but drops to bottom on private tasks — Hesamation · 2026-10-30
- User builds 20-bot Grok suite to track wins, prep 1:1s and close promises — NicoVerderosa · 2026-10-30
- Why 30-year-old BM25 beats vector embeddings for agentic search, per search vet Jo Kristian Bergum — jobergum · 2026-10-30
- LangChain CEO opens Interrupt London with keynote on why orgs should own their intelligence — LangChain · 2026-10-30
- Simlock: open-source control plane gives parallel coding agents their own iOS/Android simulators — Scobleizer · 2026-10-30
- Keyfleet launches open canvas where personal AI agents team up with a shared USDC treasury — seanwbren · 2026-10-30