A prompt is the instruction you give to an AI. Small changes in how you write it can lead to very different results. This guide shares proven techniques to write prompts that get you exactly what you want.
The Basic Formula
A strong prompt usually includes four parts: the task, the context, the format, and any constraints. For example: "Write a 100-word product description (task) for a beginner audience (context) as bullet points (format), using simple language (constraint)."
Be Specific
Avoid vague words like "something nice." Instead describe the outcome you want. The AI can only work with what you tell it, so precise details lead to precise outputs.
Give Examples
Showing the AI an example of what you want is one of the fastest ways to get great results. Provide a sample input and output, and the model will follow that pattern.
Iterate and Refine
You rarely get a perfect result on the first try. Treat prompting as a conversation: request adjustments like "make it shorter," "use a friendlier tone," or "add a conclusion." Each refinement gets you closer.
Useful Templates
- "Act as a [role]. Help me [task] for [audience]."
- "Summarize the following text in [N] bullet points: [text]"
- "Rewrite this to be [tone] and under [N] words: [text]"
- "Give me step-by-step instructions for [task]."
Practice Makes Perfect
The best way to improve is to experiment. Try different phrasings, compare the results, and reuse what works. Over time, writing great prompts becomes second nature.