Module 5 · Lesson 11 of 12
Run the AC/DC Loop on One Feature
Practice the full sequence: Guide the agent, Generate a bounded change, Verify evidence, then Solve any gaps.
# Run the AC/DC Loop on One Feature
The AC/DC mnemonic is a practical cycle: Guide, Generate, Verify, Solve. It connects the engineer’s judgment to the agent’s ability to produce implementation.
Guide: Explain the problem, provide relevant context, define constraints, and agree on acceptance evidence. Generate: Ask for a plan, then a bounded implementation slice. Verify: Inspect the diff and run targeted checks; compare actual behavior with the specification. Solve: If something is missing, diagnose it, make the smallest correction, re-check, and update the workflow if the same issue could recur.
The cycle can repeat several times in one task. It is not a one-shot prompt followed by a final review.
## Apply it
Choose a small feature, such as adding a field validation rule. Write one sentence for each AC/DC phase and identify who makes the ship decision.
Practice: Run the cycle and keep the plan, diff, test output, and any follow-up learning together.
Sign in to keep track of the lessons you finish.