What is a Prompt?
A prompt is an instruction or question you give to an AI system. It's your way of communicating what you want the AI to do. Think of it like a conversation with an expertβthe better you explain what you need, the better the result.
Why Prompting Matters
- Quality Input = Quality Output: Better prompts lead to better responses
- Time Saving: A well-written prompt reduces back-and-forth corrections
- Accuracy: Specific prompts minimize misunderstandings
- Efficiency: You get what you need on the first try
The Anatomy of a Good Prompt
Effective prompts typically include several key elements. You don't always need all of them, but knowing them will help you craft better requests.
What it is: Who should the AI pretend to be or what context should it assume?
What it is: What specifically do you want done?
What it is: Important information about your specific situation
What it is: How should the response be structured?
What it is: What tone or style should the response have?
What it is: Any limitations or special requirements
Essential Prompting Techniques
1. Be Specific & Detailed
Vague prompts lead to vague responses. Add details about what you want.
β Strong: "Write a 500-word persuasive essay on how climate change affects agriculture in developing nations, suitable for a college-level environmental science course. Use at least 3 credible sources and include a compelling counterargument."
2. Provide Examples
Showing examples of what you want dramatically improves results (called "few-shot prompting").
def multiply_list(numbers: list[int]) -> int:
"""Returns the product of all numbers in the list."""
result = 1
for num in numbers:
result *= num
return result
3. Break Complex Tasks Into Steps
For complicated requests, ask the AI to work step-by-step. This is called "chain-of-thought" prompting and improves accuracy.
Try: "Let's think step-by-step about remote work. First, list 5 major advantages for employees. Then, list 5 significant challenges. Finally, summarize which groups would benefit most from remote work and why."
4. Use Delimiters
Clearly separate different parts of your prompt using delimiters like quotes, parentheses, or XML-like tags.
TEXT: "Lorem ipsum dolor sit amet..."
INSTRUCTIONS:
- Use no more than 50 words
- Highlight the main point
- Use bullet points
5. Specify Format Explicitly
Tell the AI exactly how you want the response formatted.
- "Format your response as a JSON object"
- "Use a numbered list with 2-3 sentences per point"
- "Create a markdown table with 4 columns"
- "Write in plain language suitable for a 10-year-old"
6. Use "System Prompts" for Consistency
When working with the same AI repeatedly, give it a role or instructions that apply to all future interactions in that conversation.
7. Use Iterative Refinement
Don't expect perfection on the first try. Use follow-up prompts to refine, clarify, or expand on responses.
Real-World Examples by Use Case
π For Academic Writing
π¨βπ» For Coding
π©βπ« For Lesson Planning
π For Data Analysis
Common Prompting Mistakes to Avoid
"Write about technology" is too broad. Be specific about what aspect, for whom, and in what context.
While detail is good, rambling prompts confuse AI. Stay concise and focused.
Always specify format, length, tone, and how the output will be used.
"Fix this code" without explaining what it should do or what's wrong limits the AI's ability to help.
"Be brief but thorough" or "Use simple language but include technical terms" creates confusion.
Don't specify who the output is for (students, experts, etc.) and you'll get generic responses.
Practice Exercises
Try improving these weak prompts. Come up with a stronger version that includes more context, specificity, and structure.
Exercise 1: Academic Essay
Your Turn: Rewrite this prompt to be more specific and useful. Consider: Who is the audience? What length? What specific aspect? What format?
Exercise 2: Code Review
Your Turn: Rewrite with more context. What should it do? What error are you seeing? What language? What have you already tried?
Exercise 3: Research Help
Your Turn: Rewrite for a specific use case. What aspect? What level? How will you use it?
Pro Tips for Advanced Prompting
π― The TASK Framework
Use this simple framework to structure complex prompts:
- T - Task: What do you want done?
- A - Audience: Who is this for?
- S - Style: What tone/format?
- K - Knowledge: What context does the AI need?
π Conversation as Refinement
Treat prompting as a conversation. Use follow-ups like:
- "Can you make that more concise?"
- "Use more technical language"
- "Add specific examples"
- "Explain this like I'm 12 years old"
π Build a Prompt Library
Keep a document of effective prompts you create. Reuse and adapt them for similar tasks.
π€ Think Before You Prompt
Spend 30 seconds clarifying what you want before you type. Better input = better output = less time overall.
β Verify & Edit
AI can make mistakes. Always review, verify facts, and edit output before using it, especially for academic work.
π Key Takeaways
- Prompting is a skill you can improve with practice
- Specific, detailed prompts get better results than vague ones
- Include role, task, context, format, and constraints
- Use examples and step-by-step thinking for complex tasks
- Iterate and refineβask follow-up questions
- Always verify outputs before using them in academic work
Ready to Apply These Skills?
Explore how to use these prompting techniques with Microsoft Copilot and in real-world use cases.
Learn Copilot See Use Cases