How to write a good prompt, with a template and examples
sorchy team
4 min read
“Write a product description” leaves the model guessing which product to describe. Try this instead: “Write two sentences for the product page of a 500 ml glass bottle with a screw cap. Use only those details.” Now the model has the facts, knows where the copy will appear, and knows how much to write.
A prompt is an instruction or request you give to AI. If the term is new to you, our guide explains what a prompt is. You do not need to memorize special commands to write a useful one. This guide shows you how to build and improve your prompts using examples from website content, customer questions, and everyday tasks.
The Five Main Parts of a Good Prompt
When writing a prompt, think about the information you would give someone if you delegated the task to them. The following elements help you identify what is missing from your request:
- Role: Specifies the perspective or tone of the response.
- Task: Defines the work to be done, such as summarizing, comparing, editing, or writing.
- Context: Explains the intended audience, purpose, and source information.
- Format: Specifies whether the response should be a paragraph, list, or table.
- Constraints: Sets boundaries such as length, scope, and information that must be preserved.
You do not need all five parts in every prompt. A straightforward instruction may be enough for correcting a typo. If you need a particular style or classification, you can also provide an example of the expected result.
How to Write a Prompt, Step by Step
First consider how you will use the output: Do you need an answer to a visitor's question, a description for publication, or a draft to revise? The short comparisons below show how to clarify different parts of a prompt. Product and course details are fictional examples.
1. Give the model a role when useful
A role can guide the perspective and tone of the response. Choose one suited to the task. Instead of saying “Act as the world's best expert,” explain the approach you expect.
Vague: “Write like an expert.”
Clearer: “Write like a customer support representative. Be polite and direct, and explain technical terms.”
A role does not give the model new knowledge or automatically make its answers correct. If you simply want to shorten a sentence, you can describe that task without assigning a role.
2. Define the task clearly
Turn broad requests such as “review” or “improve” into specific instructions. Say what the model should change, what it must preserve, and what it should deliver.
Vague: “Improve this sentence: Our training is excellent and very useful for everyone.”
Clearer: “Remove vague praise from this sentence and write a factual promotional statement: Our training is excellent and very useful for everyone. Use this information: The course teaches beginners basic spreadsheet formulas.”
If the work involves several decisions, divide it into stages. Ask first for a draft suitable for the audience, evaluate what is missing, then refine the text. This helps you identify incorrect assumptions before they shape a longer piece.
3. Add context and sources
Explain who will read the result and where it will appear. For a question specific to your organization, provide the relevant page text or a file the tool can access. Supplying a link does not guarantee that the tool has opened it; check whether the content is accessible.
Vague: “Tell people about our course.”
Clearer: “Introduce this course to adults visiting our website for the first time. The beginner-level spreadsheet course is delivered online, consists of four 60-minute lessons, and requires no prior knowledge. Do not invent fees or certificate details.”
You can separate source material from instructions using labels such as “Course details” or “Customer message.” If two documents conflict, clarify which is current.
4. Specify the output format
Knowing how you will use the result makes the format easier to define. You might request short paragraphs for a web page, a table for comparisons, or a numbered list for a sequence of steps. Instead of “Make it well organized,” describe the structure you want.
Vague: “Describe the course properly.”
Clearer: “Format the course description as a short introduction followed by three bullet points. Explain who it is for, how many lessons it includes, and how participants attend. Use no more than 100 words.”
If you have a strict word or character limit, count the output independently. Specifying a limit in a prompt does not guarantee the model will meet it exactly every time.
5. Add constraints and examples where needed
Explain what to do when information is missing. Use testable constraints rather than instructions such as “Don't make mistakes.” In organizational content, it is especially important not to change actual prices, dates, or the scope of a service.
Vague: “Make the course sound convincing and fill in missing details.”
Clearer: “Use only the course information I provided. If asked about fees or certificates, say that information is not in the source. Do not describe the course as the best, guaranteed, or suitable for everyone.”
Clearly label style examples: “Style example only: Learn basic formulas in four short lessons.” Identify what is source information and what is only a writing example, so details about another product are not carried into the new text.
A Prompt Template You Can Copy and Adapt
Use the template below for recurring tasks. Replace the bracketed fields with your own information and remove any lines you do not need. Include accessible text or an appropriate file in the source field.
Task: [What I want done].
Audience and purpose: [Who will use this output, and for what?].
Source information: [Text, product details, or a relevant document].
Approach and tone: [Role if needed; language and style].
Output: [Paragraph, list, or table; expected length].
Constraints: [Information to preserve and claims not to add].
Missing information: If essential information is missing, identify it and ask first where necessary.
Examples of Vague and Effective Prompts
The examples below show how the same request can be made more specific. You can test the clearer prompts using the fictional details supplied in each scenario.
A product description for a website
Vague: “Write amazing sales copy for our bottle.”
Clearer: “Write a two-sentence product description in English for a product page. The audience is looking for a water bottle for their desk. Product details: Glass body, 500 ml capacity, screw cap. Use only these features. Do not add claims about heat resistance, leakproof performance, or dishwasher safety. Avoid exaggerated adjectives.”
Example product description: “This glass water bottle holds 500 ml. Twist the cap to open or close it.”
This prompt specifies the audience, placement, and known product features. Explicitly excluding unsupported attributes helps reduce unfounded claims in sales copy.
A shipping update for a customer
Vague: “Update the customer on their order.”
Clearer: “A customer asks, ‘Will my order arrive tomorrow?’ The only confirmed detail is that the order shipped today. Write a friendly two-sentence email. Share the shipping update and explain that we don't have a confirmed delivery date.”
Example email: “Hi, your order shipped today. We don't have a confirmed delivery date yet, so we can't promise it will arrive tomorrow.”
How to write a prompt for ChatGPT
For ChatGPT, too, describe the task, the information it should use, and the expected output. In everyday work you might draft a customer reply or organize meeting notes. Avoid including unnecessary private information about real people in examples.
Vague: “Reply to the customer.”
Clearer: “Customer question: Can I watch the course sessions afterward? Source information: Live lessons are not recorded. Lesson slides are emailed to participants. Using only this information, write a polite response of no more than three sentences. Explain in the first sentence that recordings are unavailable, then say how the slides are shared.”
Meeting-notes example: “Notes: The product page copy will be shortened before the next meeting. New visuals were reviewed, but none were selected. No task owner has been assigned yet. Organize these notes under Decisions, Action Items, and Open Questions. Do not invent names or dates.”
If the first response misses something, give specific feedback instead of saying “Write it better.” For example, “Keep the detail that slides are sent by email, but shorten the answer to two sentences” narrows the revision.
Common Prompting Mistakes
Problems with effective prompting often involve missing information, conflicting expectations, or output that is used without checking. Watch for these mistakes:
- Relying on vague adjectives. Instead of “Make it professional,” specify the audience, tone, and format.
- Giving conflicting instructions. For requests such as “Explain every detail in one sentence,” clarify priorities or narrow the scope.
- Assuming earlier conversation details still apply. When switching tasks, provide the necessary context again so details about a previous product or audience do not carry over; start a new conversation if needed.
- Asking for definitive answers without sources. When current prices or schedules matter, supply verified information; do not ask the model to invent missing details.
- Using output without reviewing it. Compare the numbers, product features, and instructions in a fluent response with the source information.
A model can present fabricated information as fact; this is often called an AI hallucination. Saying “Tell me when you don't know” and providing sources may reduce the risk, but neither replaces final verification.
Testing and Improving a Prompt
Before evaluating a prompt, define what a successful answer looks like. In the course example, the answer should explain that recordings are unavailable, preserve the fact that slides are emailed, and avoid inventing a period of access. Compare the first output against those criteria.
Then try a different phrasing of the same question, such as “Can I watch a class I missed?” Also ask something the source does not answer, such as “How many months can I access the slides?” This shows how the prompt performs beyond easy questions and how it handles uncertainty.
When you find a problem, change the relevant instruction first and rerun the same examples. If the model invents a time period, add “Do not state a time period unless the source provides one.” Changing many things at once makes it harder to see what improved the output.
Keep a working version of prompts you use regularly, along with sample inputs and evaluation criteria. Retest when your sources or model change. Asking a model to review its own answer may help, but is not a substitute for checking independent sources.
Custom Instructions for Websites
An AI assistant on a website needs clear, current source content as well as good instructions. In the Sorchy panel, you can select the answer language and use custom instructions to guide tone and length. Explore these options in the answer settings.
Frequently Asked Questions About Writing Prompts
How many words should a good prompt contain?
There is no fixed word count. A simple task may be described in one sentence. For more complex work, include necessary sources and constraints. Remove long role descriptions and repeated instructions that do not help with the task.
How do I specify the response language?
Name the language you want in the prompt. If part of the source should stay as written, say which part. For example: “Reply in English and keep the product names as written.” For a bilingual reply, specify the order you want the languages to appear in.
What is the best prompt structure for ChatGPT?
No single structure works for every task. The task, relevant information, and expected output format are a good start. Add roles, examples, and constraints when useful. Judge effectiveness by testing the results with your own examples.
Do prompt templates help?
Templates make it easier to remember necessary information for recurring tasks. Update the product, audience, and source fields each time. Leaving details from an earlier task can cause the answer to rely on incorrect information.
Share this post
Written by sorchy team
Product updates, practical guides and how sorchy works under the hood.