12 Types of ChatGPT Prompts to use Like PRO

12 types of ChatGPT prompts with example templates

ChatGPT only gives you answers as good as the prompt you type. Same model, different prompt, completely different result.

Once you know the different types of ChatGPT prompts, you stop guessing and start picking the right one for the job.

In this guide I'll walk you through 12 prompt types, when I use each one, and a copy-paste template for every type.

Whether you write content, run marketing, or write code, this will save you a lot of back-and-forth with the chatbot.

Key Takeaways

  • Your prompt decides the quality of the answer you get.
  • Role prompting, personas, and constraints are the building blocks inside most prompt types.
  • Good prompts are clear, specific, and improved over a few rounds.
  • You can use these prompts for anything from writing content to analyzing data.
  • Knowing a few prompt frameworks makes ChatGPT a lot more predictable.
  • Understanding ChatGPT Prompts

    What Are ChatGPT Prompts?

    A ChatGPT prompt is simply the instruction you give a large language model (LLM). It can be one line or a full page, depending on what you need.

    Your job is to give it enough context and direction so the answer is useful the first time.

  • Role Prompting: You give the AI a role, like a teacher or a customer service agent. This sets the tone and style of the answer.
  • Persona: Close to role prompting, but you give the AI a full character or identity. That changes its tone, word choice, and approach.
  • Constraints: These are the rules that keep the answer inside your boundaries, like a word count, a style guide, or things it must include.
  • The Importance of Context

    Context is what turns a generic answer into an accurate one. When ChatGPT knows the background of your task, it guesses less and gets more precise.

  • Instructions: Say what the task is, what outcome you want, and any details that matter.
  • Output Format: Tell it the shape you want: bullet points, paragraphs, a table, or a list.
  • Step-by-Step Guidance: Break big tasks into smaller steps. I do this a lot for coding help and data analysis.
  • Types of Prompts

    Zero-Shot Prompting

    Zero-shot prompting means you give ChatGPT a task with no examples at all. It relies on what the model already learned in training.

  • Use Cases: Great for general knowledge tasks, like answering trivia questions or giving definitions.
  • Challenges: With no examples to follow, answers can be less accurate, especially on complex or niche topics.
  • AI Prompt
    Task: {WHAT YOU WANT DONE}
    
    Context: {WHO/WHAT/WHY, any key background}
    
    Audience: {BEGINNER / EXEC / DEVELOPER / CUSTOMER}
    
    Output format: {BULLETS / TABLE / JSON / STEPS / EMAIL / SCRIPT}
    
    Constraints: {WORD COUNT, TONE, MUST/AVOID, TOOLS, SOURCES}
    
    Success criteria: {WHAT A “GOOD” ANSWER LOOKS LIKE}

    Few-Shot Prompting

    Few-shot prompting means you show ChatGPT a few examples first. It picks up the pattern and follows it, so the output is more accurate and on-target.

  • Use Cases: Perfect when you need a specific format or style, like marketing copy or article summaries.
  • Advantages: Examples show the model exactly what "good" looks like, so it needs fewer corrections.
  • AI Prompt
    You are a performance copywriter.
    
    Write {COPY TYPE} for {PRODUCT/OFFER}.
    Constraints:
    
    Hook style: {HOOK TYPE}
    
    Benefit bullets: {COUNT}
    
    CTA: {CTA}
    
    Avoid: {BUZZWORDS/CLAIMS/ETC}
    
    Examples (match the rhythm and punchiness)
    
    Example 1
    Input: {PRODUCT_1 + CONTEXT}
    Output:
    {COPY_1}
    
    Example 2
    Input: {PRODUCT_2 + CONTEXT}
    Output:
    {COPY_2}
    
    Now write this
    
    Input: {PRODUCT + CONTEXT}
    Output:

    Chain-of-Thought Prompting

    Chain-of-thought prompting walks the AI through a logical sequence of steps to reach an answer. I use it for anything that needs reasoning or problem-solving.

  • Use Cases: Data analysis, research, and coding help, where a step-by-step approach matters.
  • Benefits: It makes the AI work through the problem, so the answer is more logical and easier to follow.
  • AI Prompt
    Do {TASK} and provide a clear, teachable explanation.
    
    Requirements:
    
    Give a concise answer.
    
    Then give a step-by-step explanation that is easy to follow, including any intermediate results that matter.
    
    Do not include hidden internal reasoning, only the reasoning needed for clarity.
    
    Output:
    
    Answer:
    
    Explanation:

    Self-Consistency Prompting

    Self-consistency prompting asks for several solutions to the same problem and then picks the answer that shows up most consistently.

    Think of it as an upgrade to step-by-step reasoning when you need more reliable answers.

  • Use Cases: Math word problems, logic puzzles, and any task where a single line of reasoning can break easily.
  • Benefits: Random mistakes drop because the answers "vote" against each other across multiple attempts.
  • AI Prompt
    You are an expert {ROLE}.
    
    Task: {PROBLEM}
    
    Generate {N} independent solutions.
    Rules:
    - Use different approaches if possible.
    - For each attempt, provide: (a) short reasoning summary, (b) final answer only.
    
    Then:
    - Compare the {N} final answers.
    - Choose the most consistent answer.
    - Output ONLY:
      1) Final Answer
      2) Confidence (0 to 100)
      3) 1 or 2 line justification for why this answer won.
    

    Least-to-Most Prompting

    Least-to-most prompting breaks a hard problem into smaller, easier pieces. The AI solves them in order and uses earlier answers to help with later steps.

  • Use Cases: Multi-step reasoning, questions with several parts, and complex instructions that fail when you try them in one shot.
  • Benefits: It handles problems that are harder than your examples, because it builds up from the easy parts.
  • AI Prompt
    You are {ROLE}. Solve the task using least-to-most decomposition.
    
    Problem: {PROBLEM}
    
    Step 1 (Decompose):
    - List the smallest set of subproblems needed to solve the main problem.
    - Keep each subproblem simple and answerable.
    
    Step 2 (Solve):
    - Solve subproblem 1, then 2, etc.
    - Reuse prior sub-answers.
    
    Output format:
    - Subproblems:
      1) ...
      2) ...
    - Solutions:
      1) ...
      2) ...
    - Final answer: ...
    - Quick check: ...
    

    Self-Ask Prompting

    Self-ask prompting makes the model write the follow-up questions it needs, answer them, and then put together the final response.

    It works really well with search or retrieval when facts matter.

  • Use Cases: Research, fact-heavy Q&A, troubleshooting, planning, and fuzzy questions that need some clarifying first.
  • Benefits: It builds a "questioning" habit into the answer, so fewer gaps slip through.
  • AI Prompt
    You are an expert {ROLE}.
    
    Main question: {QUESTION}
    
    First, write "Follow-up Questions:" and list 3 to 7 questions you must answer to solve this well.
    Then write "Answers:" and answer each question (use the provided context, or note what is missing).
    Then write "Final:" and provide the final answer.
    
    Constraints:
    - If a follow-up requires external data and none is provided, say: "Missing data: {WHAT}" and continue.
    - Keep the final answer clean and user-ready.
    

    ReAct Prompting

    ReAct mixes reasoning with actions (like using tools, search, or a knowledge base). The model thinks, does something, checks the result, and adjusts.

  • Use Cases: Tool calls, browsing, multi-step research, debugging with logs, and workflows where the next step depends on what was found.
  • Benefits: Fewer made-up answers, because the model pulls in evidence along the way.
  • AI Prompt
    You are {ROLE}. Use Reason + Act steps.
    
    Goal: {GOAL}
    Available tools/actions: {TOOLS_LIST}
    
    Loop:
    1) Reason: Briefly state what you will do next and why.
    2) Act: Choose ONE action from {TOOLS_LIST} and specify exact input.
    3) Observe: Summarize what you learned from the result.
    Repeat until solved.
    
    Final:
    - Answer:
    - Evidence used:
    - Remaining uncertainties (if any):
    

    Tree-of-Thoughts Prompting

    Tree-of-thoughts explores several possible reasoning paths, scores them, and picks the best route instead of following one straight line.

  • Use Cases: Hard planning, puzzle-like problems, creative strategy, and tasks where trying alternatives matters.
  • Benefits: Better results, because it can branch, compare options, and back up when a path goes nowhere.
  • AI Prompt
    You are {ROLE}. Solve using a tree of options.
    
    Problem: {PROBLEM}
    
    1) Generate {K} candidate "thoughts" (approaches).
    2) Score each thought from 1 to 10 using criteria: {CRITERIA}.
    3) Expand the top {TOP_M} thoughts into next-step thoughts.
    4) Repeat for {DEPTH} rounds or until a solution is clear.
    5) Choose best path and produce final output.
    
    Output format:
    - Candidates + scores:
    - Best path (high-level):
    - Final answer:
    - Why this path won:
    

    Retrieval-Augmented Prompting (RAG-style Prompting)

    RAG-style prompting gives the model your documents and tells it to answer using only that evidence. It's the standard way to get factual, reliable answers.

  • Use Cases: Knowledge bases, company docs, policies, customer support, research summaries, and anything where a made-up answer would cost you.
  • Benefits: More accurate answers you can trace back to a source.
  • AI Prompt
    You are {ROLE}. Answer using ONLY the provided sources.
    
    Question: {QUESTION}
    
    Sources:
    [1] {DOC_1}
    [2] {DOC_2}
    ...
    
    Rules:
    - If the answer is not in the sources, say "Not found in sources."
    - Quote or cite the source number for each key claim.
    - Do not use outside knowledge.
    
    Output:
    - Answer:
    - Source citations:
    - Gaps / what to retrieve next:
    

    Self-Refine Prompting

    Self-refine is a loop: write a draft, critique it, then rewrite it using that critique. You can repeat it for a few rounds.

  • Use Cases: Writing, code cleanup, policy checks, explanations, and any first draft that is "close but not great."
  • Benefits: Clearer, more correct output without needing any new data. Just better iteration.
  • AI Prompt
    You are {ROLE}. Use iterative self-refinement.
    
    Task: {TASK}
    Constraints: {CONSTRAINTS}
    Quality bar: {RUBRIC}
    
    Round 1:
    - Draft:
    
    Round 1 Critique:
    - Issues (bullet list):
    - What to improve (bullet list):
    
    Round 2:
    - Revised Draft:
    
    Stop after {ROUNDS} rounds or when rubric is satisfied.
    Final output: provide only the best draft, plus a 3-bullet changelog.
    

    Structured Output Prompting (Schema-First)

    Structured output prompting forces the answer into a strict shape (usually JSON). That makes it reliable to plug into other tools and automations.

  • Use Cases: Data extraction, content briefs, product catalogs, checklists, agents, and any workflow that needs the same fields every time.
  • Benefits: Fewer formatting errors, missing keys, and messy outputs, so results are easy to parse and reuse.
  • AI Prompt
    Return output in EXACT JSON matching this schema:
    {PASTE_JSON_SCHEMA_OR_FIELD_LIST}
    
    Task: {TASK}
    Input: {INPUT}
    
    Rules:
    - Do not add extra keys.
    - Use empty strings or null when unknown (as allowed).
    - Ensure enums and types match.
    
    Return JSON only.
    

    Program-Aided Prompting (PAL-style)

    PAL-style prompting asks the model to write code (like Python) for the parts it would likely get wrong in plain text, then use the computed result in its answer.

  • Use Cases: Math, data transformations, unit conversions, statistics, and algorithm-style reasoning.
  • Benefits: Fewer arithmetic mistakes, because the "thinking" turns into code that actually runs.
  • AI Prompt
    You are {ROLE}. Use program-aided reasoning.
    
    Problem: {PROBLEM}
    Data: {DATA}
    
    1) Write Python code to compute the answer.
    2) Show the computed result.
    3) Explain the result in plain English.
    4) Provide the final answer.
    
    Output format:
    - Code:
    - Result:
    - Explanation:
    - Final:
    

    Crafting Effective Prompts

    Clarity and Specificity

    Clarity and specificity matter more than anything else. A vague prompt gets you a vague, off-target answer.

  • Best Practices: Use plain, short language, skip the jargon, and say exactly what outcome you want. Examples and templates help a lot here.
  • Iteration: Your first prompt rarely is your best one. Try a few versions and adjust based on what comes back.
  • Tone of Voice and Style

    The tone you ask for shapes the tone you get. Set it on purpose.

  • Considerations: Think about who will read it and why. A formal tone fits business emails, while a casual one fits social media.
  • Style Guides: If you have a style guide, paste the key rules in. It keeps language, formatting, and tone consistent.
  • Practical Tips and Examples

    Actionable Tips for Prompt Engineering

  • Start Simple: Start with a simple prompt and add detail only when you need it.
  • Use Templates: Save templates for tasks you repeat. It saves time and keeps results consistent.
  • Test and Refine: Keep testing and tweaking. Each answer tells you what to fix in the prompt.
  • Incorporate Feedback: Use follow-up questions and feedback to steer the conversation where you want it.
  • Examples of Effective Prompts

  • Content Writing: "Write a 200-word blog introduction about the benefits of AI in healthcare. Use a formal tone."
  • Marketing Copy: "Create a catchy slogan for a new eco-friendly water bottle. Focus on sustainability and innovation."
  • Data Analysis: "Analyze the following dataset and provide a summary of key trends. Use bullet points for clarity."
  • A Before-and-After Prompt Example

    Here's what all of this looks like on a real task. Same request, two prompts.

    Before: the vague prompt

    AI Prompt
    Write a LinkedIn post about time management.
    linkedin.png
    Output from a vague ChatGPT prompt about time management

    This is zero-shot with no context. ChatGPT has to guess the reader, the length, and the tone, so you get something generic.

    After: the clear prompt

    AI Prompt
    Write a LinkedIn post about time management for early-career project managers in tech.
    
    Goal: encourage readers to try one practical method this week
    Context: they feel overwhelmed by meetings and Slack messages
    Tone: supportive, confident, not preachy
    Constraints: 120 to 160 words, no hashtags, no emojis, avoid buzzwords
    Output format:
    - 1-sentence hook
    - 3 bullet tips
    - 1 closing question
    linkedin-post.png
    Output from a detailed ChatGPT prompt with audience, tone and format

    The second prompt adds the context, constraints, and output format we covered above. Now ChatGPT knows who it's writing for and what shape the post should take, so there's far less to fix afterwards.

    The same trick works for job hunting too. If you're updating your CV, my ChatGPT prompts for resume writing are a good place to practice it.

    A Reusable Prompt Template

    When I don't know which type to start with, I fill in this template. It covers most everyday tasks, and you can bolt any of the 12 types on top of it.

    AI Prompt
    Goal: [WHAT YOU WANT] because [WHY YOU NEED IT]
    
    Context: [BACKGROUND / DETAILS / SOURCE TEXT]
    
    Audience: [WHO IT'S FOR + KNOWLEDGE LEVEL]
    
    Constraints: [LENGTH] + [TONE] + [DO/DON'T] + [SCOPE] + [SOURCES IF NEEDED]
    
    Output format: [BULLETS / TABLE / OUTLINE / STEPS]
    
    Example to imitate: [PASTE A SHORT SAMPLE]

    Add an example at the bottom and it becomes few-shot. Add "solve it step by step" and it becomes chain-of-thought. Simple as that.

    Want to see this kind of structure filled in for real tasks? I put 100+ of them in my AI prompt examples guide.

    Set It Once With ChatGPT Custom Instructions

    If you keep typing the same context into every prompt (your job, your audience, the tone you like), stop. That's what custom instructions are for.

    Custom instructions are notes you save once, and ChatGPT considers them in every new chat. According to OpenAI's help center, they're available on all plans, on web, desktop, iOS, and Android.

  • Web and desktop: open Settings, go to Personalization, and type into the Custom Instructions field.
  • iOS and Android: open Settings, tap Customize ChatGPT, and fill in the Custom Instructions field.
  • Changes apply to future conversations, not chats you've already started. There's also a character limit that depends on your plan, so keep it tight.

    Here's an example you can adapt:

    AI Prompt
    I write a marketing blog for small business owners.
    Write in plain, friendly English with short paragraphs.
    Use bullet points when listing more than 3 things.
    If my request is unclear, ask me up to 3 questions before answering.
    Never invent statistics. If you're not sure about a fact, say so.

    Think of it as a permanent role and constraints prompt. Your normal prompts then only need the task itself.

    Troubleshooting: Why Your Prompt Isn't Working

    Before you rewrite the whole prompt, run through this quick checklist. It usually shows me what's missing in under a minute.

    Quick Diagnostic Checklist

  • Goal: Can you state the outcome you want in one sentence?
  • Example: "Write a 900-word landing page that sells [PRODUCT] to [AUDIENCE]."
  • Audience: Did you say who it's for and what they care about?
  • Example: "Target: first-time homebuyers who are anxious about hidden costs."
  • Format: Did you define the structure and deliverables?
  • Example: "Use 5 sections with H2 headings, plus a 3-bullet summary at the end."
  • Constraints: Are length, tone, and reading level easy to spot?
  • Example: "Keep it under 600 words, 8th-grade reading level, confident but not hypey."
  • Inputs: Did you give it the facts and source material it needs?
  • Example: "Use these features: [FEATURE 1], [FEATURE 2], pricing: [PRICE]."
  • Exclusions: Did you say what to avoid?
  • Example: "Do not mention competitors or use fear-based language."
  • Quality control: Did you ask for a self-check?
  • Example: "Check that every claim is supported by the info I gave you. Flag any assumptions."
  • Problem: The Answer Is Too Long or Too Short

    This happens when ChatGPT has to guess how much detail you want.

  • Fix: Give a word count range.
  • Example: "Write 700 to 900 words."
  • Fix: Limit the sections.
  • Example: "Use exactly 4 sections, each 120 to 160 words."
  • Fix: Say what to include and what to skip.
  • Example: "Focus on benefits and use cases. Skip history and definitions."
  • Problem: The Answer Is Off-Topic

    Off-topic answers usually come from a vague goal or no boundaries.

  • Fix: Restate the goal in one line it can't miss.
  • Example: "Goal: help [AUDIENCE] decide between [OPTION A] and [OPTION B]."
  • Fix: Add exclusions.
  • Example: "Don't include implementation steps. This is decision support only."
  • Fix: Tighten the context.
  • Example: "Assume the reader knows the basics. Focus on trade-offs and risks."
  • Problem: The Answer Is Too Generic

    Generic writing means the prompt has no clear reader, no constraints, or nothing to copy. This is where few-shot prompting shines.

  • Fix: Give it an example to imitate.
  • Example: "Match this style: short sentences, specific numbers, no clichés."
  • Fix: Add constraints that force detail.
  • Example: "Include 3 real-world scenarios, 2 objections, and 1 counterexample."
  • Fix: Define the reader and their situation.
  • Example: "Write for busy IT managers at mid-sized companies who need a quick recommendation."
  • Problem: The Answer Has Errors or Made-Up Details

    Errors show up when ChatGPT has to fill gaps and nobody asked it to check its work. RAG-style and self-ask prompts help a lot here.

  • Fix: Ask it to list assumptions first.
  • Example: "Before drafting, list any assumptions you're making. If critical info is missing, ask me 3 questions."
  • Fix: Ask for a self-check pass.
  • Example: "After writing, confirm every claim is supported by my inputs and remove anything uncertain."
  • Fix: Lock it to your source material.
  • Example: "Use only the information in [SOURCE NOTES]. If something isn't there, say 'Not provided.'"
  • Problem: ChatGPT Ignores Your Instructions

    When instructions are buried or fight each other, the model follows the wrong one.

  • Fix: Put the non-negotiables at the top.
  • Example: "Non-negotiables: 500 to 650 words, no jargon, 5 bullets max, friendly tone."
  • Fix: Remove competing requirements.
  • Example: Swap "detailed but short, formal but casual" for "concise and professional."
  • Fix: Spell out the priority order.
  • Example: "Priority: (1) accuracy, (2) relevance to [AUDIENCE], (3) brevity, (4) tone."
  • Prompt Repair Template

    When a prompt still isn't working, I paste it into this and fill in the blanks.

    AI Prompt
    Task: [WHAT YOU WANT PRODUCED]
    Goal: [THE OUTCOME FOR THE READER]
    Audience: [WHO IT'S FOR + THEIR CONTEXT]
    Inputs: [FACTS, NOTES, LINKS, REQUIREMENTS]
    Output format: [STRUCTURE, HEADINGS, BULLETS, TABLES]
    Length: [WORD COUNT OR SECTION LIMITS]
    Tone/style: [TONE + WHAT THAT MEANS]
    Must include: [KEY POINTS]
    Must avoid: [TOPICS, CLAIMS, PHRASES]
    Assumptions: List your assumptions first. Ask up to [NUMBER] clarifying questions if needed.
    Self-check: Verify against my inputs, flag anything uncertain, and confirm every constraint is met.

    Conclusion

    You now know the 12 types of ChatGPT prompts and how I write each one. Focus on clarity, specificity, and context, and ChatGPT will give you answers you can actually use.

    Pick one type you haven't tried yet and test it on a real task this week. That's honestly the fastest way to get better at this.

    And if you just want to have some fun while you practice, try a few of my fun prompts for ChatGPT and see which type each one uses.

    Frequently Asked Questions

    What are the main types of ChatGPT prompts?

    The ones I use most are zero-shot, few-shot, chain-of-thought, self-consistency, least-to-most, self-ask, ReAct, tree-of-thoughts, RAG-style, self-refine, structured output, and program-aided (PAL) prompts. Each one fits a different kind of task.

    How long should a ChatGPT prompt be?

    As long as it needs to be to cover the task, the context that changes the answer, and your constraints. Clarity beats length every time, and always say what output format you want.

    What's the best structure for a prompt?

    Goal, context, audience, constraints, and output format, plus an example if you have one. That simple structure works as a reusable template for most tasks.

    How do I stop ChatGPT from making things up?

    Ask it to state its assumptions, flag anything it is unsure about, and answer only from the sources you give it (RAG-style prompting). Then check the key facts yourself before you use them.

    Where do I set ChatGPT custom instructions?

    On web and desktop, open Settings and go to Personalization. On iOS and Android, open Settings and tap Customize ChatGPT. Your instructions apply to new chats from then on.

    You don’t have to pick one

    Write better prompts for ChatGPT and Gemini

    Try my free prompt generators for both. When you want ready-made prompts for every task, the Prompter plan has 29,172 of them.

    Share this article
    Ramanpal Singh

    Ramanpal Singh

    Ramanpal Singh Is the founder of Promptslove, kwebby and copyrocket ai. He has 10+ years of experience in web development and web marketing specialized in SEO. He has his own youtube channel and active on social media platform.