Artikel 8
KI Grundlagen

The Four Building Blocks of a Good Prompt

Sebastian Rydz12. November 202510 min Lesezeit

Why Some Prompts Work and Others Don't

Imagine you ask a friend to write a birthday speech for your mother. All you say is: "Just write something nice." Your friend will write something, but it probably won't be what you had in mind. Maybe it's too formal, too short, or too generic. Something is missing, but what exactly?

Now imagine you say instead: "Write a heartfelt speech for my mother's 60th birthday. She loves gardening and has always been the one cooking for the whole family. The speech should be about three minutes long, funny and emotional at the same time." Suddenly your friend has everything they need. They know what to do, they have the background, they know the desired length and the style.

That's exactly how communication with AI works. The difference between a mediocre and a great result isn't about how "intelligent" the AI is. It's about how you ask. And the secret? Every good prompt consists of four simple building blocks. Four puzzle pieces that together create a clear picture. In this article, you'll learn these four building blocks and be able to use them right away. Don't worry, it's easier than you think.

Building Block 1: The Task - What Should the AI Do?

The first and most important building block is the task. It answers the fundamental question: What exactly should the AI do for me?

Sounds obvious? It is. But you'd be surprised how often this building block is missing or unclear. "Help me out" is not a task. "Write me something" is not a task. These are wishes without direction, like getting into a taxi and saying: "Just drive somewhere."

A clear task names the specific action:

  • "Write a parent letter..."
  • "Create a checklist..."
  • "Summarize this text..."
  • "Draft three versions of..."
  • "Explain the difference between..."

The difference? A single clear verb at the beginning. Write, create, summarize, draft, explain. That gives the AI a clear direction.

Here's an example from everyday office life: Instead of "Do something with the quarterly numbers," you say "Create a summary of the quarterly numbers highlighting the three most important trends." Instead of "Help me with the client," you say "Write a friendly response to this client's complaint."

In the trades, it works the same way: Instead of "Make me a quote," you say "Write a quote for renovating a bathroom, including materials and labor costs."

And in private life: Instead of "Help me with cooking," you say "Create a recipe for a quick weeknight dinner with chicken and vegetables for two people."

The point is: The clearer you phrase the task, the less the AI has to guess. And less guessing means better results. Think of the taxi driver: "Take me to the train station" always works better than "Just drive somewhere."

Building Block 2: The Context - What Info Does the AI Need?

The second building block is context. It answers the question: What background information does the AI need to do the job well?

Imagine giving an intern a task on their first day. They're motivated and capable, but they don't know anything about your company, your clients, or how you work. If you tell them "Write an email to Mr. Smith," they'll ask: Who is Mr. Smith? About what? What's the context? Formal or casual?

Unfortunately, the AI doesn't ask follow-up questions. It just goes ahead and does its best with whatever little information it has. That's often not enough.

Context can take many forms:

  • Who are you? "I own a small flower shop" or "I work as a teacher at an elementary school"
  • Who is the result for? "For parents of elementary school children" or "For my supervisor"
  • What's the situation? "The client complained about a late delivery" or "We're planning a company party for 50 people"
  • What already exists? "Here are my bullet points..." or "Based on this feedback..."

A concrete example: You're a physiotherapist and want to create an Instagram post. Without context, the AI writes a generic health tip. With context, everything changes. You say: "I'm a physiotherapist with my own practice, specializing in back problems for office workers. My followers are 30 to 50 years old and sit at a desk all day." Suddenly you get a post that actually fits you and your audience.

You don't need to mention every detail. But the key facts make an enormous difference. Rule of thumb: Give the AI the information you'd give a smart friend who's helping you with the task.

Building Block 3: The Format - What Should the Result Look Like?

The third building block is the format. It answers the question: In what form should the AI deliver the result?

Imagine ordering a photo print at a photo shop. You say: "I'd like that vacation photo." The employee asks: "What size? As a poster, passport photo, or postcard? Matte or glossy? With or without a frame?" The image is the same, but the form can be completely different.

It's the same with AI. The same content can be delivered in completely different formats:

  • As flowing text or as a bullet list
  • As a short summary or as a detailed report
  • As a table or as a step-by-step guide
  • As an email, a social media post, or a presentation
  • In 50 words or in 500 words

If you don't specify the format, the AI decides on its own. And its choice doesn't always match what you need. Maybe you wanted a quick bullet list and got three paragraphs of text. Or you needed a detailed report and got five bullet points.

Specific format instructions that work right away:

  • "Answer in no more than five sentences"
  • "Create a numbered list with ten items"
  • "Write it as a formal email with a subject line"
  • "Create a table with columns: Task, Responsible, Deadline"
  • "Phrase it as a 30-second elevator pitch"

An example from the trades: An electrician wants to send a client a cost breakdown. Instead of "Write me a cost breakdown," they say: "Create a clear cost breakdown as a table with columns: Item, Description, Unit Price, and Total Price. Include a grand total at the end."

And a personal example: You're planning a birthday party. Instead of "Help me with the planning," you say: "Create a checklist of all tasks for a birthday party, sorted chronologically from four weeks before to the day itself."

The format is like the frame of a painting: It doesn't change the content, but it determines how the result looks and whether it fits your purpose.

Building Block 4: The Tone - How Should It Sound?

The fourth and final building block is tone. It answers the question: How should the result feel?

Think of a moment from your daily life: You write a message to your best friend. Then you write an email to your landlord. The content could be the same. You're letting them know you won't be around next week. But the tone? Completely different. Casual and brief with your friend. Polite and formal with your landlord.

The AI doesn't have a fixed tone of its own. Or rather, it has a default tone, and it's usually neutral and matter-of-fact. If you want something specific, you need to say so.

Tone instructions that work immediately:

  • "Write in a friendly, casual way, as if you were writing to a friend"
  • "The tone should be professional and factual"
  • "Make it humorous, with a bit of a wink"
  • "Write empathetically and with understanding"
  • "The text should sound motivating and energetic"
  • "Explain it so simply that a ten-year-old would understand"

An example from the office: You're writing a newsletter for your team. Instead of just describing the content, you add: "The tone should be casual and motivating, as if an enthusiastic team leader is writing to their people. A touch of humor is welcome."

Or in private: You need to write a complaint to an online shop. "Write a complaint about a defective delivery. The tone should be firm but polite. No aggression, but no beating around the bush either."

Tone can also reflect the target audience: "Write for a young audience on social media" produces a completely different text than "Write for professionals in a medical journal." Same topic, completely different result.

Many people forget about tone entirely. Yet it often makes the biggest difference. A factually perfect text written in the wrong tone misses its impact. A text with the right tone, on the other hand, feels authentic right away, as if you'd written it yourself.

All Four Together: How a Good Prompt Comes Together

Now you know the four building blocks. On their own, they're useful. Together, they're powerful. Let's look at what a prompt looks like when it combines all four.

Let's take an everyday example: You own a small cafe and need a social media post.

Without the four building blocks: "Write me a post for my cafe."

With all four building blocks:

  • Task: "Write an Instagram post announcing our new fall menu."
  • Context: "I run a cozy cafe in the old town, specializing in homemade cakes and seasonal dishes. Our guests are 25 to 55 years old and value quality and a warm atmosphere."
  • Format: "The post should be no more than 150 words, with an attention-grabbing first line and relevant hashtags at the end."
  • Tone: "Warm and inviting, as if you were personally greeting a regular customer."

The finished prompt: "Write an Instagram post announcing the new fall menu for my cafe. I run a cozy cafe in the old town, specializing in homemade cakes and seasonal dishes. Our guests are 25 to 55 years old and love quality and a warm atmosphere. The post should be no more than 150 words, with an attention-grabbing first line and relevant hashtags at the end. The tone should be warm and inviting, as if you were personally greeting a regular customer."

Notice the difference? The AI now has everything it needs. No guessing, no hoping. A clear picture.

And don't worry: You don't need to perfectly spell out all four building blocks in every prompt. Sometimes the task and format are enough. Sometimes the tone matters most. Think of the four building blocks as a mental checklist, not a rigid formula. The more blocks you include, the better. But even two are better than none.

How the Prompt Generator Automatically Builds In the Blocks

Here's the best news in this article: You don't always have to assemble the four building blocks yourself. The prompt generator at optiprompt.io does exactly that for you automatically.

When you enter a simple input like "Write a post for my cafe" into the prompt generator, it analyzes your words and fills in the missing building blocks. It adds context, defines an appropriate format, and suggests a suitable tone. The result is a complete prompt that contains all four building blocks.

Remember the three variants from the previous article? The building blocks play a role here too:

  • The structured variant emphasizes format and context particularly strongly. It delivers a clearly organized prompt with precise details for all four building blocks.
  • The compact variant focuses on task and format, keeping everything short and direct.
  • The creative variant gives tone more room to breathe and encourages the AI toward more original results.

The brilliant part: Every time you look at a generated prompt, you see the four building blocks in action. You learn how a good prompt is structured, almost without trying. After a few weeks, you'll automatically build the blocks into your own prompts, even without the generator.

The prompt generator is like a driving instructor: In the beginning, it does a lot for you. But over time, you drive on your own, more confidently, more skillfully.

Hands-On Exercise: The Four Building Blocks in Action

Now it's time to get practical. In this exercise, you'll create a prompt with all four building blocks by hand and then compare the result with what the prompt generator produces. Set aside about fifteen minutes.

Step 1: Choose a task from your everyday life
For example: writing a complaint letter, drafting an email to a colleague, planning a blog post, or creating a recipe for a dinner party.

Step 2: Write your prompt with all four building blocks

  • Task: What exactly should the AI do?
  • Context: What background information is important?
  • Format: What should the result look like?
  • Tone: How should it sound?

Here's an example if nothing comes to mind: "Write an email to my landlord reporting a water leak in the kitchen. The damage happened last night, a pipe under the sink is dripping. The email should be short and factual, no more than ten sentences. The tone should be polite but firm, requesting a quick repair."

Step 3: Test your prompt
Copy your handwritten prompt and paste it into an AI tool of your choice, such as ChatGPT, Claude, or Gemini. Read the result carefully.

Step 4: Use the prompt generator
Now enter the same basic idea into the prompt generator at optiprompt.io. Select the "LLM" category and the structured variant. Copy the generated prompt and test it in the same AI tool.

Step 5: Compare both results

  • What information did the prompt generator add that you hadn't thought of?
  • Which result is more useful?
  • What can you learn from the generated prompt for next time?

This exercise shows you two things: First, how much better a structured prompt works compared to a vague instruction. And second, what you can learn from the prompt generator to improve your own prompts.

Conclusion: Four Building Blocks, Endless Possibilities

You now know the four building blocks of a good prompt: the task, the context, the format, and the tone. You understand how they work individually and how they come together to create a clear, complete picture for the AI. You've seen how the prompt generator at optiprompt.io automatically assembles these blocks, and you've tried it yourself.

In the next article, "Context Is King: Why Background Information Makes All the Difference," we'll dive deeper into the second building block. Because context is the block that makes the biggest difference, and there are techniques you haven't discovered yet.

Until then: Pay attention to the four building blocks every time you write a prompt. You'll notice how quickly your results improve. Four simple questions. Better answers. It really can be that simple.

Autor

Sebastian Rydz

Das OptiPrompt Team teilt Wissen und Best Practices rund um KI und Prompt Engineering, um dir zu helfen, bessere Ergebnisse mit KI-Modellen zu erzielen.

Bereit, deine Prompts zu optimieren?

Erstelle mit OptiPrompt professionelle Prompts in Sekunden – kostenlos starten.