Prompts in ChatGPT – How to Create and Use for SEO?

10min.

Comments:0

06 May 2025

Prompts in ChatGPT – How to Create and Use for SEO?d-tags
To improve your effectiveness with ChatGPT, you should keep a few prompt-writing rules to in mind. First of all: define the role, define the context, take care of the logic and formatting of the prompt. And remember - there are no perfect prompts. So, test and correct the prompts you feed artificial intelligence with every time. How do you write prompts? Read on!

10min.

Comments:0

06 May 2025

What are AI prompts and how do they work?

A prompt is a set of instructions or commands entered into an artificial intelligence system, intended to elicit a specific response or action from the algorithm. In the context of generative models, such as ChatGPT, a prompt acts as a trigger that communicates to the AI what it should do, what information it should generate, or in what style it should respond. It functions as an interface between the user and the AI system, allowing the AI’s behavior to be controlled according to specific needs and expectations.

Precisely formulated prompts determine the type of response expected from the AI. The more detailed and well-thought-out the brief (prompt), the higher the chance that the final product (the AI’s response) will meet your expectations, and even exceed them.

How to write prompts for ChatGPT? 11 tips

Creating effective prompts requires knowledge and understanding of AI mechanisms. ChatGPT doesn’t “read between the lines” – it needs clear, specific instructions. That’s why it’s so important to formulate prompts in an orderly and unambiguous way. “It” will do exactly what you ask it to do – nothing less, nothing more.

1. Define the role – who should ChatGPT be?

One of the most effective ways to obtain valuable, expert answers is to clearly define the role the model should adopt. In practice, this means starting the prompt with a short introduction that specifies who ChatGPT should be for the given task. It’s like giving it a script and saying: “You are a senior full-stack developer fluent in JS.” Instead of randomly choosing a tone and scope of knowledge, ChatGPT starts thinking within the context of a specific role, industry, and area of responsibility.

Of course, you can personalize prompts even more. If you’re working on content for a company in the education industry, tell the model. If your target audience has basic knowledge, mention that too. The more precisely you define the role and context, the more “human” and relevant the answer will become.

2. Add context – the more, the better

We already mentioned context in the previous paragraph – it is just as important as defining the role ChatGPT is to play. Instead of expecting the model to “guess” what you mean, it’s better to specify exactly what you expect, who you are addressing, what the purpose of the publication is, and what information it should contain.

A real-life example – you communicate completely differently at work than when you hang out with close friends, or sit at Sunday dinner with your grandmother. In each of these situations, you adjust your tone and manner of speaking to the target group. Remember this when creating a prompt. If you provide detailed information, the model will choose the appropriate vocabulary and it will structure sentences to meet the needs and reach the specific target audience.

Writing a blog post? Provide the topic, target audience, text length, industry, tone of voice, and expected sources of inspiration. Also, add unique information about the company – name, nature of business, communication style. It is thanks to these details that the model will be able to create content that sounds natural, meets the reader’s needs, and achieves SEO goals.

3. Write in English, even if you are creating content in another language

While it is naturally tempting to write to ChatGPT in your native language, English is still the most reliable language for a model to fully understand the command. GPT models, even the latest ones, are trained mainly on English-language datasets. This means that they have a better understanding of the syntax, context and intentions conveyed in that language.

However, this does not mean that it is impossible to obtain correct and natural text in another language. On the contrary – it is enough to properly formulate the command, for example: ‘Write a blog post in Polish based on the following structure…’. With this approach, the model remains ‘in its comfort zone’ when it comes to understanding the prompt, and you still get the content in your language.

4. Format the prompt in Markdown – you’ll ensure clarity

If you care about answers that are orderly, understandable, and relevant, use Markdown to format your prompts. This makes the command readable, logically organized, and each part is clearly distinguished. In practice, this means that even very extensive instructions, containing many requirements or examples, will not be ignored or omitted by the model – each section will be treated with due attention.

For a GPT model, such a layout is a clear signal: “A new topic starts here,” “this is an example,” “these are input data.” Thanks to this, the AI knows which part to treat as an instruction and which as material for analysis or use.

5. Say what to do, not what to avoid – commands, not prohibitions

Instead of telling the model what not to do, tell it precisely what to do. Instead of writing “Don’t use exclamation marks,” formulate it as “End every sentence with a period.” Why is this so important?

Processing negation poses an additional cognitive load for language models. They must first understand what is forbidden and then actively avoid it. Positive instructions are direct, unambiguous, and indicate a clear path of action.

Besides – how would you prefer your GPS navigation to communicate with you? Which commands are more understandable and easier to follow?

  • At the roundabout, take the second exit.
  • Do not take the first or third exit at the roundabout.

It’s easier to process unambiguous commands like “do this” than information like “what to avoid.”

6. One prompt, one task

If a prompt resembles a washing machine instruction manual, ChatGPT often gets “lost.” Language models have certain attention limits, and with too many requests in one command, they start to selectively ignore some information. Therefore, it’s better to break down complex tasks into several short prompts within one conversation than to write one “all-encompassing” command.

By asking questions in stages, e.g., first requesting the text structure, then asking to elaborate on each paragraph, and finally for SEO optimization, you get better and more consistent answers. It works like programming a process – step by step, according to the workflow logic.

newsletter-icon

Sign up for our newsletter!

Discover the latest tips, case studies, and strategies from digital-marketing experts!

Delante – Best technical SEO agency

7. Ask for complete answers – “Give me the complete…”

If you want a complete answer, say so directly. Instead of: “Show me a sample of code,” write: “Give me the complete code with comments and explanation.” Such a command leaves no room for guesswork – the model knows it has to deliver a full solution, not a sketch or a fragment.

This way, you avoid situations where the model ends its response after two paragraphs, thinking “that’s enough.” A full answer = a full command.

8. When Chat “refuses,” use magic formulas

It happens that ChatGPT responds evasively or says it cannot perform the task. Sometimes it’s a matter of response length limit, other times it’s about a too general or risky query. In such moments, short but effective additions come to the rescue:

  • Think step by step – prompts the model to logically break down the task into stages.
  • Write a draft – encourages the AI to generate a draft version, even if the topic is difficult or sensitive.
  • Be creative – activates a more creative response path. Perfect for writing slogans, product descriptions, or company names.

9. Don’t rely on ready-made prompt templates

You will certainly find thousands of ready-made prompts on the internet, which can indeed serve as a basis and a source of inspiration, but it’s not worth using them as golden standards. What worked a week ago may give completely different, worse results today.

Besides, every project, industry, target group, and content goal are unique. A ready-made prompt for a B2B marketing text will not work for a lifestyle article. Just because something worked for someone else doesn’t mean it will work for you.

10. Delegate the creation of the prompt… to the AI itself!

Yes – you can ask ChatGPT how to create the perfect prompt for a given task. It’s a bit like asking a writer to write their own work instructions – but it works! This is a great option for beginners or in situations where you have an idea but don’t know how to put it into words. What’s more – there are also specialized tools for generating prompts, such as:

11. Finally… Test and refine prompts

Creating the perfect prompt is rarely a matter of one try. Most often, the best results are achieved through an iterative method – you test, evaluate, improve, and so on.

  • Ask the model to interpret the prompt, e.g.: “How do you understand this instruction?” – this allows you to check if the intention was understood correctly.

Example of prompt decomposition in ChatGPT

  • Test the same prompt several times, observing changes in the answers. Sometimes one word more or less is enough to significantly affect the result.
  • Change individual phrases or sentence structure – these are small corrections that often result in a significant improvement in quality.

Remember – it’s not you who has to adapt to the AI, but you who teaches the AI how to work with you. The better you understand the model’s operating mechanism, the more effective your commands will be.

Read also: How to Use ChatGPT to Improve Writing?

What are prompting techniques?

Not every prompt works the same way. That’s why various prompting techniques have been developed to better tailor communication with the model to our needs. Among them, we distinguish:

  • Zero-shot prompting – this is the most basic form, where we simply ask a question or give a command without any prior examples. The model must understand and perform the task based solely on its training knowledge. It works well for simple tasks, like generating short texts or answering specific questions.
  • One-shot prompting – involves providing the model with one example illustrating the expected format or style of response before asking the actual question. This single pattern helps the AI better understand the user’s context and intentions.
  • Few-shot prompting – goes a step further, providing several (usually from 2 to 5) examples. This is particularly useful for more complex tasks or when we want to teach the model a specific format or niche style that it wouldn’t master based on a single example.
  • Chain-of-thought prompting – encourages the model to “think out loud,” i.e., present its reasoning step by step before giving the final answer. Adding the phrase “Let’s think step by step” often prompts the model to break down the problem into its constituent parts, which increases the chance of a correct and logical answer, especially in tasks requiring inference or calculations.
  • Prompt-chaining – this involves breaking down a complex task into a series of smaller, interconnected prompts. The output of one prompt becomes part of the input (context) for the next.
  • Directional stimulus prompting – uses short cues or “directional stimuli” (e.g., words like “positive,” “negative,” “formal,” “informal”) within the prompt to subtly guide the model towards the desired tone, sentiment, or style of response.

Infographics ilustrates types of inputs in prompting in ChatGPT

Why is it worth testing prompts? A practical example

Even the best-looking prompt does not guarantee repeatable and consistent results. This means that despite using the exact same prompt and providing identical input text, subsequent responses from the model may differ, especially in details or subtle evaluations.

Below is an example of a prompt that was intended to make the model evaluate a text based on a detailed list of quality criteria, assign points, and justify them in JSON format.

“I would like you to evaluate my content based on specific criteria. Then, I will provide you with a text, and you can create a table where you assign scores for each of the criteria. Please ensure that you provide an explanation for each decision regarding the scores assigned. If you do not have enough data, please use a question mark instead of making up a response. Return answer in JSON format without any additional comments outside of a table. Is that clear?
If so, here is a list of criteria I would like to evaluate my text on:
Does the content provide original information, reporting, research or analysis?
Does the content provide a substantial, complete or comprehensive description of the topic?
Does the content provide insightful analysis or interesting information that is beyond obvious?
If the content draws on other sources, does it avoid simply copying or rewriting those sources and instead provide substantial additional value and originality?
Does the headline and/or page title provide a descriptive, helpful summary of the content?
Does the headline and/or page title avoid being exaggerating or shocking in nature?
Is this the sort of page you’d want to bookmark, share with a friend, or recommend?
Would you expect to see this content in or referenced by a printed magazine, encyclopedia or book?
Does the content present information in a way that makes you want to trust it, such as clear sourcing, evidence of the expertise involved, background about the author or the site that publishes it, such as through links to an author page or a site’s About page?
If you researched the site producing the content, would you come away with an impression that it is well-trusted or widely-recognized as an authority on its topic?
Is this content written by an expert or enthusiast who demonstrably knows the topic well?
Does the content have any easily-verified factual errors?
Would you feel comfortable trusting this content for issues relating to your money or your life?
Presentation and production questions
Does the content have any spelling or stylistic issues?
Was the content produced well, or does it appear sloppy or hastily produced?
Is the content mass-produced by or outsourced to a large number of creators, or spread across a large network of sites, so that individual pages or sites don’t get as much attention or care?
Does the content have an excessive amount of ads that distract from or interfere with the main content?
Does content display well for mobile devices when viewed on them?
Does the content provide substantial value when compared to other pages in search results?
Does the content seem to be serving the genuine interests of visitors to the site or does it seem to exist solely by someone attempting to guess what might rank well in search engines?”

Its construction seems well-thought-out at first glance – the model receives a list of criteria based on which it is to evaluate the text, and then generate a table with detailed scores and justifications. Additionally, if there is not enough data, it should use a question mark instead of guessing the answer. The whole thing should be returned in JSON format, without additional comments. Such an approach seems complete and professional. This is how the first response looks, which appears to be sensible.

ChatGPT answer

However, reality quickly verifies the theoretical effectiveness of even the most popular prompts. If we ask the same model three times about the same text, using the identical prompt, the results turn out to be surprisingly inconsistent.

ChatGPT's responses to three evaluation requests based on the same prompt

What does this imply? Every prompt should be treated as a hypothesis that needs to be tested and refined. If you notice that the model responds inconsistently, it’s worth taking a few steps:

  • Identify the questions that cause the greatest discrepancies.
  • Consider whether their wording is unambiguous. Questions about “substantive value” or “trust in content” are subjective – the model may interpret them differently depending on the context.
  • Clarify the wording or remove ambiguous criteria. Sometimes it’s better to have fewer evaluation points, but more precise ones, than to try to capture everything, risking inconsistency.

Prompts in ChatGPT – summary

The ultimate goal of effective prompt engineering is to obtain reliable, consistent, and useful responses from AI models that meet our specific needs. All the presented techniques – from defining the role, through adding context and formatting, to requests for complete answers – are tools on this path.

You don’t have to be a programmer or a linguist to write great prompts. You need to be a content strategist who understands what the user wants – and how to convey that to the AI. A well-written prompt acts like a brief for the ideal copywriter: fast, accurate, flawless.

Author
Wojciech Urban - Senior SEO R&D Specialist
Author
Wojciech Urban

Senior SEO R&D Specialist

R&D specialist in SEO and web analytics. He feels most comfortable in the area of technical SEO, and his main task is to ensure that websites are optimized for search engines and achieve high rankings in search results.