Module 6 · AI Coding Workflow · Lesson 13 of 34
The AI coding loop
Spec, tests, generate, run, feed back, review, commit: a workflow that keeps you in charge.
In this lesson · about 20 minutes
- Describe the kinds of AI coding tools and what each is good for
- Run the spec → tests → generate → review loop
- Give feedback that gets a better second attempt
AI coding help comes in three main forms:
- Autocomplete in your editor: suggests the next line or block as you type. Great for routine code.
- Chat: you paste code or an error and ask questions. Great for explanations and small fixes.
- Coding agents: you give a task; the agent reads the codebase, edits several files, runs the tests and reports back. Great for well-defined tasks of a few hours of human work.
Whichever you use, the same rule holds: you are the author. You must understand and be able to defend every line you commit. The workflow below keeps it that way.
Whiteboard · watch and try
The loop
Press Play for the seven steps.
Tip: press Pause, then use the pen to work along on the board. Space plays and pauses; Ctrl+Z undoes your last mark.
Try it · simulator
The AI coding loop
Build a small feature with an AI coding assistant. At each step pick your move and see what happens to the code and the tests.
spec.md
(nothing written yet)
test_pricing.py
(no tests yet)
Your task: add a discount function to the shop's pricing code. How do you start?
Check your understanding0 of 3 correct
Quiz score: 0 of 3
Written by Noviq Academy in its own words. The simulators are small teaching models that keep the real idea and leave out the scale; their numbers (prices, speeds, scores) are illustrative. Model names, prices and features change quickly, so check your provider's current documentation before you build. Read-aloud uses your device's built-in voices.