shadcn/lint contracts: per-component rules with tailored error messages for agents
shadcn · x · 2026-09-15
shadcn demonstrates the contracts feature of shadcn/lint: each component gets its own set of allowed changes.
Examples: let Button accept full width but keep its shape, let CardTitle change typography, let CardContent change spacing. Each contract can carry its own error message, so agents know exactly what's allowed and how to fix a violation.
Related event: shadcn/lint Evaluation Shows Zero Violations in Single Fix Round(2 posts)→
More from coding & agent
- Drawing-to-CAD in Onshape using the Adam harness with GPT-6 Astra — npew · 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
- Dan Wahlin: the real superpower is recognizing when AI is wrong, not prompting it — DanWahlin · 2026-09-15
- He spends $14k/month on AI subs and sells agent skills for $20/month — doodlestein · 2026-09-15