Claude Code keeps breaking my project when I add new features A developer reports that Anthropic's Claude Code, an AI coding agent, repeatedly breaks projects by making unrequested refactors, such as renaming utility files without updating imports, causing errors and requiring manual reverts. The developer now mandates a strict step-by-step prompt requiring impact analysis and a plan before execution, treating agent patches as suspicious PRs needing manual audit. Claude Code keeps breaking my project when I add new features Claude Code /en/tags/claude%20code/ to handle the heavy lifting of implementation, and for the first few sprints, it felt like magic. But the moment the codebase hit a certain level of complexity, the "vibe" shifted. I asked for a relatively simple patch to my authentication middleware—basically just adding a role-check—and the agent decided to refactor three other unrelated files to "optimize" the flow. The result was a complete meltdown. I didn't realize the extent of the changes until I tried to boot the server and got slammed with a wall of errors. Error: Cannot find module './utils/auth-helper' at Module. load node:internal/modules/cjs/loader:js, 934:34 at Function.require node:internal/modules/cjs/loader:js, 384:19 at Object.