Guide · Getting started

How to Write a Good AI Prompt: A 7-Step Guide

Core rules for writing prompts that get more accurate, usable answers from ChatGPT, Claude or Gemini: role, context, goal, format, examples and review.

The quality of the answers you get from AI assistants depends largely on what you ask them. Told to “summarize this,” the same model produces an ordinary summary; when you explain clearly what you want, it produces text you can use directly. The seven steps below work with ChatGPT, Claude, Gemini and all similar chat assistants.

1. State the task clearly in a single sentence

The first sentence of your prompt should tell the model exactly what to do. Instead of “Write something about marketing,” a task definition such as “Write a three-sentence Instagram promo for a newly opened coffee shop” leaves the model no need to guess.

2. Provide the context

The model does not know your company, your customer or your project. The more relevant information you give, the more accurate the answer: who the audience is, where the text will be used, what has been tried before, and what matters. If you are working from a long document, paste the document in directly; this works better than describing a summary of it.

3. Specify the audience and tone

A phrase such as “for executives,” “for customers with no technical background” or “in a way a 10-year-old would understand” directly changes the model’s word choice and level of detail. State the tone as well: formal, friendly, persuasive, neutral.

4. Describe the format you want

Say what the output should look like: a bulleted list, a table, an email, a 150-word paragraph? Add details such as length, use of headings and language. For example: “Give the result as a 5-item list; each item should be no more than two sentences.”

5. Show an example

Including a sample of text you like is more effective than long explanations. You can share a paragraph and say “Write in this style:” or provide an example of the output format you want. The model imitates the structure and tone of the example.

6. Write down constraints and prohibitions

Say what you don’t want, too: “Don’t make up numbers; flag information you’re unsure about,” “Don’t use technical terms,” “Don’t mention competing brands.” Especially in fact-based work, asking the model to cite sources or flag anything it is unsure about reduces the risk of fabricated information (hallucination).

7. Check the answer and refine the prompt

If the first answer isn’t what you expected, rather than starting over, say what is missing: “Make it shorter,” “Expand the second item with a concrete example,” “Make the tone more formal.” For a task you perform often, you can save a prompt that works well and reuse it as a template.

Example: a weak prompt and a strong prompt

Weak prompt: “Summarize my meeting notes.”

Strong prompt: “Summarize the following project meeting notes for executives who did not attend the meeting. First write a two-sentence overview, then list the decisions made and who is responsible for each, as bullet points. Keep dates and figures exactly as they are; do not add any information that is not in the notes.”

Because the second prompt provides the task, audience, format and constraints together, it produces a usable result on the first try.

Things to watch out for

  • Always verify the numbers, dates, names and quotations produced by AI in important work.
  • Before entering personal data and company secrets into prompts, find out the data policy of the tool you are using.
  • When working with long documents, remember that you can exceed the model’s context window limit; provide very long content in sections.

FAQ

Is a "prompt" the same thing as an "istem"?

Yes. "Prompt" is the English term; in Turkish it is called "istem," and it refers to the instruction or question you give an AI system.

Should I write prompts in Turkish or English?

Most current models understand Turkish prompts well. Writing the prompt in the language you want the output in usually gives the most consistent results.

Is a long prompt or a short prompt better?

The best prompt provides the necessary context without needless repetition. For complex tasks, long and detailed prompts usually produce better results.

More guides

Related news

Control room with monitors and chairs
Security

UK’s AI Security Institute questions how AI agent monitors are tested

The UK’s AI Security Institute argues that simulated sabotage tests of systems that monitor AI agents may not be as reassuring as they appear. The rate of missed harmful actions rose to 22.7% under optimized attacks.

Lines of colorful JavaScript code displayed on a dark screen
Models

Moonshot AI releases open weights for Kimi K3.1 Pro

China’s Moonshot AI has made the weights of the 2.8 trillion-parameter Kimi K3.1 Pro publicly available on Hugging Face. The model was further strengthened with additional reinforcement learning for coding, 3D design and long-running agent tasks.

Startups & Investment

Anthropic makes Nasdaq debut in largest IPO in history

Anthropic, the maker of Claude, began trading on Nasdaq under the ticker ANT on November 19. The IPO was priced at $83 per share, and shares opened at a 34% premium, trading at $111.50.

Regulation

Oregon and Virginia sue SpaceX over Grok’s sexualized deepfake images

The Oregon and Virginia attorneys general accuse X and Grok operator SpaceX of violating consumer protection laws. The company points to bad actors who it says deliberately tried to bypass safeguards.