A short loop

A small task, a draft, a check, the next step.

A long request like "build a service" almost always comes back as a mess: extra files, invented packages, half the requirements. A short loop keeps the work in your hands. One step sounds like this: "here is the function, here is a sample input, here is what should come out, do not touch neighbouring files".

Then you read the answer and check exactly that step. A test, a run, a look at the diff. If the step is green, the next request builds on code you have already accepted, not on a promise from the chat. The chat is forgotten. The repository stays.

If the answer went off track, do not fix it with a new essay like "you did everything wrong, redo it all". Narrow it down: which line is wrong, which test is red, which constraint you did not mention. A model often fixes what is named precisely and breaks what you described by mood.

The loop looks like ordinary development, only the draft arrives faster. Planning, review and checking have not gone anywhere. If they disappear, so does the point of the assistant: you gain typing speed and lose control.

Practice

  1. What to do with a wide answer

    The model brought five files at once, although you asked for one function. Which next step is more honest?

    • Merge everything, since it is already written
    • Narrow the task to one piece and check it
    • Ask for even more files
    • Delete the tests so they do not get in the way
  2. The unit of work

    What is the best name for one pass of task, draft and check? A loop or a release?

  3. What breaks the loop

    Select the harmful moves.

    • Ask for the whole service in one message
    • Name the red test
    • Accept the answer without running it
    • Put neighbouring files off limits