💚
Beginner-Friendly Topic
Take your time - it's perfectly normal to re-read this topic 2-3 times. Try the interactive code editor below to run code yourself. Use the Q&A section to check your understanding before moving on. You've got this! 🚀
Good Prompt vs Bad Prompt
Seeing the difference between a good prompt and a bad prompt helps you understand exactly what to aim for. This topic walks through clear before-and-after examples.
12 min•By Priygop Team•Updated 2026
What Makes a Prompt Bad?
A bad prompt has one or more of these problems:
- Too vague: 'Write something' - what should it write?
- Missing context: 'Fix my code' - what code? What is wrong with it?
- No audience: 'Explain AI' - to whom? A child? An engineer?
- No output format: 'Tell me about marketing' - list? Paragraph? Slides?
- Contradictory: 'Keep it brief but cover everything' - these conflict
- Missing goal: 'Help me' - help with what?
Diagram
Loading diagram…
Deep Learning ⊂ Machine Learning ⊂ Artificial Intelligence
Before and After Examples
- Bad: 'Write something about Python.' Better: 'Explain Python to a beginner who has never programmed. Use simple English, one small example, and list three common uses.'
- Bad: 'Make an email.' Better: 'Write a professional email politely declining a meeting scheduled for Friday. Keep it under 80 words.'
- Bad: 'Summarize.' Better: 'Summarize this product review in 2 bullet points. Focus on the main positive and the main negative.'
- Bad: 'Debug this.' Better: 'Review this Python function. Identify any bugs and explain them in plain English. Then show the corrected version.'
- Bad: 'Give me ideas.' Better: 'Give me 5 blog post ideas for a travel website targeting young professionals who travel on a budget.'
What Makes a Prompt Good?
- Clear task: the AI knows exactly what to do
- Audience: who the response is for is clearly stated
- Context: relevant background information is included
- Output format: how the response should look is specified
- Constraints: length, tone, or focus areas are defined
- Goal: what the output will be used for is explained
Key Takeaways
- A bad prompt is vague, missing context, or lacks a clear goal
- A good prompt includes a clear task, audience, context, and output format
- You do not need all elements in every prompt, use what is relevant
- Comparing before and after prompt versions helps you improve quickly
- Practice rewriting bad prompts until it becomes a natural habit
Key Takeaways
- Seeing the difference between a good prompt and a bad prompt helps you understand exactly what to aim for.
- Bad: 'Write something about Python.' Better: 'Explain Python to a beginner who has never programmed. Use simple English, one small example, and list three common uses.'
- Bad: 'Make an email.' Better: 'Write a professional email politely declining a meeting scheduled for Friday. Keep it under 80 words.'
- Bad: 'Summarize.' Better: 'Summarize this product review in 2 bullet points. Focus on the main positive and the main negative.'