Stop Telling AI to Code; Start Handing It a Blueprint
The workflow directly attacks the two biggest complaints about AI coding assistants: fabricated API calls and unmaintainable output. By shifting the developer's role from instruction-giver to architect and integrator, it produces code that can survive beyond a single session.
Directing an AI to "build a todo app" produces hallucinations and spaghetti. A structured workflow flips the dynamic: first force the AI to output a technical plan defining the tech stack, feature boundaries, and data contracts before writing a single line of code. This upfront constraint eliminates the ambiguity that causes most AI-generated bugs.
The coding phase itself follows a "glue programming" principle. Instead of asking the AI to implement complex logic like drag-and-drop from scratch, the developer selects a mature library and writes only the thin integration layer that connects it to the application's state. This approach keeps business logic clean and makes library swaps trivial.
A final meta-layer introduces a supervisor prompt that reviews, scores, and suggests improvements for the code the AI just generated. This self-critique loop turns the AI into a 24/7 code reviewer, progressively lifting output quality without the developer needing to master every best practice upfront.
The methodology treats AI not as a junior developer but as a skilled executor with no business context, which is a more accurate mental model than the common "pair programmer" analogy.
An explicit "not-to-do list" is a surprisingly high-leverage tool for AI coding; it cuts off the most common failure mode—unprompted feature creep—before it starts.
The self-review prompt pattern exploits the model's own training on high-quality code to critique its output, effectively turning the model's knowledge base into an automated linter and mentor.
Glue programming aligns with a broader industry shift where the value of a developer is measured by integration and architectural decisions, not lines of original code written.