Four-part Learning Prompt
Pyyhkäise näyttääksesi valikon
Why your prompts underperform
Compare two prompts about the same thing.
Weak:
Explain closures in JavaScript.
You get a competent, generic, textbook answer. It's aimed at nobody. You'll read it, nod, and forget it.
Strong:
Role: Act as a patient JS mentor reviewing with a junior dev.
Context: I've written functions and callbacks for 3 months. I understand scope
and hoisting. I do NOT understand why a closure "remembers" a variable after the
outer function has returned — that part feels like magic.
Task: Explain specifically the mechanism that makes the variable survive. Use one
minimal 6-line example, then show me the same code failing without the closure.
Format: Two labelled code blocks, then 3 bullets max. No intro paragraph.
Same topic. Completely different value. The second one attacks your actual gap.
RCTF A four-part structure for any learning prompt:
-
Role (who Claude should be);
-
Context (where you are and where you're stuck);
-
Task (the precise operation);
-
Format (the shape of the answer). Not a rule — a checklist. Its value is that a disappointing answer can almost always be traced to one missing part.
The four parts
Role
Who should Claude be? This sets vocabulary, patience level and assumed shared context.
Act as a senior data engineer · Act as a tutor for a complete beginner ·
Act as a strict code reviewer
Context — this is the one you're skipping
What do you already know, and where exactly does it stop?
Include three things:
- Your level (
3 months of Python,I've never used a terminal) - What you already understand (so it doesn't re-explain it)
- The precise point of confusion
the part I don't get is why X, not how X
Point 3 is worth more than the rest of the prompt combined.
Task
The verb. Be specific about the operation you want.
Explain the mechanismbeatstell me about.
Compare X and Y on 3 axesbeatswhat's the difference.
Give me 5 practice problems, hardest lastbeatshelp me practice.
Format
The shape you can actually use. Unspecified format means Claude guesses, and it usually guesses "essay" — the least useful shape for studying.
The 15-second version
If you're in a hurry, at minimum say:
I know [X]. I'm stuck on [Y specifically]. Explain [Y] as [format].
That's Context + Task + Format. It takes fifteen seconds and it doubles the quality of what comes back.
Reusable template
Role: Act as [persona].
Context: I'm at [level]. I already understand [known]. I'm stuck specifically on [gap].
Task: [precise verb + object].
Format: [shape, length, what to omit].
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme