01Chapter 1: Why working code is not the same as learningAn AI assistant can give you a correct function in seconds. That is useful, and it also creates a trap. You can finish a task, see the tests pass, and still be unable to write the same code tomorrow without help. This chapter explains why that gap exists and what the rest of the tutorial does about 8 min read
03Chapter 3: Choosing a role for the AI: tutor, reviewer or generatorAn AI assistant can do very different jobs depending on how you ask. The same tool can coach you through a problem, critique code you wrote, or hand you a finished program. These jobs have different effects on what you learn. This chapter gives you a way to choose the job on purpose.7 min read
04Chapter 4: Try first, then ask: an attempt-first workflowThis chapter assumes you can write functions, conditionals and loops in one language, run a script and a simple test from a terminal or editor, and have used a chat-based AI assistant or code completion tool. The examples use Python.7 min read
05Chapter 5: Prompts that ask for hints and explanationsThis chapter covers how to write prompts that get hints, explanations and review from an AI assistant instead of finished answers. It assumes you can write small Python functions, run a script in a terminal, and have used a chat assistant before. It builds on the attempt-first workflow from the prev7 min read
06Chapter 6: Where AI answers go wrongThis chapter assumes you can write functions, conditionals and loops in Python, run a script from a terminal or editor, and have used a chat assistant or code completion at least a few times. Earlier chapters covered how to ask for hints and explanations. This one covers why you can't trust the answ6 min read
07Chapter 7: Reading generated code before you accept itThis chapter assumes you can write functions, conditionals and loops in Python, run a script in a terminal, and have used a chat-based AI assistant. It covers how to read code an AI gives you before it goes into your project. The next chapter covers how to check that code with tests you write.7 min read
08Chapter 8: Checking AI code with tests you writeYou can write and call functions in Python and run a script from a terminal. You have used an AI assistant to generate code at least once. You do not need prior experience with testing tools. The chapter introduces assert statements first and pytest after that.7 min read
09Chapter 9: Debugging with AI without handing over the thinkingThis chapter assumes you can run a Python script and a simple test, that you have used a chat assistant before, and that you have read the earlier chapters on the attempt-first workflow and on checking AI code with your own tests. Here the focus is on bugs: how to use an AI to find them without givi7 min read
10Chapter 10: Explaining the code back in your own wordsThis chapter assumes you can write functions, loops and conditionals in Python, run a script and a simple test, and have used a chat-based AI assistant. Earlier chapters covered reading generated code critically and checking it with tests. This chapter covers the next step: explaining code in your o6 min read
11Chapter 11: Building projects with clear AI boundariesThis chapter assumes you can write functions, conditionals and loops in Python, run a script and a simple test from a terminal, and have used a chat-based AI assistant. It also assumes you know the attempt-first workflow, the three AI roles (tutor, reviewer, generator) and how to check AI code with 7 min read
12Chapter 12: Reducing AI support over timeThis chapter assumes you can write and run small Python scripts and tests. It also assumes you have used the attempt-first workflow, hint-style prompts, and your own tests from earlier chapters. Here you plan how to need the assistant less, so that your skill does not depend on it being open in the 7 min read
13Chapter 13: Tracking progress with unaided checksEarlier chapters showed how to use an AI as a tutor and reviewer, and how to reduce its support over time. This chapter covers how to tell whether that is working. It assumes you can run a Python script and a simple test, and that you have used an AI assistant for coding. It also assumes you have re8 min read