Prompt Frameworks Guide: 55 Prompt Engineering Techniques

A comprehensive reference to the most effective prompt engineering techniques and frameworks. Each framework is explained with practical examples, step-by-step instructions, and a detailed FAQ โ€” so you can choose the right approach for every AI interaction.

55 Prompt Frameworks
55 Copy-Ready Templates
120+ Worked Examples

Find the right framework

Category
Role
Use Case
Difficulty
Token Cost

55 frameworks

Essential Frameworks

The most widely-used prompt engineering techniques โ€” learn these first.

๐Ÿ”—Beginner
Reasoning

Chain-of-Thought(CoT)

Guide the model to reason through problems step by step, dramatically improving accuracy on complex tasks.

Math & logicCode debuggingMulti-step analysis
Learn more โ†’
๐ŸŒณAdvanced
Reasoning

Tree of Thoughts(ToT)

Explore multiple distinct reasoning paths simultaneously and evaluate each branch before committing to a solution.

Strategic planningCreative problemsComplex puzzles
Learn more โ†’
๐ŸŽฏIntermediate
Reasoning

Self-Consistency

Generate multiple independent reasoning paths to the same question, then aggregate the most consistent answer.

High-accuracy reasoningMath problemsCritical decisions
Learn more โ†’
โšกBeginner
In-Context Learning

Zero-Shot Prompting

Give clear instructions without any examples, relying entirely on the model's pre-trained knowledge.

Quick tasksGeneral questionsRapid prototyping
Learn more โ†’
๐Ÿ“‹Beginner
In-Context Learning

Few-Shot Prompting

Provide a handful of input-output examples so the model learns the exact pattern or format you need.

ClassificationFormat controlSpecialized outputs
Learn more โ†’
๐ŸŽญBeginner
Persona

Role Prompting

Assign a specific role or persona to the model to unlock domain expertise and a consistent communication style.

Expert guidanceCreative writingTone control
Learn more โ†’
โ›“๏ธIntermediate
Workflow

Prompt Chaining

Break complex tasks into sequential prompts where each output feeds into the next, building sophisticated pipelines.

Document processingMulti-step workflowsData transformation
Learn more โ†’
โš™๏ธIntermediate
Agent

ReAct Prompting

Interleave reasoning traces with concrete actions โ€” Thought โ†’ Action โ†’ Observation โ€” to solve tasks requiring tool use.

AI agentsResearch tasksTool use
Learn more โ†’
๐Ÿ“„Beginner
Structured Framework

RTF Framework

Role, Task, Format โ€” the fastest role-based prompt template. Who you are, what to do, how to present it.

Formatted outputWriting tasksReports
Learn more โ†’
๐ŸBeginner
Structured Framework

RACE Framework

Role, Action, Context, Expectation โ€” four components that cover who acts, what to do, the background, and the desired output.

Content requestsTask delegationProfessional writing
Learn more โ†’
๐Ÿ“Intermediate
Structured Framework

RISEN Framework

Role, Instructions, Steps, End Goal, Narrowing โ€” five parts covering who, what, how, outcome, and constraints.

Technical writingComplex tasksConsistent outputs
Learn more โ†’
๐Ÿ—๏ธIntermediate
Structured Framework

CRISPE Framework

Capacity/Role, Insight, Statement, Personality, Experiment โ€” six components including tone and multiple-variation generation.

Content creationResearch assistanceHigh-stakes prompts
Learn more โ†’
๐ŸŒŸIntermediate
Structured Framework

CO-STAR Framework

Context, Objective, Style, Tone, Audience, Response โ€” six components popular for system prompt and content design.

Content creationMarketingAudience-targeted writing
Learn more โ†’
๐Ÿ“ฃBeginner
Copywriting

AIDA Framework

Attention, Interest, Desire, Action โ€” the classic 1898 direct-response formula adapted for AI-generated marketing copy.

Marketing copySales writingEmail campaigns
Learn more โ†’
๐Ÿ”ฅBeginner
Copywriting

PAS Framework

Problem, Agitate, Solution โ€” identify the pain, amplify it emotionally, then present the answer.

Sales copyLanding pagesPersuasive content
Learn more โ†’

Specialist Techniques

Deeper and domain-specific frameworks โ€” reach for these when you need more precision or control.

โœ๏ธIntermediate
Reasoning

Chain of Draft(CoD)

Reason step by step but keep each step to a terse draft of a few words, cutting reasoning tokens by up to 80% versus Chain-of-Thought.

Cost-sensitive reasoningLow-latency appsMath & logic
Learn more โ†’
๐Ÿ”ญBeginner
Reasoning

Step-Back Prompting

Ask for the underlying principle or concept first, then use it to answer the specific question.

STEM questionsKnowledge QARoot-cause thinking
Learn more โ†’
๐ŸชœIntermediate
Reasoning

Least-to-Most Prompting

Decompose a hard problem into simpler sub-problems and solve them in order, feeding each answer into the next.

Multi-step problemsCompositional tasksPlanning
Learn more โ†’
๐Ÿ”Intermediate
Workflow

Prompt Refinement Loop

Systematically draft, test, evaluate, and revise prompts in iterative cycles until output quality meets your standard.

Production promptsQuality-critical tasksTemplate development
Learn more โ†’
โœ…Intermediate
Workflow

Chain-of-Verification(CoVe)

Draft an answer, plan fact-check questions, answer them independently, then revise to remove hallucinations.

Fact-heavy answersResearch summariesReducing hallucinations
Learn more โ†’
๐ŸชžAdvanced
Agent

Reflexion

LLMs generate verbal self-reflection on their own failures and use the linguistic feedback to improve subsequent attempts.

Iterative code genAgentic tasksError correction
Learn more โ†’
๐ŸคAdvanced
Agent

Multi-Agent Debate

Multiple AI instances debate opposing positions over several rounds; a judge synthesizes the most accurate final answer.

Fact-checkingBalanced analysisHigh-accuracy reasoning
Learn more โ†’
๐ŸงฌAdvanced
Advanced Technique

EvoPrompt

Applies evolutionary algorithms โ€” crossover, mutation, selection โ€” to automatically optimize prompts across generations.

Prompt optimizationAutomated tuningResearch systems
Learn more โ†’
๐Ÿง Advanced
Advanced Technique

NeuroPrompt

Cognitive-science-inspired prompting that structures inputs to activate specific reasoning modes and reduce cognitive load.

Complex reasoningEducational contentMulti-modal cognition
Learn more โ†’
๐Ÿท๏ธBeginner
Structured Framework

TAG Framework

The simplest 3-part structure โ€” Task, Action, Goal โ€” for fast, goal-oriented prompts.

Simple tasksQuick promptsGoal-oriented requests
Learn more โ†’
๐ŸŽฏBeginner
Structured Framework

APE Framework

Action, Purpose, Expectation โ€” a minimal 3-part framework that always asks why the task matters.

Writing requestsClear outputsPurpose-driven tasks
Learn more โ†’
๐Ÿ“ˆBeginner
Structured Framework

RISE Framework

Role, Input, Steps, Expectation โ€” a concise 4-part structure with an explicit Input component for data-driven tasks.

Step-by-step tasksData processingHow-to guides
Learn more โ†’
๐Ÿ’™Beginner
Structured Framework

CARE Framework

Context, Action, Result, Example โ€” anchors every prompt with a concrete example to eliminate ambiguity.

Support tasksExplanationsExample-driven output
Learn more โ†’
๐Ÿ’กBeginner
Structured Framework

IDEA Framework

Intent, Details, Examples, Adjustments โ€” includes an Adjustments component for iterative, feedback-driven refinement.

Creative tasksIterative workDesign briefs
Learn more โ†’
๐ŸŒฑBeginner
Structured Framework

GROW Framework

Goal, Reality, Options, Will โ€” the classic coaching model adapted for structured problem-solving prompts.

CoachingDecision-makingProblem-solving
Learn more โ†’
๐Ÿ“Beginner
Structured Framework

PREP Framework

Position, Reason, Evidence, Position โ€” a concise argumentation formula for persuasive writing prompts.

Persuasive essaysArgumentsPosition papers
Learn more โ†’
โญBeginner
Structured Framework

STAR Framework

Situation, Task, Action, Result โ€” adapted from interview methodology for narrative and case-study prompts.

Case studiesStorytellingBusiness examples
Learn more โ†’
๐Ÿ“šBeginner
Structured Framework

IEEI Framework

Inform, Explain, Example, Input โ€” a teaching-focused structure that builds context before processing your content.

Educational contentHow-to guidesExplanations
Learn more โ†’
๐Ÿ“ŠBeginner
Structured Framework

SMART Prompting

Specific, Measurable, Achievable, Relevant, Time-bound โ€” classic project management criteria applied to prompt design.

Goal-settingProject planningBounded requests
Learn more โ†’
๐Ÿ’ŽBeginner
Structured Framework

CRISP Framework

Clarity, Relevance, Intent, Specificity, Precision โ€” a quality-evaluation checklist for diagnosing and improving any prompt.

Prompt auditingQuality controlRefinement
Learn more โ†’
๐ŸŽฏBeginner
Structured Framework

ORCA Framework

Structure prompts with Objective, Role, Context, and Action for clear, targeted AI responses.

Clear task definitionsProfessional writingGoal-driven prompts
Learn more โ†’
๐Ÿ”Intermediate
Structured Framework

TRACE Framework

Task, Request, Action, Context, Example โ€” extends TAG with context and an example for richer, more precise prompts.

Complex instructionsExample-guided tasksDetailed requests
Learn more โ†’
๐ŸŒ‰Beginner
Structured Framework

BAB Framework

Before, After, Bridge โ€” contrasts the current problem with the desired state and shows how to get there.

Transformation narrativesChange managementPersuasion
Learn more โ†’
๐ŸŒŠIntermediate
Structured Framework

COAST Framework

Context, Objective, Actions, Scenario, Task โ€” adds a Scenario component for situationally grounded, realistic prompts.

Scenario-based writingTraining contentCase studies
Learn more โ†’
๐ŸŒง๏ธIntermediate
Structured Framework

RAIN Framework

Role, Aim, Input, Numeric Target โ€” forces quantifiable, measurable outputs with an explicit Numeric Target component.

Data tasksAnalyticsKPI-driven content
Learn more โ†’
๐Ÿ’งIntermediate
Structured Framework

FLOW Framework

Function, Level, Output, Win Metric โ€” performance-oriented framework that defines how success will be judged.

Business analysisOptimization tasksPerformance work
Learn more โ†’
๐Ÿ”„Intermediate
Structured Framework

PIVO Framework

Problem, Insights, Voice, Outcome โ€” problem-first framework that weaves brand voice into the prompt structure.

Content strategyBrand communicationsThought leadership
Learn more โ†’
๐Ÿซ˜Beginner
Structured Framework

SEED Framework

Situation, End Goal, Examples, Deliverables โ€” plants full context for deliverable-focused project prompts.

Project kickoffsContent briefsScoped deliverables
Learn more โ†’
๐Ÿ”ญIntermediate
Structured Framework

DEEP Framework

Direction, Existing Info, Expertise, Preferred Tone โ€” emphasizes tone specification for brand-sensitive content.

Brand writingTone-sensitive contentExpert-level output
Learn more โ†’
๐Ÿ”ฎIntermediate
Structured Framework

CLEAR Framework

Context, Logic, Expectations, Action, Restrictions โ€” adds Logic and Restrictions for precision and compliance tasks.

Legal/complianceTechnical precisionConstrained outputs
Learn more โ†’
๐Ÿ—บ๏ธIntermediate
Structured Framework

QUEST Framework

Question, Understanding, Expectation, Scope, Time โ€” adds Scope and Time constraints for bounded research prompts.

Research promptsInformation gatheringScoped analysis
Learn more โ†’
๐ŸงญIntermediate
Structured Framework

GUIDE Framework

Goal, Understanding, Information, Direction, Evaluation โ€” defines success criteria explicitly for advisory tasks.

TeachingConsultingAdvisory outputs
Learn more โ†’
๐Ÿ”ŽIntermediate
Structured Framework

FOCUS Framework

Function, Outcome, Criteria, Underlying Assumptions, Strategy โ€” makes hidden assumptions explicit for strategic prompts.

Strategic analysisDecision-makingComplex outputs
Learn more โ†’
๐Ÿ“ŠIntermediate
Structured Framework

RASCE Framework

Role, Action, Steps, Constraints, Examples โ€” comprehensive 5-part framework combining persona, process, guardrails, and examples.

Complex technical tasksConstrained outputsDetailed work
Learn more โ†’
๐Ÿ†Intermediate
Structured Framework

OSCAR Framework

Objective, Scope, Constraints, Assumptions, Results โ€” project-management-inspired framework making scope and assumptions explicit.

Project workScoped analysisTechnical tasks
Learn more โ†’
๐Ÿ”‘Intermediate
Structured Framework

PECRA Framework

Purpose, Expectation, Context, Request, Audience โ€” audience-aware 5-part structure for targeted communication prompts.

Audience-targeted contentMarketingCommunications
Learn more โ†’
๐Ÿ›๏ธAdvanced
Structured Framework

RHODES Framework

Research, Hypothesis, Objectives, Development, Execution, Synthesis โ€” a rigorous 6-component academic research methodology.

Academic researchLong-form analysisScientific reasoning
Learn more โ†’
๐ŸŽจIntermediate
Structured Framework

CREATE Framework

Conceptualize, Research, Experiment, Analyze, Transform, Evaluate โ€” a six-stage creative process for structured innovation.

Innovation tasksCreative developmentIterative design
Learn more โ†’
๐Ÿ”งIntermediate
Creative Framework

SCAMPER Framework

Seven creative lenses โ€” Substitute, Combine, Adapt, Modify, Put to Another Use, Eliminate, Rearrange โ€” for systematic idea generation.

InnovationProduct ideationCreative problem-solving
Learn more โ†’
๐Ÿ”ŽIntermediate
SEO Framework

SERP Prompting

Structures prompts to generate content optimized for search engine result pages and AI-generated search overviews.

SEO contentAI overviewsKnowledge base articles
Learn more โ†’

How to Choose the Right Prompt Style

๐ŸŽฏ

For Simple Tasks

Start with Zero-Shot or Role Prompting. Clear instructions and a persona are often all you need.

๐Ÿ“‹

For Specific Formats

Use Few-Shot Prompting to show the model exactly what output structure you expect.

๐Ÿ—๏ธ

For Complex Tasks

Use RISEN or CRISPE frameworks for structured, comprehensive prompts that leave nothing ambiguous.

๐Ÿ”ง

For Multi-Step Workflows

Use Prompt Chaining to break large tasks into manageable, sequential steps with clear hand-offs.

๐Ÿค–

For AI Agents & Tools

Use ReAct or Tree of Thoughts when the model needs to reason, act, and adapt based on new information.

Compare Frameworks Side by Side

Prompt Flows

Named multi-step algorithms that chain several of these frameworks in sequence for writing, coding, research and debugging.

Frequently Asked Questions

What is a prompt framework?

A prompt framework is a reusable structure for writing prompts to large language models such as ChatGPT, Claude or Gemini. It names the parts a good prompt needs (for example Role, Task, Context and Format) or the reasoning procedure the model should follow (for example step-by-step Chain-of-Thought), so every prompt you write for that type of task is complete and consistent.

What is the difference between a prompt framework and a normal prompt?

A prompt is a specific instruction given to an AI. A framework is a reusable, structural template that organizes how you write that instruction to guarantee consistent, high-quality outputs. A prompt solves one task once; a framework gives you a repeatable structure you can apply to any task of the same type.

Which prompt framework should I start with?

Start with Zero-Shot prompting and add structure only when the output falls short. For most everyday tasks a short acronym framework such as RTF (Role, Task, Format) or RACE is enough. Use CO-STAR when tone and audience matter, Few-Shot when you need an exact output format, and Chain-of-Thought when the task involves reasoning, math or multi-step analysis.

Which frameworks consume the most tokens (and cost)?

Advanced reasoning frameworks like Tree of Thoughts and Multi-Agent Debate consume the most tokens because they require multiple API calls, branching logic, and self-evaluation passes. Self-Consistency also runs the same prompt several times to aggregate answers. Simple structural frameworks like RACE, RTF, and Zero-Shot have minimal token overhead.

Can I combine different frameworks?

Yes. You can easily combine structural frameworks with reasoning techniques. For example, use RISEN to structure your persona and task, while instructing the model to use Chain-of-Thought for its actual reasoning. See the Prompt Flows section for curated multi-framework sequences designed for specific real-world outcomes.

Do these frameworks work equally well on all LLMs?

Most structural frameworks (like RACE or CRISPE) are model-agnostic and work reliably across current Claude, GPT and Gemini models. Reasoning models that think before answering already do much of what Chain-of-Thought asks for, so explicit step-by-step instructions matter less there. Advanced techniques like Tree of Thoughts and Multi-Agent Debate still need capable models: weaker models tend to collapse the branching logic or produce inconsistent self-evaluations.

Build and Reuse Your Prompt Templates

Prompt Edit is a free macOS app that lets you save any of these prompt styles as reusable templates with dynamic variables. Write once, use everywhere โ€” completely offline and private.

Download Prompt Edit โ€” Free