AI Viewer
general March 9, 2026 3 min read

How to Write Effective AI Prompts

Write better AI prompts by providing context, defining the exact request, setting constraints, choosing a persona, and specifying the final format.

promptingbeginnersguideframeworks

Talking to an AI is not like using a search engine. When you use Google, you type keywords. When you use an AI, you provide instructions. The quality of the AI’s output is directly tied to the clarity of your input. This is called Prompt Engineering.

5 Steps to Writing the Perfect AI Prompt

  1. Provide Context: Give the AI background information and context.
  2. Define the Request: State exactly what you want the AI to do using action verbs.
  3. Set Constraints (Explanation): Tell the AI what not to do, or set boundaries on length.
  4. Choose a Persona (Action): Define the voice or tone the AI should adopt.
  5. Specify the Format (Type): State exactly how you want the final output structured.

What is the CREATE Framework?

To write consistently great prompts, use the CREATE framework.

Context

Give the AI background information. Who are you? What is the situation? Bad: Write an email to my boss. Good: I am a junior marketing associate. I need to write an email to my boss, Sarah, explaining that the Q3 social media report will be delayed by two days because we are still waiting on data from the paid ads agency.

Request

State exactly what you want the AI to do. Use strong action verbs. Examples: Summarize, brainstorm, translate, rewrite, draft, analyze.

Explanation (Constraints)

Tell the AI what not to do, or set boundaries on length and complexity. Examples: “Keep it under 200 words.” “Do not use corporate jargon.” “Explain this so a 10-year-old can understand.”

Action (Tone/Persona)

Define the voice the AI should adopt. Examples: “Act as an expert copywriter.” “Use a confident and persuasive tone.” “Be empathetic and professional.”

Type (Format)

Specify how you want the final output structured. Examples: “Provide the answer as a bulleted list.” “Format this as an HTML table.” “Write this as a 3-act play.”

How Do You Put Prompting Frameworks Together?

The Final Prompt: “Act as an expert copywriter (Action). I am launching a new organic dog food brand (Context). Brainstorm 5 potential Instagram ad captions (Request). They must be funny, under 50 words each, and not use the word ‘healthy’ (Explanation). Format them as a numbered list (Type).”

Frequently Asked Questions

What is prompt engineering?

Prompt engineering is the practice of crafting precise instructions to guide an AI model to produce the exact output you want.

Does spelling and grammar matter in a prompt?

While AI models can usually understand typos, clear grammar and structured formatting lead to more accurate and reliable responses.

How long should a prompt be?

A prompt should be as long as necessary to provide adequate context. A good prompt is often 3-4 paragraphs of detailed instructions.

Should I be polite to the AI?

Saying “please” and “thank you” doesn’t change the model’s intelligence, but using clear, direct, and professional language often yields cleaner results.

Qaisar Roonjha

Qaisar Roonjha

AI Education Specialist

Building AI literacy for 1M+ non-technical people. Founder of Urdu AI and Impact Glocal Inc.