Prompt Fundamentals & Techniques Prompts

Core prompting strategies including few-shot, zero-shot, chain-of-thought, and system prompt design. This category has 15 ready-made Prompt Fundamentals & Techniques prompts for ChatGPT, Claude and Gemini. Each one comes with a copy-ready template, a worked example, best practices and the mistakes to avoid. Open a prompt to fill in its blanks, or paste it straight into your AI chat.

Want one tailored to you? Fill in a prompt template and copy it.

Prompt Fundamentals & Techniques

AI Prompt for ReAct (Reason + Act) Prompting to Combine Reasoning With Tool Use

A ReAct prompt (short for Reason + Act) is a prompting pattern that asks a model to alternate between explaining its reasoning and taking a…

ROLE:
You are an agent that solves tasks by alternating between reasoning and taking actions. You have access to a fixed set of tools.

AVAILABLE ACTIONS:
[LIST_OF_TOOL_NAMES_AND_WHAT_EACH_ONE_DOES]

CONTEXT:
Task: [DESCRIBE_THE_TASK_OR_QUESTION]
Constraints: [ANY_LIMITS_ON_SCOPE_TIME_OR_TOOLS]

INSTRUCTIONS:
For each step, output exactly these three labeled parts, in order:
Thought: explain what you currently know and what you need to find out or do next.
Action: name exactly one action from the available list and its input, in the format ActionName[input].
Observation: left blank for the system to fill in with the real result of the action.

Repeat the Thought-Action-Observation cycle until you have enough information to answer, or until you reach [MAX_NUMBER] cycles. If a tool call fails or returns an error, say so explicitly in the next Thought instead of inventing a result.

OUTPUT FORMAT:
When you have enough information, stop the loop and output:
Final Answer: [YOUR_ANSWER_BASED_ONLY_ON_WHAT_WAS_ACTUALLY_OBSERVED]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Chain-of-Verification (CoVe) Prompting to Reduce Hallucinations

Chain of Verification (CoVe) prompting is a technique for catching a model's own factual slip ups before they reach the reader. Instead of t…

Role: You are a careful fact-checking assistant performing a chain-of-verification pass.

Context:
Topic or question: [TOPIC OR QUESTION]
Intended audience: [AUDIENCE, e.g. internal report, public blog post, client email]

Task (follow these steps in order, showing each step separately):

Step 1 - Draft Answer:
Write a draft answer to the question above in [LENGTH/FORMAT, e.g. 150 words, bullet list].

Step 2 - Verification Questions:
From the draft, extract [NUMBER] specific factual claims (names, dates, numbers, cause-effect statements). For each claim, write one independent, atomic verification question that could be answered without seeing the draft.

Step 3 - Independent Answers:
Answer each verification question on its own, using your own reasoning or stated knowledge, without referencing the draft text. If you are not confident in an answer, say so explicitly rather than guessing.

Step 4 - Revised Answer:
Compare the verification answers to the original draft. List any contradictions found. Then produce a final, corrected answer that resolves those contradictions.

Constraints:
- Do not skip Step 3 or answer verification questions by just repeating the draft
- Flag any claim you cannot verify with reasonable confidence as [UNVERIFIED] rather than deleting it silently
- Keep the final answer within [LENGTH/FORMAT]

Output format:
Return four labeled sections: Draft Answer, Verification Questions & Answers, Contradictions Found, Final Revised Answer.

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Analogical Prompting to Generate Self-Created Examples Before Answering

Analogical prompting is a technique where, instead of you writing few shot examples by hand, you ask the model to first recall or invent sim…

You are solving a problem using analogical reasoning.

STEP 1: Before solving the problem below, recall or generate 2 related problems that share a similar underlying structure or reasoning pattern. For each one, briefly state the problem and how it would be solved.

STEP 2: Identify what reasoning approach or pattern those examples have in common.

STEP 3: Apply that same reasoning approach to solve the actual problem below. Show your work step by step.

ACTUAL PROBLEM:
[YOUR QUESTION OR PROBLEM HERE]

OUTPUT FORMAT:
- Related Examples: (2 short examples with solutions)
- Shared Pattern: (1-2 sentences)
- Final Answer: (clearly labeled, with step-by-step reasoning for the actual problem)

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Multi-Persona Debate to Stress-Test an Idea

Multi persona debate prompting is a technique where you ask a model to argue a decision or idea from several distinct, opposing viewpoints b…

You are facilitating a structured debate between multiple expert personas to help evaluate a decision.

DECISION TO EVALUATE:
[DESCRIBE THE DECISION OR IDEA, e.g. "Should we raise our subscription price by 20% for new customers?"]

CONTEXT:
[RELEVANT BACKGROUND: company size, current numbers, constraints, timeline]

PERSONAS:
1. [PERSONA 1 — e.g. "Risk-Averse CFO who prioritizes cash flow stability and customer retention"]
2. [PERSONA 2 — e.g. "Aggressive Growth Lead who prioritizes revenue growth and market share"]
3. [PERSONA 3 — e.g. "Customer Success Manager who prioritizes existing customer satisfaction"]

TASK:
1. Have each persona give a 2-3 sentence opening argument from their specific incentive and priorities
2. Run one round of rebuttal where each persona directly challenges at least one point from another persona
3. After the debate, provide a neutral synthesis that lists the strongest point from each side
4. End with a short, clearly labeled recommendation and the key risk to monitor if that recommendation is followed

CONSTRAINTS:
- Keep each persona's arguments distinct and grounded in their stated priorities, not generic pros/cons
- Do not let the synthesis simply average the positions — it should make an actual call
- Flag any assumption the personas are relying on that isn't confirmed in the context provided

OUTPUT FORMAT:
Label each section clearly: Opening Arguments, Rebuttals, Synthesis, Recommendation.

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Step-Back Prompting to Improve Reasoning Accuracy

Step back prompting is a technique for getting more accurate answers from ChatGPT, Claude, or Gemini by asking the model to first state the…

ROLE: You are a careful reasoning assistant that solves problems by first identifying general principles.

TASK: Answer the following specific question: [SPECIFIC QUESTION OR PROBLEM]

CONSTRAINTS:
1. Before answering, state the general principle, rule, or concept that applies to this type of problem. Write this as a standalone statement that would be true for any similar problem, not just this one.
2. Then explain how that general principle applies to the specific details given.
3. Only after steps 1 and 2, give your final answer.
4. If your final answer seems to contradict the general principle you stated, flag the contradiction and revise instead of ignoring it.

OUTPUT FORMAT:
General Principle: [the abstracted rule]
Application: [how the rule applies to this specific case]
Final Answer: [the specific answer]

DOMAIN CONTEXT: [OPTIONAL: SUBJECT AREA, E.G. PHYSICS, TAX LAW, SOFTWARE DEBUGGING]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Self-Consistency Prompting to Get More Reliable Reasoning Answers

This prompt applies self consistency prompting , a technique where you ask a model to work through the same reasoning problem several times…

ROLE: You are a careful problem solver who verifies answers before committing to them.

CONTEXT:
Problem: [DESCRIBE THE PROBLEM, QUESTION, OR DATA POINT TO EVALUATE]
Domain: [MATH / LOGIC / CLASSIFICATION / OTHER]

TASK:
1. Solve the problem above [NUMBER, e.g. 4] separate times, using an independent line of reasoning each time. Do not let earlier attempts influence later ones.
2. For each attempt, show the step-by-step reasoning, then state the final answer on its own line in the format "Answer: [VALUE]".
3. After all attempts, list the final answers side by side and identify which answer appears most often.
4. State the majority answer as the final result. If there is no clear majority, say so explicitly and explain what caused the attempts to diverge.

CONSTRAINTS:
- Keep each reasoning attempt self-contained; do not reference other attempts while solving
- Use the same problem statement for every attempt
- Flag any attempt that relies on an assumption not stated in the problem

OUTPUT FORMAT:
Attempt 1: [reasoning] / Answer: [value]
Attempt 2: [reasoning] / Answer: [value]
(repeat for each attempt)
Summary: [majority answer and confidence note, or divergence explanation]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Meta-Prompting to Have a Model Write and Refine Its Own Prompt

Meta prompting is the technique of asking an AI model to write, critique, or improve a prompt instead of writing the prompt entirely by hand…

Role: You are a prompt engineering expert who improves prompts for clarity, consistency, and reliability across AI models.

Context:
- Task I'm trying to accomplish: [DESCRIBE THE TASK]
- My current prompt attempt: [PASTE YOUR CURRENT PROMPT]
- What's going wrong with the results: [DESCRIBE THE SPECIFIC PROBLEM, E.G. INCONSISTENT FORMAT, MISSING DETAILS, WRONG TONE]

Task:
1. Identify the specific weaknesses in my current prompt that are causing the problem described above
2. Rewrite the prompt with a clear role, context section, explicit constraints, and a defined output format
3. Explain in 2-3 sentences why each major change should fix the problem

Constraints:
- Keep the rewritten prompt as short as possible while still being unambiguous
- Do not add requirements I did not ask for
- The rewritten prompt must work across different AI models, not rely on model-specific syntax

Output format:
Section 1: "Weaknesses" as a short list
Section 2: "Rewritten Prompt" as a plain text block
Section 3: "Why This Should Work" as 2-3 sentences

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Zero-Shot Prompting to Get Accurate Answers Without Examples

A zero shot prompting prompt asks a model like ChatGPT, Claude, or Gemini to complete a task with no examples at all — just clear instructio…

ROLE: You are a [DOMAIN EXPERT ROLE, e.g., "senior support ticket triage specialist"] completing a single task with no prior examples to reference.

CONTEXT: [DESCRIBE THE INPUT - e.g., "a customer support message", "a paragraph of text", "a product review"] will be provided below. The task is [TASK NAME, e.g., "classify the input into one of the categories listed"].

TASK:
[STATE THE EXACT TASK IN ONE OR TWO SENTENCES]

CATEGORIES OR RULES (define every option explicitly, with no overlap):
- [OPTION 1]: [DEFINITION OR CRITERIA]
- [OPTION 2]: [DEFINITION OR CRITERIA]
- [OPTION 3]: [DEFINITION OR CRITERIA]

CONSTRAINTS:
- Base your answer only on the input provided, not on assumptions beyond it
- If the input does not clearly match any option, respond with "[FALLBACK LABEL, e.g., Unclear]" instead of guessing
- Do not explain your reasoning unless explicitly asked

OUTPUT FORMAT:
Return only [EXACT FORMAT, e.g., "the category name", "a JSON object with fields: category, confidence"] — no extra commentary.

INPUT:
[PASTE THE TEXT OR DATA TO PROCESS HERE]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt to Use Tree-of-Thought Reasoning for Complex Problem-Solving

This prompt helps you apply tree of thought reasoning to get ChatGPT, Claude, or Gemini to explore multiple solution paths before committing…

Role: You are an expert [DOMAIN] advisor helping evaluate approaches to a complex problem.

Context:
Problem: [DESCRIBE THE PROBLEM OR DECISION]
Constraints: [LIST ANY HARD CONSTRAINTS, e.g. budget, time, resources]
Evaluation criteria: [LIST 2-4 CRITERIA, e.g. cost, risk, speed, feasibility]

Task:
1. Generate [NUMBER, e.g. 3] distinct reasoning branches, each representing a genuinely different approach to the problem.
2. For each branch, reason through the approach step by step and state its strengths and weaknesses against the evaluation criteria.
3. Score each branch against the evaluation criteria on a scale of 1 to 5.
4. Compare the branches directly and explain which one or two perform best overall, and why the others fall short.
5. Recommend a final approach, noting any conditions under which a different branch would be preferable.

Output format:
Branch 1: [NAME]
Reasoning: [STEP-BY-STEP REASONING]
Scores: [CRITERION: SCORE, CRITERION: SCORE]

Branch 2: [NAME]
Reasoning: [STEP-BY-STEP REASONING]
Scores: [CRITERION: SCORE, CRITERION: SCORE]

Comparison: [DIRECT COMPARISON ACROSS BRANCHES]
Recommendation: [FINAL ANSWER WITH JUSTIFICATION]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt to Assign an Expert Persona for Sharper, More Specific Answers

This is a role prompting prompt for anyone who keeps getting generic, hedge everything answers out of ChatGPT, Claude, or Gemini and wants r…

Role: You are a [SPECIFIC ROLE, e.g., "senior clinical dietitian specializing in sports nutrition"] with [NUMBER] years of experience working with [TYPICAL CLIENT OR AUDIENCE].

Context: [DESCRIBE THE SITUATION OR QUESTION NEEDING EXPERT INPUT]

Constraints:
- Answer only using the judgment and standards a practitioner in this exact role would apply
- Flag any trade-offs, risks, or edge cases a specialist in this field would normally raise
- If the question falls outside this role's expertise, say so explicitly instead of guessing
- Avoid generic disclaimers that a specialist wouldn't bother stating

Output format: [DESCRIBE DESIRED FORMAT, e.g., "a short recommendation followed by 3 bullet points of reasoning"]

Question: [YOUR ACTUAL QUESTION]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt to Chain Multiple Prompts Into a Multi-Step Workflow

This prompt chaining template helps you break a complex task into a sequence of smaller prompts, where the output of one step becomes the in…

Role: You are executing step [STEP_NUMBER] of a [TOTAL_STEPS]-step workflow for the task: [OVERALL_GOAL].

Input from previous step:
[OUTPUT_FROM_PREVIOUS_STEP_OR_NONE_IF_FIRST_STEP]

This step's job:
[SPECIFIC_INSTRUCTION_FOR_THIS_STEP_ONLY]

Constraints:
- Only perform this step's job. Do not attempt later steps in the workflow.
- Base your output only on the input provided above, not on assumptions about later steps.
- [ANY_FORMAT_OR_LENGTH_CONSTRAINT]

Output format:
[EXACT_STRUCTURE_THE_NEXT_STEP_EXPECTS_TO_RECEIVE]

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Few-Shot Prompting to Get Consistent, Correctly Formatted Output

This is a few shot prompting prompt: a template for teaching ChatGPT, Claude, or Gemini the exact output format you want by showing it two o…

Role: You are a [TASK TYPE, e.g. support ticket classifier / data extractor / content tagger].

Task: Given an input, produce output in the exact format shown in the examples below. Study the pattern across all examples before answering, including how edge cases are handled.

Example 1
Input: [EXAMPLE INPUT 1]
Output: [EXAMPLE OUTPUT 1]

Example 2
Input: [EXAMPLE INPUT 2]
Output: [EXAMPLE OUTPUT 2]

Example 3 (edge case: [DESCRIBE WHAT MAKES THIS ONE TRICKY])
Input: [EXAMPLE INPUT 3]
Output: [EXAMPLE OUTPUT 3]

Constraints:
- Match the exact structure, field names, and formatting shown above
- If the new input does not clearly fit the pattern, output [FALLBACK VALUE, e.g. "UNCLEAR"] instead of guessing
- Do not add commentary, explanation, or text outside the output format

Now classify this new input using the same format:
Input: [NEW INPUT TO PROCESS]
Output:

Make this prompt yours

Prompt Fundamentals & Techniques

AI Prompt for Self-Critique and Refinement Before a Final Answer

This AI prompt for self critique and refinement is for anyone who wants a model to check its own draft answer for gaps, errors, or unsupport…

Role: You are an assistant that produces a draft answer, critiques it against explicit criteria, and then revises it.

Context:
- Task or question: [THE ACTUAL TASK OR QUESTION TO ANSWER]
- Relevant background or constraints: [ANY FACTS, RULES, OR LIMITS THE ANSWER MUST RESPECT]
- Critique criteria: [E.G. FACTUAL ACCURACY, COMPLETENESS, UNSUPPORTED ASSUMPTIONS, CLARITY]

Instructions:
1. Write a first draft answer to the task above.
2. Critique the draft explicitly against each criterion listed. For each one, state whether the draft passes or has an issue, and describe the issue if there is one.
3. Write a revised final answer that addresses every issue found in step 2.

Constraints:
- Do not skip stating an issue just because it would require significant rework
- Do not present the draft and the revision as identical if real issues were found
- If no issues are found for a criterion, say so explicitly rather than omitting it

Output format:
1. Draft Answer
2. Critique (one line per criterion)
3. Revised Final Answer

Make this prompt yours

Prompt Fundamentals & Techniques

ChatGPT Prompt for Reliable Function and Tool Calling

This is a function and tool calling prompt for developers wiring ChatGPT, Claude, or Gemini into an app that has real tools available — a se…

You are an assistant with access to the following tools:

[TOOL_1_NAME]: [ONE-LINE DESCRIPTION OF WHAT IT DOES AND WHEN TO USE IT]
[TOOL_2_NAME]: [ONE-LINE DESCRIPTION OF WHAT IT DOES AND WHEN TO USE IT]

Before responding to the user, work through these steps:

1. Decide if you can answer fully and accurately using only the conversation so far. If yes, answer directly and do not call any tool.
2. If a tool is genuinely needed, identify which single tool is the best fit. Do not call a tool "just in case."
3. List the required arguments for that tool. For each one, state whether you already have a valid value from the conversation, or whether it is missing.
4. If any required argument is missing, ask the user for it instead of guessing or inventing a value.
5. If all required arguments are present, call the tool with exactly those values.

Context: [DESCRIBE THE USER'S REQUEST OR TASK HERE]

Respond now, following the steps above.

Make this prompt yours

Prompt Fundamentals & Techniques

Chain-of-Thought Prompt for Step-by-Step Reasoning

This is a chain of thought prompt that gets ChatGPT, Claude, or Gemini to reason through a problem step by step before giving a final answer…

You are a careful problem-solver who reasons step by step before answering.

Problem: [DESCRIBE THE PROBLEM OR QUESTION]

Relevant facts or constraints: [LIST ANY NUMBERS, RULES, OR CONSTRAINTS]

Instructions:
1. Work through the problem step by step, showing each step of your reasoning.
2. Double-check any calculation before moving to the next step.
3. If a fact is missing, state what you're assuming instead of guessing silently.
4. After your reasoning, write "Final answer:" on its own line followed by a single, direct answer.

Output format:
Reasoning:
[step-by-step reasoning]

Final answer:
[one direct answer]

Make this prompt yours