The basic structure of a good prompt

When writing a prompt, start with four things: role + task + context + format.

Role
Whose experience should the AI draw on? For example, “Act as an experienced copywriter” or “You are a senior key account manager.”
Task
What should the AI do? Start with a verb such as “Write”, “Summarise”, “Compare” or “Find errors”.
Context
Who is this for and why? Describe the situation, audience and constraints. For example, “The readers are complete beginners who are new to this topic.”
Format
What should the result look like? Try “Use bullet points”, “Create a table” or “Keep it under 150 words”.
Two prompts for the same email
Weak prompt“Write an email to a client saying we are running late.”
Strong prompt“You are a key account manager. Write a polite, professional email to a client. Apologise for a two-day delivery delay caused by unexpected complications with customs clearance and transport. Reassure the client that we are working on it and give them the new delivery date: Friday. Use no more than three short paragraphs.”

Sources and links