The coding loop
The loop keeps AI assistance productive. Each prompt should have a narrow goal, the output should be checked visually or with a test, and the next prompt should respond to a real observation.
- Prompt from user behavior, not from vague feature names.
- Ask for one screen, state change, API route, or fix at a time.
- Read enough code to know what changed.
- Use preview and checklist feedback before continuing.