Prompt Engineering Tutorial
Prompt engineering is the skill of giving AI clear, specific, detailed instructions so it produces useful results. Just like a software engineer writes code that tells a computer what to do, a prompt engineer writes instructions that tell AI what to create, analyze, or explain — and the clearer the instructions, the better the output. The difference is: software engineers write code in programming languages; prompt engineers write instructions in plain language, and their most important tool is clarity about their goal, context, audience, constraints, and how to verify the answer.
Prompt Engineering Tutorial
Prompt engineering is the skill of giving AI clear, specific, detailed instructions so it produces useful results. Just like a software engineer writes code that tells a computer what to do, a prompt engineer writes instructions that tell AI what to create, analyze, or explain — and the clearer the instructions, the better the output. The difference is: software engineers write code in programming languages; prompt engineers write instructions in plain language, and their most important tool is clarity about their goal, context, audience, constraints, and how to verify the answer.
Why learn to prompt?
A good prompt is like asking a clear question. The clearer you are, the better the AI can help you — and the less likely you are to get a confusing or wrong answer.
- Get better answers
- Save time
- Stay safe with your data
- Learn faster
The CLEAR method
Brainstorm these four ideas every time you write a prompt.
Context
Say who you are and what you need.
Level
Ask for the right reading level or format.
Exact
Be specific about the topic or task.
Ask
Ask the AI to explain, list, compare, or draft.
Before and after
Here are real examples of weak prompts turned into strong ones.
School report
Weak prompt
Tell me about Haiti.
Strong prompt
I am a 6th-grade student writing a one-page report about Haiti's history. Please give me 5 key events in simple language and suggest one trustworthy source I can read next.
Why it's better: It says who needs the answer, the goal, the reading level, and what to include.
Homework help
Weak prompt
Write my homework.
Strong prompt
Help me brainstorm three ideas for an essay about how AI can help small businesses. Do not write the essay; just give me the ideas with one sentence explaining each.
Why it's better: It sets the topic, format, and boundaries so the AI doesn't do the work for the student.
Writing feedback
Weak prompt
Fix this.
Strong prompt
Please check this message for spelling and grammar mistakes. Keep the same friendly tone: 'Dear teacher, I hope you are well. I want to ask if I can turn in my homework tomorrow.'
Why it's better: It gives the exact text, the task, and the tone the user wants to keep.
Family conversation
Weak prompt
Explain AI.
Strong prompt
I am a parent talking to my 10-year-old child. Please explain what artificial intelligence is in three short sentences, using an everyday example they will understand.
Why it's better: It names the audience and the format so the explanation matches the child's level.
Small business post
Weak prompt
Make a post.
Strong prompt
I run a sewing class for beginners in Port-au-Prince. Please write a friendly Facebook post in Haitian Creole that announces a new Saturday class and ends with a clear call to action.
Why it's better: It includes context, language, audience, and the exact action the reader should take.
Practice area
Write your own prompt below. Try to include context, level, exact topic, and what you want the AI to do.
Tip: read your prompt out loud before sending it.
Stay safe
- Never share passwords, bank details, or personal IDs with AI.
- Do not paste private messages from other people without permission.
- Double-check facts, especially for school, health, or legal topics.
- Tell the AI if an answer feels wrong or unsafe.