01Chapter 1: Start with a specific questionMost unhelpful explanations of code come from vague questions. "Explain this code" gives an assistant no way to know what you are missing, so it explains everything at an average level. This chapter shows how to decide what you need to understand before you write any prompt. It covers the common kin6 min read
02Chapter 2: Give the assistant the context it needsAn assistant can only explain what it can see. When you paste a snippet and ask "what does this do?", it fills every gap with a guess. Sometimes the guess is right. Sometimes it is a confident explanation of code that is not yours. This chapter covers how to decide what to share so the explanation m7 min read
03Chapter 3: Keep secrets and sensitive code out of the promptThis chapter assumes you can read Python and shell commands. It also assumes you have used a chat or editor assistant, and that you know what an environment variable and a configuration file are. It builds on the previous chapter, where you chose what context to share. Here you decide what to leave 7 min read
04Chapter 4: Write a clear explanation promptThis chapter assumes you can read code in at least one language, have used a chat or terminal assistant, and can run small Python snippets locally. You already know how to state a specific question about unfamiliar code and how to pick the context to share. Here you combine those into one prompt.7 min read
05Chapter 5: Ask for the right level and formatAn explanation can be accurate and still useless if it is pitched wrong. An answer written for an expert leaves you decoding jargon. An answer written for a beginner buries the one detail you needed. This chapter covers how to tell an assistant what depth and what shape of answer you want, so the fi6 min read
06Chapter 6: Read the answer criticallyAn assistant's explanation of unfamiliar code reads fluently whether it is right or wrong. This chapter covers how to read an answer as a set of separate claims, sort them by how much support each has, and pick the ones to check before you rely on them.7 min read
07Chapter 7: Follow up on the parts you don't understandThe first answer from an assistant is rarely the last one you need. This chapter covers how to turn a partly understood explanation into a fully understood one by asking narrow, well-aimed follow-up questions.6 min read
08Chapter 8: Know where assistants go wrongThis chapter assumes you can read Python, have used a chat or editor assistant, and can run small snippets locally. It covers the failure modes of assistants that explain code. You will learn to recognize them and to turn a suspicious claim into a check you can run.8 min read
09Chapter 9: Check the explanation against the codeThis chapter assumes you can read Python, have used a chat or editor assistant, and can run small scripts locally. The earlier chapters covered how to ask for an explanation. This one covers what to do after you have an answer: treat it as a set of claims, then test each claim against the code.7 min read
10Chapter 10: Explaining code that spans many filesThis chapter assumes you can already write a single-file explanation prompt: a specific question, the relevant code in a delimited block, and a request for a particular kind of answer. It also assumes you can run small Python snippets and shell commands locally. Here you will apply those skills when7 min read
11Chapter 11: Record what you learnedYou asked a specific question, gave the assistant context, checked its answer, and ran the code. Now you understand something that you didn't before. That understanding fades quickly unless you write it down. This chapter covers how to turn an explanation session into notes, code comments, and tests6 min read