HaiAI123

Curated Global AI Tools Directory

NewIndustry update
95
heat index
New

Setting 12 rules for coding agents to stop unnecessary code changes

11/29/2026 — 11/29, 12:17·1 sources (all)·1 reports (all)

Key takeaways

  • The author noticed that coding agents often make unrequested extra changes, so they wrote 12 rules to define what “done” means. The rules in…

Background & analysis

On November 29, 2026, DEV Community's AI section published a post in which the author laid out a set of 12 rules for coding agents, drawn from his own experience using them. The behavior he describes is familiar: the agent does what it was asked, then keeps going. It renames a function nobody asked it to rename, rewrites an entire file to fix a single line, or produces an interface that looks like every other generated page on the internet. The author then spends the afternoon undoing the extra work.

His diagnosis is that the model is not the problem. The problem is that the agent has no rules defining what "done" means, so it guesses, and its guesses lean toward more: more code, more abstraction, more polish nobody requested. The 12 rules are meant to fix that by setting a clear standard for completion. According to the summary, they include changing only the minimum necessary code, naming things honestly, testing before claiming something works, and making error messages actionable. Each rule is tied to a specific behavior and to the mistake it is meant to prevent.

The record stops at publication. The rules were put forward and shared publicly by this one author; the material does not say whether other developers or tools have adopted them, and there are no later updates.

AI-generated from 1 reports · updated 2 hours ago

updream
24-hour heatHeat index 95
Just charted — trend is building up
24 hours agonow

Reports on this story headlines open the original

Today
  1. The author found their coding agent kept making unrequested changes, so they wrote 12 rules to define what "done" means. The rules include making the smallest necessary change, naming things honestly, testing before claiming something works, and writing actionable error messages. Each rule maps specific behaviour to the mistakes it prevents.

    DEV Community · AIAI score 57

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →