AI Joe
← Blog· Engineering Reality

Good Structure Lets AI Help; Bad Structure Lets AI Hurt

May 15, 2026

AI coding tools do not fix messy systems. They amplify whatever structure already exists, for better or worse.

The Details:

  • Clean module boundaries give AI tools a contained space to operate in. When responsibilities are explicit and interfaces are well defined, a generated change stays local and the output can be trusted without tracing every downstream file. That containment is architectural work done by humans long before any prompt gets typed.

  • Fuzzy boundaries produce the opposite effect. When ownership overlaps between modules, AI tools will still generate code that compiles and passes obvious tests, while quietly tangling the system further. Teams often blame the tool at this point, but the real failure is a structure that stopped holding, so nothing localizes anymore.

  • Before asking an AI tool for anything, a useful habit is writing a short plain description of the intended change, its constraints, and its place in the system. Skipping that step invites confidently wrong output, because the tool fills structural gaps with plausible guesses rather than correct ones. Strong engineers also deliberately restrict what an AI tool can see, keeping it inside one bounded context even when adjacent code looks relevant, enforcing in conversation the same boundary they want enforced in the codebase.

  • Naming trade-offs out loud, in a comment or decision log, matters more once AI is executing decisions at scale. A vague preference becomes a system-wide pattern within days instead of months, so the cost of an unspoken choice grows fast. Architectural judgment itself still transmits mainly through watching an experienced person reason through a real decision, not through reading AI output alone.

Bottom Line: The tool does not decide where the seams go; the human still does, and that decision now compounds faster than ever.

Enjoy this article?

Listen to the Claude Code Conversations radio show or join the community.