How to write prompts for ChatGPT
Practical tips to get more out of ChatGPT: message structure, custom instructions, long conversations, files and reviewing answers.
ChatGPT understands natural-language instructions, so you do not need special commands. What makes the difference is clarity and context. These tips apply to most models available in ChatGPT; specific features may vary with your plan and version.
Recommended structure
For tasks of some complexity, order your message like this:
- Role or perspective.
- Context and data.
- The specific task.
- Instructions or steps.
- Constraints.
- Response format.
You can use headings or lists inside the message: they help both the AI and you when you reuse the prompt.
Use custom instructions
ChatGPT lets you save instructions that apply to all your conversations (for example, your profession, the language you want answers in, or that you prefer short answers). Use them for what you always repeat and keep the prompt for what is specific to each task.
Work in turns
Instead of asking for everything at once:
- Ask for an outline or proposal first.
- Correct the course (“drop point 3, expand point 4”).
- Then ask for the full version.
If a conversation gets very long and starts losing track, open a new one and paste a summary of the important context.
Files, images and data
You can attach documents, spreadsheets or images depending on your account's features. Explain what the file contains and what you want done: “the CSV has one row per order; calculate the average order value per month and show it in a table”.
Do not upload personal data, passwords or confidential information that should not leave your organization.
Example
Act as a high school math teacher.
My 14-year-old daughter does not understand quadratic equations.
Explain it in 4 steps with a solved example, then give 3 exercises
of increasing difficulty with the solutions at the end.
Use simple language and avoid notation you do not explain.
Always review
ChatGPT can make mistakes and present them confidently. For data, figures or quotes, ask for sources or check them yourself. If you use web search inside ChatGPT, review the links it cites.
Ready-to-use prompts
Explore the ChatGPT prompts in the library: each one includes usage instructions and customizable variables.