A prompt is whatever you type to an AI assistant. You don't need special tricks to write a good one. The same things that help a person understand a request help an AI too.
1. Say what you're trying to achieve
"Write an email" leaves a lot to guess. "Write a short email to my landlord asking when the heating will be fixed; keep it polite but firm" tells the assistant the goal, the audience and the tone.
2. Give the context it can't know
The assistant only knows what you tell it about your situation. Mention the details that matter: who it's for, what you've already tried, deadlines, or the document you're working from. If you have text you want it to use, paste it in.
3. Ask for the format you want
Say whether you want a list, a table, a paragraph or a step-by-step plan, and roughly how long. "Five bullet points, one line each" is easy to follow.
4. Show an example
If you want a particular style, include a sample: "Write product descriptions like this one: ..." Examples often work better than long descriptions of what you want.
5. Break big jobs into steps
For a large task, start with an outline, check it, then expand one part at a time. You'll catch problems early and keep control of the result.
6. Let it ask you questions
Add "Ask me anything you need to know before you start." A good assistant will fill the gaps in your request instead of guessing.
7. Iterate
Your first answer is a draft. Tell the assistant what to change: "shorter", "less formal", "add a section about costs". Follow-up messages are usually faster than starting over.