← LLM Operator

Chapter 0 · 10 min · no signup

Anatomy of a prompt

Before you write your own prompts, look at good ones. A prompt is just a message to the model, and a good one is built from six parts. Here you only read and spot them — writing starts in Chapter 1.

Six parts of a prompt

Not every prompt needs all six. But when the answer comes out wrong, one of them is almost always missing.

  1. Role

    Answers the question: Who should the model be?

    Tell it whose shoes to stand in — it picks the right words and level from there.

    For example: You are a physics teacher who explains things simply.

  2. Task

    Answers the question: What should it do?

    A verb plus a result. Not “about a birthday”, but “write a birthday message”.

    For example: Write a birthday message of 3–4 sentences.

  3. Context

    Answers the question: What does the model need to know?

    The model doesn't know your life. Give it facts: who, what for, what already happened.

    For example: My friend Max turns 16, he's into skating, we've been friends since first grade.

  4. Answer format

    Answers the question: What should the result look like?

    A list, a table, a paragraph, an email — say it upfront and you won't redo it later.

    For example: Give the answer as a list of 5 points.

  5. Limits

    Answers the question: What's off-limits, how long, what tone?

    The frame: length, tone, banned words. Without it the model pours out filler.

    For example: Under 300 characters, and never the word “unique”.

  6. Example

    Answers the question: What does the thing you want look like?

    Show a sample — the model catches a style faster than from any description.

    For example: Here's how I usually write: “Hey! So, long story short…”

Bad → good

Seven everyday requests. Same goal, two prompts. Every part of the good one is coloured — look at what was added.

  1. A birthday message to a friend

    Bad

    Write a birthday message.

    Good

    RoleYou are my best friend with a good sense of humour. TaskWrite a birthday message for Max Context— he turns 16, skates, is always late, and we've been friends since first grade. Answer formatIt's a chat message: 3–4 sentences, 1–2 emoji are fine. LimitsNo big speeches and no “wishing you health and happiness”. ExampleSomething like: “Max, you're late again — this time to your own 16th birthday.”

    Why it works: The model knows who it's writing to, what to joke about and where to stop — so it's about Max, not a card from a gas station.

  2. A plan for homework

    Bad

    Help me with my homework.

    Good

    RoleYou are a calm maths tutor. TaskMake me a plan for doing today's homework Context— 8th grade, percentage problems (no. 214–220), I have 1 hour, and I don't really get percentages. Answer formatGive the plan as steps: step — minutes — what I do. LimitsDon't solve the problems for me: just the plan and one hint to get started.

    Why it works: It's clear what subject, how much time, and what you don't want — ready answers instead of understanding.

  3. A post for a club chat

    Bad

    Write a post for the club chat.

    Good

    RoleYou are the head of the school robotics club. TaskWrite a post for the group chat saying there's a session on Saturday Context— we meet at 12:00 in room 305, we'll build the robot for the contest, bring a laptop. Answer formatA short post: a one-line title, then 3 points (when, where, what to bring). LimitsFriendly, no caps lock, under 400 characters.

    Why it works: Every detail is there, and three points read in five seconds — nobody asks “wait, what time?” in the chat.

  4. An email to a teacher

    Bad

    Write an email to my teacher.

    Good

    RoleYou are a polite student writing to a teacher. TaskWrite an email to my history teacher, Ms. Parker, asking to move the deadline for my report Context— I was ill from May 10 to 14, I have a doctor's note, the report on Peter the Great is half done. Answer formatFormat: subject line + 4–5 sentences + signature “Ivan Sokolov, 9B”. LimitsPolite, no half-page of excuses, no slang.

    Why it works: The teacher sees at once who's writing, what happened and what you're asking for — a better shot at a “yes”.

  5. A product description for a shop

    Bad

    Describe a product for the shop.

    Good

    RoleYou are the copywriter for a small online shop. TaskWrite the description for a product page Context— a 350 ml travel mug, keeps drinks hot for 6 hours, doesn't leak in a backpack, 4 colours, bought mostly by students. Answer formatStructure: one hook line + 3 benefit points + size and colours. LimitsUnder 500 characters, no “unique” and no “premium”. ExampleTone like this: “Your tea stays hot until the last class.”

    Why it works: Instead of “a product of the highest quality”, the model writes about a mug that won't soak your notebooks.

  6. A trip plan

    Bad

    Plan a trip.

    Good

    RoleYou are a guide who knows Saint Petersburg and counts money. TaskMake a plan for a weekend trip Context— me and my mum, Saturday and Sunday, $70 for activities, we love museums and hate queues. Answer formatBy day: morning / afternoon / evening, with a rough price for each item. LimitsNo more than 3 places a day, no late-night walks.

    Why it works: Dates, budget and tastes are all there — you can take the plan and go, not rewrite it.

  7. A summary of a long article

    Bad

    Summarise this.

    Good

    RoleYou are an editor who explains hard things simply. TaskWrite a short summary of the article below Context— I'm preparing for biology class, the article is about how animals sleep, I need the main idea. Answer format5 points, one sentence each, and at the end one line: “The most surprising bit: …”. LimitsOnly what's in the article — don't make anything up. ContextArticle: [paste the text here]

    Why it works: The model knows why you need the summary and how many points — and doesn't invent what isn't in the article.

Your turn: spot the part

Six quick ones. Nothing to type — just pick. Miss? You'll see why, and you try again.

Exercises done: 0 of 6
  1. Exercise 1

    What's missing from this prompt?

    You are my friend who's great at jokes. Write a caption for a photo on my Instagram. One line, 10 words max. No hashtags and no word “vibe”. Something like: “Went out for bread, came back with a cat.”

  2. Exercise 2

    Which part is highlighted?

    You are the chef of a school canteen. Come up with a menu for the week for 5th graders — we have no oven and a small budget. Give the answer as a table: day — breakfast — lunch. No fish — half the class is allergic.

  3. Exercise 3

    What's missing from this prompt?

    You are an experienced seller on a classifieds site. I'm selling my bike: Stels, 2 years old, ridden one summer, a scratch on the frame, I want $100 for it. The answer is 4–5 sentences. Don't lie about the condition, no caps lock. Tone like this: “Giving it to good hands — I switched to a scooter.”

  4. Exercise 4

    Which part is highlighted?

    You are a strict but kind English teacher. Check my essay and point out the mistakes — it's for the exam in May, my weak spot is tenses. Format: a list “mistake → how to fix it”, then one line of overall feedback. Don't rewrite the essay for me.

  5. Exercise 5

    What's missing from this prompt?

    You help me run my blog and write as me, in my style. Write a post about my summer camp. It lasted 2 weeks, we went hiking, I learned to pitch a tent and made friends with Tim. Format: a post of 5–7 sentences, ending with a question to my followers. No emoji every other word and no word “unforgettable”.

  6. Exercise 6

    Which part is highlighted?

    You are a class representative who's good with words. Write a graduation speech on behalf of our class — 11 years together, two trips, and we won the school quiz in 9th grade. No longer than 2 minutes out loud, no jokes about specific teachers and no “our dear…”.

Now you can see what a prompt is made of. Next, you write one yourself

In Chapter 1 you'll take apart someone's failed prompt and write your own — on a task from your week.

Go to Chapter 1Cheat sheet