AI PROMPTS
How to Write Better AI Prompts
Learn how to communicate clearly with AI so you can get more useful, accurate, and relevant results. This practical guide shows you how to structure prompts, provide the right context, and improve your results step by step.
What You'll Learn
What makes a good AI prompt
The basic structure of an effective prompt
How to give AI useful context
How to give clear instructions
How to improve weak prompts
How to get more consistent results

1: What Makes a Good AI Prompt?
A good AI prompt is a clear and specific instruction that tells an AI tool what you want it to do. The better you explain your goal, the easier it is for AI to understand what you need and produce a useful response.
A strong prompt usually includes a few important elements:
π― Clear Goal
Start by explaining exactly what you want AI to help you accomplish. Avoid vague requests when you can be more specific.
π€ Role or Perspective
Tell AI what role or perspective it should use when appropriate. For example, you might ask it to act as a marketing specialist, teacher, real estate agent, or customer service representative.
π Context
Give AI the background information it needs. The more relevant context you provide, the better AI can tailor its response to your situation.
π Clear Instructions
Explain what AI should do. If there are specific requirements, steps, or things to avoid, include them in your prompt.
π Desired Format
Tell AI how you want the answer presented. You can request bullet points, a table, an email, a social media caption, a checklist, or another format.
π¨ Tone and Style
If the response is intended for other people, specify the tone you want, such as professional, friendly, simple, persuasive, or conversational.
Example: Weak vs. Better Prompt
β Weak prompt:
Write a social media post about my business.
β Better prompt:
Act as a social media marketing specialist. Write a short Facebook post promoting a local homestay for families. Highlight the comfortable rooms, family-friendly environment, and convenient location. Use a warm and welcoming tone. Keep it under 100 words and include a simple call to action.
The second prompt gives AI a clear goal, role, context, instructions, tone, and format. This gives the AI more information to work with and makes it easier to produce a response that matches your needs.
π‘ The Key Principle
Don't just tell AI what you want β give it enough information to understand what "good" looks like.
You don't need to write complicated prompts. Start with a clear objective, provide relevant context, and explain the result you want. As you use AI more, you'll naturally become better at creating prompts that produce useful and consistent results.
2: The Basic Structure of an Effective AI Prompt
A good prompt doesn't need to be complicated. In most situations, you can create an effective prompt by combining a few simple elements that tell AI who to be, what to do, what it needs to know, and how you want the result.
A useful prompt structure is:
π€ Role
Tell AI what role or expertise it should use when this would improve the response. This helps AI approach the task from the perspective you need.
π― Task
Clearly explain what you want AI to do. Use specific action words such as write, explain, summarize, compare, create, analyze, or rewrite.
π Context
Provide the background information AI needs to understand your situation. Include relevant details such as your audience, industry, purpose, or the problem you are trying to solve.
π Instructions
Explain any specific requirements AI should follow. You can tell it what to include, what to avoid, how detailed the response should be, or what information it should focus on.
π Output Format
Tell AI how you want the answer presented. For example, you can request a table, bullet points, step-by-step instructions, an email, a social media post, or a short paragraph.
π¨ Tone & Style
When appropriate, specify the tone or writing style you want. Examples include professional, friendly, conversational, persuasive, simple, educational, or concise.
A Simple Prompt Formula
You can think of an effective prompt like this:
Role + Task + Context + Instructions + Output Format + Tone
You don't always need to include every element. Use the parts that are relevant to the task.
Example
β Basic prompt:
Write a property listing.
β Structured prompt:
Role: Act as an experienced real estate copywriter.
Task: Write a property listing for a family home.
Context: The property is a 3-bedroom, 2-bathroom house located in a quiet residential area. It is suitable for young families and has a renovated kitchen and covered parking.
Instructions: Highlight the family-friendly features and make the description clear and appealing. Avoid exaggerated claims.
Output: Write approximately 150 words with a headline followed by the property description.
Tone: Professional, warm, and easy to understand.
The structured version gives AI much more information to work with. Instead of guessing what you want, AI has a clearer understanding of the role, task, context, instructions, format, and tone.
π‘ The Key Principle
Think of a prompt as giving clear instructions to a helpful assistant.
The more clearly you communicate the task and the expected result, the easier it is for AI to produce an answer that is relevant to your needs.
Start simple. Add more detail when the task requires it, and refine your prompt when the first response isn't quite what you need.
3: How to Give AI Useful Context
Context is the information you give AI to help it understand your situation, audience, goals, and requirements. Without enough context, AI may have to make assumptions, which can lead to generic or less useful responses.
Think of context as giving AI the background information it needs before asking it to complete a task.
What Kind of Context Should You Provide?
π₯ Your Audience
Tell AI who the content or response is intended for. For example, your audience could be customers, students, employees, business owners, parents, or social media followers.
π― Your Goal
Explain what you are trying to achieve. Are you trying to educate, sell, inform, simplify, persuade, brainstorm, or solve a problem?
π’ Your Business or Situation
Provide relevant information about your business, project, product, service, or specific situation. This allows AI to make its response more relevant to you.
π Important Details
Include facts, requirements, limitations, or other information that AI needs to consider. The more important the detail is to the task, the more useful it is to include it in the prompt.
π¨ Your Preferences
Tell AI about preferences that affect the response, such as your preferred writing style, tone, length, language, or formatting.
Example: Without Context vs. With Context
β Without context:
Write an advertisement for my business.
This gives AI very little information. It doesn't know what your business does, who your customers are, or what you want the advertisement to achieve.
β With useful context:
I run a Muslim-friendly family homestay in Melaka. Our main customers are Malaysian families looking for a comfortable place to stay during school holidays. The property has several bedrooms, a swimming pool, and space for large families.
I want to create a Facebook advertisement that highlights comfort, family-friendly facilities, and convenience. Use a warm and welcoming tone and keep the advertisement under 100 words.
The second prompt gives AI the information it needs to create a much more relevant response.
π‘ A Simple Rule for Context
Before sending your prompt, ask yourself:
βWhat would a person need to know if I were asking them to do this task for me for the first time?β
Those details are often the context you should give AI.
You don't need to provide every possible detail. Give AI the information that is relevant to the task. Too little context can produce generic results, while unnecessary information can make a prompt longer without improving the response.
The Key Principle
AI can only work with the information you provide and the information it can appropriately infer from the task.
When you provide useful context, AI has a better foundation for producing responses that are relevant, specific, and aligned with your actual needs.
4: How to Give Clear Instructions
Clear instructions tell AI exactly what you want it to do and how you want it to do it.
Even when you provide good context, your results may not be what you expect if the task itself is unclear. Instead of simply telling AI what you are thinking about, explain the specific action you want AI to take.
π― Start With a Clear Action
Use specific action words that tell AI what to do.
For example:
Write a Facebook post
Create a marketing email
Summarize this document
Explain this topic in simple language
Compare these two products
Analyze these results
Rewrite this paragraph
Create a step-by-step plan
Clear action words give AI a better understanding of the task.
π Tell AI What to Include
If there are specific points that must appear in the response, tell AI directly.
For example:
Write a Facebook post promoting my family homestay. Include the location, number of rooms, swimming pool, school holiday availability, and a clear call to action.
This is much more effective than simply saying:
Write a post about my homestay.
π« Tell AI What to Avoid
You can also tell AI what not to include.
For example:
Keep the tone professional and friendly. Avoid exaggerated claims, complicated language, and unnecessary emojis.
This helps AI stay within the boundaries you want.
π Specify the Length and Format
If you have a preferred format, tell AI before it generates the response.
For example:
Write the response in 5 short paragraphs.
Or:
Give me 7 bullet points with a short explanation for each.
You can also request:
A table
Bullet points
A checklist
A step-by-step guide
An email
A social media caption
A short script
A professional report
π¨ Specify the Tone and Style
Tell AI how you want the response to sound.
For example:
Use a friendly and conversational tone suitable for beginners.
Or:
Write in a professional but easy-to-understand style.
You can also specify styles such as:
Professional
Friendly
Conversational
Persuasive
Educational
Concise
Formal
Simple and beginner-friendly
π‘ Example: Weak vs. Clear Instructions
β Weak instruction:
Write something about AI for my audience.
β Clear instruction:
Write a 150-word Facebook post explaining how beginners can use AI to save time at work. Use simple language, a friendly tone, and include three practical examples. End with a question that encourages readers to share their experience.
The second instruction gives AI a much clearer target, making it easier to produce the type of response you actually need.
π The Key Principle
Don't make AI guess what you want. Tell it clearly.
A good prompt should make the task, requirements, format, and expected result as clear as possible.
When your first response isn't quite right, don't start over. Refine your instructions and tell AI what you want changed.
That simple process of prompt β review β refine is one of the most effective ways to get better results from AI.
5: How to Improve Weak Prompts
Not every prompt produces a useful answer on the first try. That's normal.
If AI gives you a response that is too general, too long, too short, or simply not what you expected, you don't always need to start again. You can improve the prompt by adding more specific instructions.
π Start by Identifying the Problem
Look at the response and ask yourself:
Is the answer too general?
Is something important missing?
Is the tone wrong?
Is the response too long or too short?
Did AI misunderstand what I wanted?
Is the format different from what I expected?
Once you identify the problem, tell AI exactly what needs to change.
βοΈ Add More Specific Details
Weak prompt:
Write a post about my business.
This gives AI very little information.
Improved prompt:
Write a 150-word Facebook post promoting my homestay. Highlight the family-friendly facilities, location, number of rooms, and school holiday availability. Use a warm and inviting tone and end with a clear call to action.
The improved prompt gives AI a clearer goal, audience, length, content requirements, and tone.
π― Ask AI to Refine Its Own Response
You can also continue the conversation instead of creating a completely new prompt.
For example:
Make it shorter and more suitable for Facebook.
Or:
Make the tone more professional.
Or:
Give me three different versions.
Or:
Rewrite this for beginners using simpler language.
This is one of the easiest ways to improve your results.
π Use the Prompt β Review β Refine Method
A practical way to work with AI is:
1. Prompt β Give AI your initial instructions.
2. Review β Read the response and identify what could be improved.
3. Refine β Give AI additional instructions.
4. Repeat β Continue until the result meets your needs.
You don't need to create the perfect prompt on your first attempt. Good prompting is often an iterative process.
π‘ Example
First prompt:
Write a social media post about AI.
AI may produce a very general post.
Refined prompt:
Write a 100-word LinkedIn post explaining how small business owners can use AI to save time. Include three practical examples and use a professional but friendly tone.
The second prompt gives AI much more direction, so the response is more likely to match your intended purpose.
π The Key Principle
If the first answer isn't right, don't give up. Improve the instruction.
Tell AI what was missing, what should be changed, and what the final result should look like.
The more clearly you communicate what you need, the easier it becomes for AI to produce useful and consistent results.
6: How to Get More Consistent Results from AI
Getting a useful AI response once is great. But the real goal is to get reliable and consistent results whenever you use AI.
The key is to give AI clear instructions, use a repeatable structure, and provide enough information for it to understand what you need.
π Use a Repeatable Prompt Structure
When you regularly perform the same type of task, create a prompt structure that you can reuse.
For example:
Role: Act as a social media marketing specialist.
Task: Create a Facebook post promoting my business.
Context: My business provides affordable family accommodation in Melaka.
Audience: Families planning a school holiday trip.
Instructions: Use a friendly and persuasive tone. Highlight the main benefits and include a clear call to action.
Format: Keep it under 150 words.
You can then change only the details that are different each time.
π Provide the Same Important Information
If certain information is important to the result, include it consistently.
For example, when creating social media content, you may want to consistently specify:
Target audience
Purpose of the content
Tone and style
Length
Key information
Format
Call to action
This gives AI a consistent framework to work with.
π― Give AI Examples
One of the easiest ways to improve consistency is to show AI an example of what you want.
For example:
Here is an example of the writing style I want. Follow the same tone, structure, and level of detail when creating the new content.
You can provide your own previous content as a reference and ask AI to follow its style without simply copying it.
π Build on Successful Prompts
When you create a prompt that produces a particularly useful result, save it.
You can keep a simple collection of your most useful prompts for tasks such as:
Writing social media posts
Creating emails
Generating content ideas
Summarizing information
Researching a topic
Creating marketing materials
Planning projects
Over time, this becomes your personal AI prompt library.
π§ͺ Test and Refine
AI responses can vary, so don't be afraid to experiment.
Try changing one instruction at a time and compare the results.
For example:
Make the response shorter.
Then:
Make the tone more conversational.
Then:
Give me three alternative versions.
This helps you discover which instructions produce the results you prefer.
π‘ The Key Principle
Consistency comes from a consistent process.
The more clearly you define your role, task, context, instructions, and desired output, the easier it becomes to repeat successful results.
Instead of starting from scratch every time, create a good prompt once, improve it, save it, and reuse it.
That is how AI can become a practical and repeatable part of your everyday workflow.
π‘ Quick Prompt Formula
You don't need to memorize complicated prompting techniques. A simple structure can help you create better prompts for almost any task.
A useful formula is:
Role + Task + Context + Instructions + Format = Better AI Prompts
Each part has a purpose:
π Role β Tell AI what perspective or expertise it should use.
π― Task β Clearly explain what you want AI to do.
π Context β Give AI the background information it needs to understand your situation.
π Instructions β Explain specific requirements, things to include, or things to avoid.
π Format β Tell AI how you want the final answer presented.
Example
Instead of simply asking:
Write a Facebook post for my business.
Try using the full structure:
-Role: Act as a social media marketing specialist.
-Task: Write a Facebook post promoting my family homestay.
-Context: My homestay is located in Melaka and is suitable for families and groups during school holidays.
-Instructions: Highlight the main facilities, use a friendly and inviting tone, and include a clear call to action.
-Format: Keep it under 150 words and make it easy to read on Facebook.
The second prompt gives AI much more information about who it should be, what it needs to do, what it needs to know, and what the final result should look like.
π Remember
You don't have to use every element for every prompt.
For a simple task, a short prompt may be enough. For a more important or complex task, providing additional role, context, instructions, and formatting requirements can help AI produce a response that is more relevant to your needs.
Start simple, provide the details that matter, review the response, and refine your prompt when necessary.
With practice, you'll develop your own prompting style and learn which instructions work best for the tasks you perform regularly.
π Ready to Practice?
You've learned the basic principles of writing better AI prompts. Now it's time to put them into practice.
Choose a simple task you regularly do and build your own prompt using the formula:
Role + Task + Context + Instructions + Format
π Your Practice Exercise
Start with a simple task.
For example, imagine you want AI to help you create a social media post.
Instead of writing:
Write a post about my business.
Build your prompt step by step:
-Role: Act as a social media marketing specialist.
-Task: Create a Facebook post promoting my business.
-Context: My business provides family-friendly accommodation for visitors during school holidays.
-Instructions: Highlight the main benefits, use a friendly and welcoming tone, and include a clear call to action.
-Format: Keep the post under 150 words and make it easy to read on Facebook.
π― Now Create Your Own
Think of one task you would like AI to help you with.
It could be:
Writing an email
Creating a social media post
Planning a trip
Summarizing a document
Brainstorming ideas
Creating a study plan
Researching a topic
Planning a business activity
Start with a simple prompt, then gradually add the information AI needs.
Remember: you don't need a perfect prompt on your first attempt. Prompt β Review β Refine.
π Your Next Step
The best way to learn AI prompting is to practice using real tasks from your everyday life and work.
Keep the prompts that work well. Improve the ones that don't. Over time, you'll build your own collection of useful prompts that can save you time and help you work more effectively with AI.
You've learned the fundamentals. Now it's time to start creating.
