PromptdeckGuidesGet the prompts ↓
ASKDEJI / LEARN WITH AI

5 Prompts That Make AI Teach You
Instead of Doing It For You

AI fixed the same kind of coding problem for me twice. The embarrassing part? The second time, I still had no idea what was wrong.

5 copyable promptsBeginner-friendly28 September 2026

The resource from the reel. You commented LEARN — here's where to start.

Great for finishing. Not much help learning.

This is what I kept doing: Error. Copy. Paste into AI. Fix. Continue. The project moved forward. My understanding didn't.

So now I ask what broke, why it broke and how to think about it simply. Then I leave part of the fix for me to try. These are the five prompts I'm using to make that easier.

How to use these: Copy one prompt into your AI chat and replace the [brackets] with your own context. Start with a real error and a small code snippet. Keep the conversation going as you try each step.

Use sample values instead of passwords or API keys. AI explanations can be wrong too: run the code and check whether the explanation matches what you observe.

01

Explain what broke

Use this: When you can read the error but have no idea what it means.

Get the cause clear before you touch the code.

LEARNING PROMPT · 01
Act as my coding tutor. Help me understand this error before we fix it.

My experience level: [what I already know]
Language or framework: [what I am using]
What I expected: [what should happen]
What happened: [what I saw]
Exact error: [paste the error]
Relevant code: [paste the smallest useful snippet]

Explain what broke and why in plain language. Point to the relevant part of my code and define any technical terms you use. Separate what the evidence shows from what you are guessing. If context is missing, ask for it instead of inventing a cause.
Do not give me corrected code yet. Ask me one question to check my understanding, then wait for my answer.

Your turn: In your own words, finish: “This broke because…”

02

Give me a hint, not the answer

Use this: When you understand the problem but do not know where to start.

Keep the next move small enough to try yourself.

LEARNING PROMPT · 02
Be my debugging coach. I want to work out the fix myself.

Problem and relevant code: [paste the error and code]
My current understanding: [what I think is wrong]
What I have tried: [my attempts and the results]

Give me only one small hint: a question, something to inspect, or a tiny diagnostic step. Do not reveal the solution or write the corrected code.
Ask me to predict what I will find, then wait for me to try it and report back. If I am still stuck, make the next hint a little more specific. Give the full fix only if I explicitly ask for it.

Your turn: Try the hint and report what actually happened, even if it did not work.

03

Let me fix one part

Use this: When a complete solution feels overwhelming and you need a manageable first step.

Use AI to choose the exercise. You write the change.

LEARNING PROMPT · 03
Help me fix this one step at a time, with me doing the coding.

Problem: [what is broken]
Relevant code: [paste code]
What I understand so far: [the cause in my own words]

Choose one small part of the fix for me to implement. Explain the intended behaviour, the constraint I need to respect, and one way I can check it. Do not write the answer or hide it in an example.
Ask me to make the change and paste my attempt. Stop and wait. When I reply, review my reasoning and code, point out what works, and give one hint for anything still wrong. Let me revise before showing a solution.

Your turn: Write the change, run it, and bring back your code and the result.

04

Check whether I actually understand

Use this: When the code works and you are tempted to move on immediately.

A working fix is your cue to explain the lesson.

LEARNING PROMPT · 04
Check my understanding of a bug I just fixed.

Original code and error: [paste the before version]
My fix: [paste the changed code]
My explanation: [what broke, why, and how the change fixes it]

Compare my explanation with the code. Tell me what I got right and identify any gaps or incorrect assumptions. Do not replace my explanation with a polished answer straight away.
Ask one focused question about the biggest gap and wait for my answer. Once I can explain the cause accurately, ask me for a test that would catch this bug and an edge case worth checking. Let me propose those before you suggest your own.

Your turn: Explain the cause without copying the AI’s wording. Then run your test.

05

Test me on a similar problem

Use this: When you want to know whether you would recognise this mistake next time.

Try the same idea in a different context.

LEARNING PROMPT · 05
Give me a short coding exercise based on the concept I just learned.

Concept or bug: [what I learned]
Language and experience level: [my language and level]
Original example: [the code or a brief description]

Create one small, self-contained exercise using the same underlying concept in a different setting. Include the code, intended behaviour and a sample input with its expected result, but do not reveal the bug location, hint or solution yet.
Ask me to explain the cause, propose a fix and describe how I would test it. Wait for my attempt. Review my reasoning and give one hint at a time if needed. After I solve it, help me write a one-sentence rule for spotting this pattern next time.

Your turn: Solve it before looking back at the original fix. Save the rule you learned.

Use your next error as the lesson.

You don't need to use all five prompts every time. Start by understanding what broke. Ask for one hint. Try one change yourself. Once it works, explain why — then check that you can recognise the same idea in a different problem.

Before you move on, write three lines:
What broke?
Why did it break?
What will I check next time?

The goal is to need a little less help when the same kind of problem shows up again.

Start with prompt 01 ↑