What Is Prompt Engineering?

A prompt is simply the instructions you give an AI.

Prompt engineering is the process of writing those instructions clearly enough that the AI understands your goal, your audience, and the kind of response you're looking for.

Many people believe better prompts come from clever wording. In reality, better prompts usually come from providing better context.


Context Changes Everything

Imagine you're walking through a grocery store when someone you've never met walks up and asks:

"Can you help me?"

You'd probably ask a few questions.

Now imagine they instead say:

"Hi, I'm Rachel. I'm looking for gluten-free pasta because my daughter has celiac disease. I've already checked aisle three."

Suddenly helping becomes much easier.

Nothing changed about your ability to help.

The only thing that changed was the amount of context you were given.

AI works the same way.


AI Starts as a Stranger

Every new conversation with AI starts with very little knowledge about your situation.

Unless you've already shared the information, it doesn't know:

The AI isn't lacking intelligence.

It's lacking context.

One sentence is worth remembering:

AI is intelligent, but it isn't informed.

Until you provide context, the AI can only make educated guesses about what you need.


A Better Prompt

Compare these two prompts.

Prompt 1
Write me an email.

The AI has to guess:

Prompt 2
Write a friendly email to my manager asking to work from home tomorrow because I have a plumbing emergency. Keep it professional and under 150 words.

The second prompt isn't better because it uses special words.

It's better because it gives the AI enough information to produce a useful answer.


Try It Yourself

The easiest way to understand prompt engineering is to compare two responses.

EXERCISE

Open your favourite AI assistant and try these prompts.

Prompt 1

Explain cloud computing.

Read the response before continuing.


Prompt 2

Explain cloud computing to a small business owner who has never worked in IT. Use plain English, compare it to renting instead of owning, avoid technical jargon, and keep the explanation to about five minutes of reading.

Compare the two answers.

What Changed?

The AI didn't become smarter.

You simply provided more useful context.

These details help the AI produce an explanation that's much closer to what you actually wanted.


Think of AI as a New Coworker

Imagine someone joins your team today.

They're intelligent. They're eager to help. They learn quickly.

But they've never worked with you before.

Before they can do a good job, you would naturally explain:

You wouldn't expect them to guess.

AI is no different.


A Simple Prompt Formula

Whenever you're unsure what to include, think about these five things.

1. Goal

What do you want the AI to do?


2. Context

What background information does it need?


3. Audience

Who is the response for?


4. Constraints

Should it be formal, short, technical, or follow a particular format?


5. Outcome

What would a successful response look like?

You won't always need every one of these, but including more useful context almost always leads to better results.


Key Takeaway

Remember This

Good prompt engineering isn't about discovering secret commands.

It's about communicating with AI the same way you'd communicate with a helpful person who knows nothing about your situation.

Clear goals. Useful context. Realistic expectations.

The better the context you provide, the better the AI can help.

CONTINUE LEARNING

Keep Building Your AI Skills

Understanding prompt engineering is one step toward using AI confidently. Return to the AI Fundamentals learning path to continue exploring practical AI concepts.

Back to AI Fundamentals →