The most common complaint about AI-written code is that it comes back almost right. Usually the prompt left out the constraints and the finish line. These scaffolds ask for both.
Why this one is shaped like this: Refactors go wrong when the model improves things you never asked it to touch. Naming the invariants and the blast radius is what keeps a refactor reviewable.
Empty fields are dropped from the output โ a half-filled scaffold still beats a one-line ask. Your text stays in this tab; nothing is sent anywhere.