Don't Over-Engineer It: AI Coding Agents Write Too Much Code, and a Short Prompt Reduces It
Source
arxiv.org
Author
Jay Desai, Fanyou Wu, Srinivasan H. Sengamedu
Date
Why it matters
Coding agents often add unrequested tests, docs and refactors. Patches far above reference size resolve less often, and a short minimal-change system promptThe standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.Full definition → cut over-engineering by 40% across 14 models.
Terms in this piece · Glossary
SWE-bench — The standard benchmark for AI coding agents: real GitHub issues from real repositories, scored by whether the agent's patch passes the project's own tests.
system prompt — The standing instructions a model receives before any user input — defining its role, rules, tools, and tone for the whole conversation.