What an AI prompt is, the six parts of a good prompt, techniques that work (examples, steps, self-review), common mistakes and before/after marketing prompts.

In short
An AI prompt is the instruction you give to an assistant such as ChatGPT, Claude or Gemini. A good prompt states who the AI should act as, the context, the exact task, the constraints, the expected format and, when useful, an example of the result. Adding examples, asking the model to work step by step and having it review its own answer improve results further. The same logic applies on the other side: the prompts your customers type into the AI decide whether your brand is recommended, and they can be tracked.
Want to go further? Ask
Writing an AI prompt is a skill close to writing a good brief for a colleague. Model providers publish their own advice, such as the OpenAI prompt engineering guide, and the principles below are shared by most of them. Our glossary entry on prompt engineering covers the vocabulary.
A prompt is everything the model reads before it answers: your question, the instructions, any pasted document and the earlier messages of the conversation. The model has no other information about your goal, your audience or your standards. A vague prompt gets an average answer, because the model fills the gaps with the most likely generic choices.
Tell the AI who it should act as: "You are a B2B copywriter who writes for finance directors." The role sets vocabulary, tone and level of expertise.
Explain the situation: the company, the product, the audience, the goal of the text, what has already been done. Context is the part most people skip and the one that changes results most.
State one clear task with an action verb: write, summarize, compare, rewrite, list. Split large jobs into several prompts.
Length, tone, words to avoid, facts to include, reading level, language. Constraints turn a generic answer into one that fits your brand.
Say how the answer should look: a table with given columns, a numbered list, three versions, a JSON object, headings and short paragraphs.
Show one or two examples of what you expect. This technique is called few-shot prompting, after the research paper Language Models are Few-Shot Learners, which showed that large models can pick up a task from a handful of examples placed in the prompt. See our entry on few-shot learning.
| Use | Weak prompt | Better prompt |
|---|---|---|
| Product description | Write a description for our water bottle. | You are an e-commerce copywriter. Write a 120-word description of a 750 ml insulated steel bottle for hikers. Mention: keeps cold 24 h, 380 g, dishwasher safe. Tone: practical, no superlatives. End with one line on the warranty. |
| Email subject lines | Give me subject lines for our newsletter. | Give 10 subject lines under 45 characters for a newsletter announcing a new invoicing feature to small business owners. Avoid capitals and exclamation marks. Rank them by expected open rate and explain the top 3 in one line each. |
| LinkedIn post | Write a LinkedIn post about our study. | Write a LinkedIn post of 150 to 200 words for HR managers about our survey of 400 recruiters (key finding pasted below). Open with the finding, add one practical tip, finish with a question. No hashtags in the text, three at the end. |
| Customer persona | Create a persona for our app. | From the 20 customer reviews pasted below, describe our main customer type in a table: role, company size, problem, trigger to buy, objections, words they use. Quote the reviews that support each line. |
| Ad variations | Make ads for our sale. | Write 5 Google Ads headlines (max 30 characters) and 3 descriptions (max 90 characters) for a 20% sale on running shoes, ending Sunday. Include the offer in every headline. Return a table with the character count. |
For ready-made SEO and GEO prompts built on this method, see our library of SEO and GEO prompts. To refine prompts over time, our entry on prompt optimization explains how to test versions against each other.
Prompts also matter from the other side. When a buyer asks ChatGPT "which accounting software for a small agency?" or asks Perplexity "best CRM for real estate", the answer names a few brands. Those prompts work like search queries: they are longer, more conversational and more specific, and they increasingly decide who gets considered.
Following a list of these prompts and checking which brands appear is called prompt monitoring. It tells you on which questions you are recommended, on which you are absent and which sources the AI cite instead. That data then guides your content: pages that answer those questions clearly, with sourced facts, are the ones assistants cite.
A good AI prompt gives the model what a good colleague would need: a role, the context, one task, clear constraints, a format and an example; and the prompts your customers type deserve the same attention, because they decide whether the AI recommend you. To track those customer prompts in ChatGPT, Claude and Gemini, Sorank follows 25 to 150 prompts depending on the plan, shows who is cited in your place and publishes optimized articles on autopilot, with a 3-day free trial.
As long as needed to give the context, the task, the constraints and the format, and no longer. A one-line prompt is fine for a simple question, while a content brief can run to several paragraphs with pasted material. Clarity matters more than length: remove anything that does not change the result.
Mostly yes. The core principles of context, clear task, constraints, format and examples work across current assistants. Results still differ in tone, length and formatting habits, so test an important prompt in each tool you use and adjust the constraints if needed.
A system prompt is a set of standing instructions placed before the conversation, such as the role, the tone and the rules the assistant must follow. Many tools let you set them as custom instructions or in a project. It saves you from repeating the same context in every message.
THEY TRIED SORANK BEFORE YOU
