@nateberkopec: Automatic linter rules that are draconian for humans but effective for agents: 1. Cyclomatic complexity budget 2. LOC-p…
Summary
The tweet discusses automatic linter rules like cyclomatic complexity budgets and CSS/JS restrictions that are strict for humans but effective for coding agents, with Sam Saffron highlighting their role in preventing long-term code rot.
View Cached Full Text
Cached at: 08/27/26, 06:00 PM
Automatic linter rules that are draconian for humans but effective for agents:
- Cyclomatic complexity budget
- LOC-per-file restriction
- CSS/JS/filesize restriction
- ABC scores
- what else?
Sam Saffron (@samsaffron): When you are automatic code, having CSS/JS budgets are a handy trick for avoiding long term rot, once you hit a set limit … get agents to prune
Similar Articles
Agent configs can pass validation and still be bad instructions. What should we lint before runtime?
The author built LintLang, a deterministic linter for agent configs that catches structural language defects like vague tool descriptions and conflicting instructions before runtime, and notes that Character.AI's Larch framework adopted it in CI. The post asks developers which runtime failures should be caught statically.
AI agents recreate the “rockstar developer” problem, just faster
The post compares AI agents to 'rockstar developers' who create clever but unmaintainable code, pointing out that agents lack memory of their own actions. It recommends using visible conventions like AGENTS.md, ADRs, and tests to keep agent-generated code understandable by the team.
@addyosmani: Software quality now depends on the constraints you set around your agents. When humans manually wrote most of the code…
Addy Osmani discusses that with AI agents generating more code than humans can review, software quality must be enforced through constraints like tests and deterministic checks rather than code review itself.
My agent.md to improve LLM-assisted code quality
The article shares a method using an agent.md file to define coding style preferences for LLM-assisted development, improving code quality by reducing repetitive feedback.
@rauchg: How we imbue coding agents with our design standards
Vercel explains how they built a system with a skill, linters, evals, and an updating loop to ensure coding agents meet their design standards.