CoursesAI-Assisted Coding

Generate, Debug, Test

Get code generated and refactored without losing behaviour, find root causes instead of patching symptoms, and use tests as the contract the agent works against.

Lessons
6
Exercises
34
Minutes
36

Start Generating Code You Can Keep

  1. 1

    Generating Code You Can Keep

    After this lesson you can ask for generated code in a shape that fits your project and review it for the three things generated code most often gets wrong.

    DebugMultiple choiceTrace
    5 exercises
    5 min
  2. 2

    Refactoring Without Changing Behaviour

    After this lesson you can hand a refactor or migration to an agent with the one constraint that matters, and prove afterwards that behaviour did not change.

    DebugCode orderMultiple choice
    5 exercises
    5 min
  3. 3

    Debugging to the Root Cause

    After this lesson you can drive an assistant from a symptom to a reproduction to a cause, and refuse a fix that only makes the symptom go away.

    DebugCode orderMultiple choice
    5 exercises
    6 min
  4. 4

    Tests as the Contract

    After this lesson you can use tests as the specification an agent works against, generate tests that would actually fail, and tell a real test from a decorative one.

    DebugCode orderMultiple choice
    5 exercises
    6 min
  5. 5

    Checkpoint: Code That HoldsCheckpoint

    Generation, refactoring, debugging and tests in fresh situations.

    DebugFill blankMultiple choice
    6 exercises
    6 min
  6. 6

    Boss: The Leaky ExportBoss

    A data-leak bug, an agent, and an afternoon: reproduce, narrow, name the cause, fix it right, and prove it.

    DebugMultiple choiceTrace
    8 exercises
    8 min