Language models

What is prompt engineering?

In short

Prompt engineering is the skill of writing and testing instructions for AI models so they give useful, reliable answers.

Good prompt engineering means giving the model a role, the needed background, clear steps, examples of good answers and a defined output format. It also means testing the prompt on many cases and improving it, much like testing a process.

Mini course

3 short lessons, about 2 minutes in total

  1. Clear instructions win
  2. Techniques that work
  3. From prompt to system

Lesson 1

Clear instructions win

Prompt engineering is the skill of writing instructions that get reliable, useful results from AI. The basics are the same as briefing a smart new colleague: who are you in this task, what is the background, what exactly should be done, what does good look like, and in what format should the answer come?

IngredientsRoleContext
Task and format
Prompt
A strong prompt gives the model a role, context, a clear task, examples and the wanted format, then gets improved by testing

Tap a box to open that concept

Most poor AI answers come from vague prompts, not weak models.

Lesson 2

Techniques that work

Give examples of good output. Break big tasks into steps. Put long documents first and the question last. Ask the model to think through the problem before answering, or use a reasoning model. Say what to do rather than only what to avoid. Ask for a specific structure, such as a table or bullet list. Tell it what to do when it is unsure.

A clear prompt says who it is for, what to write and in what form

Vague promptClear prompt
"Write a newsletter""Write a newsletter to our lunch guests about the new menu"
No reader or goalSays who reads it and what they should do
No length or toneAsks for 150 words in a warm, plain tone

Modern models follow instructions closely, so be precise.

Lesson 3

From prompt to system

For tasks you repeat, save the prompt as a template with blanks for the changing parts. For prompts in products, keep them in version control, collect test cases with the expected results, and run them every time the prompt or model changes. Small wording changes can have big effects.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createPrompt engineeringLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Prompt engineering sits in a company's AI setup

The wider skill of choosing what information goes to the model is often called context engineering.

An everyday example

Asking an AI to "answer only from the attached price list and say 'I don't know' otherwise" is a simple prompt engineering technique that cuts made-up answers.

How companies use it

Companies use prompt engineering to make chatbots stay on topic, produce consistent reports and follow brand tone.

Frequently asked questions

Is prompt engineering a real job?

Prompt engineering is a skill used by many roles rather than one job. As models improve, it blends into general AI know-how.

Do I need to learn programming?

Prompt engineering needs no programming. Prompts are written in normal language.

What is the most useful tip?

Give context and an example of the answer you want. It helps more than clever wording.

In depth: Prompt engineering

The full picture, about 4 minutes of reading

Writing instructions that AI can follow

A prompt is the text you give an AI model: a question, an instruction, a document to work on, or all of these together. Prompt engineering is the skill of writing and testing prompts so the model gives useful, reliable answers, not just once but every time the task comes up.

The name makes it sound technical, but it needs no programming. Prompts are written in ordinary language. The skill is closer to briefing a new colleague well than to writing code: knowing what to explain, what to leave out and what a good result looks like.

Why the wording matters so much

A language model, the kind of AI behind tools such as ChatGPT, Claude and Gemini, knows nothing about your situation except what you tell it. It does not know your customers, your tone, your products or why you are asking. When the prompt is vague, the model fills the gaps with the most typical answer it can produce, which is usually generic and sometimes wrong.

Most disappointing AI answers come from thin prompts, not weak models. "Write an email to a customer about the delay" gives a bland email. A prompt that says who the customer is, what was delayed, why, what you can offer and how your company usually writes gives an email that needs only small edits. The model is the same. The input is different.

The parts of a good prompt

A strong prompt usually contains a few building blocks. A role or situation: "You are helping a small accounting firm reply to client questions." Background the model cannot know: facts, documents, earlier decisions. The task itself, stated precisely, with steps if it has several parts. Examples of good answers, which often help more than any amount of description. And the format of the output: length, structure, language and tone.

Two more parts make answers safer. Say what to do when the model is unsure or the information is missing, such as "say that you do not know and suggest who to ask". And say what the model should base its answer on, such as "answer only from the attached price list". This one instruction removes a large share of made-up answers.

Techniques that work

Some habits help across almost every model. Put long documents first and the question or instruction last. Break large tasks into steps, or into several prompts in a row, where each step's output feeds the next. Ask the model to think through the problem before answering, or use a reasoning model, a model built to work through problems step by step before it replies.

Tell the model what to do rather than only what to avoid: "write in short sentences" works better than "don't be wordy". Ask for a clear structure, such as a table or a numbered list, when the answer will be used by someone else. And when the first result is wrong, change the prompt rather than just asking again, since you learn more about what the model needs.

From a single prompt to a system

For tasks you repeat, save the prompt as a template with blanks for the parts that change, such as the customer's name or the document to summarize. Share good templates with colleagues, so everyone does not start from scratch.

When prompts run inside products, such as a chatbot or an automated email flow, treat them like any other important part of the system. Keep them in one place with version history. Collect test cases: real inputs with the answer you expect. Run those tests every time the prompt or the model changes, because small wording changes can have large and surprising effects. The wider work of deciding which information reaches the model, and in what order, is often called context engineering.

What it means for a small business

For a small business, prompt engineering is one of the cheapest ways to get more out of AI tools you already have. A short internal training, a shared document with good examples and a few saved templates for common tasks, such as quotes, customer replies and meeting summaries, can raise the quality of everyone's results.

Start by collecting the prompts that already work well for someone on the team, and turn them into templates others can reuse. Add your company's tone, key facts and typical customer questions as background. Agree that AI output is read before it is sent. Over time, the templates become a quiet asset: the company's way of working, written down so that AI can follow it.

Curious what this could mean for your company? Book a call.

Book a call