How to Write Better AI Prompts

Write Better AI Prompts

If you want consistently better results from AI, the biggest shift is to stop thinking of prompts as questions and start thinking of them as instructions with context and success criteria.

A simple prompt formula

Role + Task + Context + Constraints + Output format + Example

For example, instead of:

“Write me a workout plan.”

Try:

“Act as a certified personal trainer. Create a 4-day strength-training plan for a beginner who can train 45 minutes per session.

Prioritize full-body strength, use dumbbells and machines, and include warm-ups, exercises, sets, reps, and rest periods.

Format it as a day-by-day table. Keep each session under 45 minutes.”

The second prompt gives the AI a much clearer definition of what good looks like.

7 techniques that make prompts better

State the exact task

Bad: “Tell me about marketing.”
Better: “Explain the three most important digital-marketing strategies for a small local business.”

Give relevant context
Tell the AI who you are, what you’re trying to accomplish, and what constraints matter.

Specify the audience
“Explain this to a 10-year-old” produces a very different answer from “Explain this to a software engineer.”

Define the output
Ask for a table, bullet points, step-by-step instructions, examples, a comparison, etc.

Set constraints
Examples: word count, budget, tone, reading level, available tools, deadline, things to avoid.

Provide examples
If you have a preferred style or format, show the AI one example. Examples often communicate your intent better than lengthy descriptions.

Ask for iteration
You don’t need to create the perfect prompt immediately. Start with a reasonable prompt, inspect the result, then say:

“Make this more concise and practical.”
“Give me three alternatives.”
“What assumptions did you make?”
“What information would improve this answer?”

See also  How to Test AI Prompts

A reusable template

Role: You are a [relevant expert/role].

Task: [Exactly what you want the AI to do.]

Context: [Important background, goals, audience, and information.]

Requirements:

[Constraint or requirement 1]
[Constraint or requirement 2]
[Constraint or requirement 3]

Output: [Describe the format you want.]

Quality standard: [Explain what would make the answer useful or successful.]

Example, if helpful:
[Provide an example of the desired result or style.]

One important rule

More words ≠ better prompts.

A good prompt contains the right information, not necessarily lots of information. If the task is simple, a one-sentence prompt can be excellent. If the task is complex, additional context and constraints become valuable.

A useful mental model is:

Tell the AI what you’re trying to accomplish, give it the information it needs, and define what a good answer looks like.

mickeylieberman65

Author: aiprompts

Leave a Reply

Your email address will not be published. Required fields are marked *