Get your API key

Lesson 5 of 6

When something breaks

Write bug reports the AI can act on, use screenshots, and the 2-strike fresh-start rule.

7 min Log in to open
One step at a time, like flipping pages.

By the end of this lesson you will write bug reports the AI can act on, and you will know exactly when to stop and start a fresh chat.

You need: a coding agent and an app that does something wrong (it will happen, it is normal) · Time: 7 minutes

  1. Something breaks. The natural reaction is to type "it's not working, fix it". The AI then guesses what "it" is, changes some code, and often breaks something else.

    A bug is anything that behaves differently from what you expected. To fix it, the AI needs the same facts a mechanic needs: what you did, what should happen, and what happened instead.

    If the agent is busy making a mess, stop it first. In Claude Code press Esc; most other tools have a stop button or the same key.

    Why?

    A vague report makes the AI guess, and every wrong guess adds more changed code to untangle later.

Log in free to read the rest of this lesson

Every lesson is free. A free account unlocks all of them and saves your progress.

Still to come in this lesson:

  1. The bug report prompt
  2. Get the exact error and a screenshot
  3. Ask for a diagnosis before a fix
  4. The 2-strike rule: then start fresh
  5. Recap