10 Prompt Engineering Examples You Can Copy and Adapt

See 10 beginner-friendly prompt engineering examples for writing, research, data, coding, images, and more, with a reusable template.

Good prompt engineering examples do not use magic words. They give the AI a clear job, the facts it needs, useful limits, and the form the answer should take.

The examples below work with most general AI chat tools. Replace the details in brackets with your own. Then check the answer before you use it.

If the term itself is new, start with What Is Prompt Engineering? and return here for practice.

What Makes a Good AI Prompt?

A useful prompt usually answers five simple questions:

  1. What is the job? Write, compare, explain, plan, fix, or summarize?
  2. What facts matter? What would change the answer?
  3. Who is the answer for? A customer, a manager, a child, or you?
  4. What limits matter? Length, tone, deadline, budget, or things to avoid?
  5. What should the answer look like? An email, table, checklist, or code block?

You do not need all five parts every time. “Translate this sentence into Spanish” may already be complete. Add detail when the AI would otherwise have to guess.

Google’s prompt design guidance also treats prompting as an iterative job: write an instruction, test the result, and improve the part that failed.

A Simple Prompt vs an Engineered Prompt

Suppose you need to send a weekly project update.

Vague prompt:

Write a project update.

Clearer prompt:

Write a weekly project update for the sales and support team leads.

Facts:
- The new checkout page passed its final tests.
- Launch moved from August 4 to August 7 because the payment provider needs
  three more days to approve the account.
- Design and development work are complete.
- Sara owns the final launch approval.

Use four short sections: Status, What changed, Current risk, and Next action.
Keep it under 180 words. Sound calm and factual. Do not describe the delay as a failure.

The second version tells the AI what changed, why it changed, who owns the next step, and how the update should be organized. It also prevents the AI from turning a short delay into unnecessary drama.

That is the pattern behind the next ten examples.

1. Write a Clear Work Email

Write an email to my manager asking to move Friday's project review to Monday.

Reason: the client sent new data today, and I need one extra working day to check it.
I have already finished the first draft. Monday at 10:00 a.m. or 2:00 p.m. both work.

Sound responsible, not defensive. Keep it under 130 words. Include a subject line.

Why it works: the AI knows the request, the honest reason, the available times, and the tone. It does not have to invent an excuse.

2. Rewrite Something for a Specific Reader

Rewrite the text below for a customer who does not know technical terms.

Keep every fact, but use short sentences and common words. Explain any term that
cannot be removed. Do not make the product sound better than the source says.
Keep the result between 120 and 160 words.

Text:
[paste the source text]

Why it works: “make this simpler” is open to interpretation. This prompt defines the reader, what must stay, what must go, and how long the result should be.

3. Summarize a Document Without Adding Facts

Summarize the document below for someone who has five minutes.

Return:
1. a three-sentence overview;
2. the five most important facts;
3. every deadline, owner, and next action mentioned;
4. a section called "Unclear or missing" for questions the document does not answer.

Use only the document. If a fact is not present, say "not stated" instead of guessing.

Document:
[paste the document]

Why it works: it separates facts, actions, and missing information. The instruction “use only the document” cannot guarantee accuracy, but it makes the expected boundary clear.

4. Turn Meeting Notes Into an Action List

Turn these rough meeting notes into a task list.

Create a table with four columns: Task, Owner, Due date, and Open question.
Keep names and dates exactly as written. If an owner or due date is missing, write
"Not assigned." Do not create tasks that were only discussed as ideas.

Notes:
[paste the notes]

Why it works: the requested table makes gaps visible. It also stops the AI from quietly assigning a person or deadline that was never agreed.

5. Research a Question With Checkable Sources

Research the current refund policies of [Company A], [Company B], and [Company C]
for customers in the United States.

Use only each company's official policy or help pages. For each company, list:
- the standard return window;
- important exceptions;
- the date you checked the page;
- the full source URL.

Put the result in a comparison table. If an official page does not answer a point,
write "Not found on the official page." Do not fill gaps from memory.

Why it works: the prompt limits the source type and asks for links. You still need to open those links and confirm the answer, especially when money or rights are involved.

This example needs an AI tool that can browse current webpages. If your tool cannot browse, open the official pages yourself and paste the relevant text.

6. Compare Options Without Hiding the Tradeoffs

Compare these three project tools for a five-person remote team:
[Tool A], [Tool B], and [Tool C].

Our needs, in order:
1. simple task tracking;
2. guest access for two clients;
3. a total budget under $40 per month;
4. no setup that requires a developer.

Make a table showing fit, drawback, current price, and source link. After the table,
recommend one option and explain the deciding reason in two sentences. Mark any price
you could not verify today.

Why it works: “best” depends on the buyer. This prompt gives the AI a real decision rule instead of asking for a generic top-three list.

7. Analyze Spreadsheet Data

I will paste a small sales table with these columns: Date, Product, Region, Units,
Revenue, and Refunds.

Check the data first. Tell me about missing values, duplicate rows, impossible dates,
or numbers stored as text. Do not calculate totals until you finish that check.

Then return:
1. total revenue by region;
2. refund rate by product;
3. the three changes that deserve attention;
4. the exact spreadsheet formula or steps used for each calculation.

Data:
[paste the table]

Why it works: it asks the AI to check the input before analyzing it. It also asks for the calculation method, which gives you something to verify.

8. Debug Code With the Real Error

Help me fix this Python script.

Expected result: read orders.csv and print the total of the Amount column.
Actual result: ValueError: could not convert string to float: '$19.95'

Please:
1. explain the cause in beginner language;
2. show the smallest safe code change;
3. explain each changed line;
4. include one test for an empty Amount cell.

Do not rewrite unrelated parts of the script.

Code:
[paste the shortest code that reproduces the error]

Why it works: the AI gets the expected behavior, the actual error, the code, and a limit on the size of the change. Without those facts, it can only guess.

9. Show the Pattern With Examples

Sometimes it is easier to show the AI the desired answer than to describe it. This is often called few-shot prompting, which simply means giving a few examples first.

Label each customer message as Billing, Delivery, Product question, or Other.
Return only the label.

Examples:
Message: "Why was I charged twice?"
Label: Billing

Message: "The tracking page has not changed for six days."
Label: Delivery

Message: "Does this charger work with an iPhone 15?"
Label: Product question

Now label this message:
Message: "I received the blue one, but I ordered black."
Label:

Why it works: the examples define the categories and the desired output. Before using this at scale, test unclear cases such as damaged items or delivery address changes.

10. Create an Image Prompt

Create a wide editorial illustration for a beginner article about prompt engineering.

Scene: a person gives a clear written task to a friendly desk assistant, with a folder
of source notes beside them. Show the difference between the instruction and the source
material without using labels or tiny text.

Style: warm paper texture, simple shapes, muted brown and blue, calm and practical.
Composition: 16:9, room on the left for a headline, no logos, no readable interface text,
no futuristic holograms.

Why it works: image prompts benefit from a clear subject, visual style, composition, and a short list of things to avoid. “Make a cool AI image” leaves nearly every decision to the tool.

Use this prompt in an image generator or a chat tool with image creation enabled.

A Privacy-Safe Prompt Example

Do not paste private customer, employee, medical, financial, or company information into an AI tool unless your organization has approved that use.

You can often remove or replace sensitive details:

Help me improve the wording of this support reply.

The customer's name, order number, email address, and exact purchase have been replaced
with [NAME], [ORDER], [EMAIL], and [PRODUCT]. Keep those placeholders in the answer.
Do not infer or add personal details.

Draft:
[paste the redacted draft]

Redacting information means removing details that identify a person or expose something confidential. It is safer than asking the AI to ignore private details after you have already pasted them.

Common Prompt Engineering Mistakes

Adding a grand role but no useful facts

“You are the world’s best marketer” does not tell the AI what you sell, who the buyer is, or what the message must achieve.

Asking for current facts without asking for sources

Prices, laws, schedules, software features, and company policies change. Ask for current sources and check them yourself.

Giving conflicting instructions

“Explain every detail in under 50 words” may be impossible. Decide which limit matters more.

Pasting too much background

More text is not always more useful. Give the facts that affect the answer, and remove unrelated material.

Treating the first answer as final

Prompt engineering includes checking the result. If something is wrong, name that problem and change one part of the request.

A Reusable Prompt Template

Task: [what you need the AI to do]

Background: [facts the AI needs]

Reader or user: [who the answer is for]

Include: [required points]

Avoid: [mistakes, claims, or content you do not want]

Return as: [email, table, checklist, code, image, etc.]

Length and tone: [your limits]

If important information is missing, ask me before guessing.

Delete any line that does not help. A short complete prompt is better than a long prompt full of decoration.

Frequently Asked Questions

What are the four main parts of a prompt?

There is no single official four-part rule. A useful beginner version is: the task, the background facts, the limits, and the desired output. Add the reader or an example when it changes the answer.

What skills are needed for prompt engineering?

Clear writing, subject knowledge, careful checking, and the patience to improve one problem at a time matter most. Coding is useful for AI products, but it is not required for everyday prompts.

Should every prompt be long?

No. The prompt should be as long as the task needs. Simple jobs need little context. Risky or specific jobs usually need more facts and clearer limits.

Try One Example Now

Choose one prompt above that matches a task you already have. Replace the bracketed text, run it, and check the answer against your source facts. If the result is weak, say exactly what is missing and revise that part only.

For a structured practice routine, follow the 30-day prompt engineering learning plan.

You can also browse the Yep prompt community for more starting points. Treat every example as a draft that needs your own facts.