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
- 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