Ask ten people how to write a good AI prompt and you'll get ten different answers. Some say keep it short. Others say add more detail. Some swear by role-playing. Others focus on examples.
They're all partially right. The problem isn't that good advice doesn't exist — it's that ad-hoc prompting is inconsistent. You write a great prompt for one task, then struggle with the next because you can't replicate what worked.
AI prompt frameworks solve this. They give you a repeatable structure — a formula you can apply to any task, every time, with consistent results. Instead of reinventing your approach for each prompt, you slot your information into a proven template.
We tested the 10 most popular frameworks across hundreds of real tasks using ChatGPT, Claude, and Gemini. Here's what each one does, when to use it, and exactly how to apply it.
Why Frameworks Beat Ad-Hoc Prompting
Three reasons frameworks consistently outperform improvised prompts:
Consistency. A framework ensures you include the same key elements every time. No more forgetting to specify the audience or format because you were rushing. When you use CRAFT, you'll never accidentally skip the tone instruction that would have saved you a revision.
Speed. Once a framework is internalized, prompt creation takes 30 seconds instead of 5 minutes of deliberation. You stop thinking about how to prompt and focus on what you need. This is especially valuable for batch tasks — writing 10 product descriptions with RTF is dramatically faster than reinventing the prompt structure for each one.
Quality floor. Even a mediocre prompt built on a strong framework outperforms a randomly structured prompt. The framework ensures you hit the minimum effective dose of context, specificity, and structure. Think of it like a recipe — a home cook following a good recipe produces better results than an amateur improvising.
There's a fourth benefit that's less obvious: frameworks make you a better prompter over time. Each framework teaches you which prompt elements matter most for different task types. After using Chain-of-Thought for a month, you'll instinctively add "think step by step" to analytical prompts — even without consciously choosing a framework.
The frameworks below are ordered from simplest to most complex. Start with RTF or CRAFT for most tasks, and reach for RISEN or Mega-Prompt when the task demands it.
1. CRAFT — Context, Role, Action, Format, Tone
What it stands for: Context, Role, Action, Format, Tone
Best for: General-purpose prompting — works well for 80% of tasks.
When to use it: When you need a reliable, all-around framework that covers the essentials without overcomplicating things. CRAFT is the framework we recommend as your default.
How it works:
- Context: Background information the AI needs — audience, situation, constraints
- Role: Who the AI should be — what expertise it should draw on
- Action: The specific task to complete
- Format: How the output should be structured
- Tone: The voice and style of the response
Full example:
Context: I'm a freelance web designer preparing a proposal for a mid-size law firm that wants to redesign their website. They mentioned wanting to look "modern but trustworthy." Their current site is 8 years old and not mobile-responsive. Budget is $15,000-25,000.
Role: You are a senior web design consultant who specializes in professional services firms.
Action: Write a project proposal executive summary that outlines the recommended approach, key deliverables, timeline, and investment range.
Format: Use professional headings, bullet points for deliverables, and a simple timeline table. Keep it under 500 words.
Tone: Confident and professional — demonstrate expertise without being salesy. Use language that resonates with legal professionals.
Quality notes: CRAFT consistently produces well-structured, relevant output across models. It's comprehensive enough for complex tasks but simple enough to use quickly. If you only learn one framework, make it this one.
Tip
SurePrompts' AI Prompt Generator uses CRAFT principles under the hood. Describe your task in plain English and it builds a structured prompt for you — no framework memorization needed.
2. RACE — Role, Action, Context, Expectation
What it stands for: Role, Action, Context, Expectation
Best for: Task completion — when you need something done to a specific standard.
When to use it: When the output quality depends on meeting specific expectations or criteria. RACE is particularly effective for professional deliverables where there's a clear "done" standard.
How it works:
- Role: Define the AI's expertise
- Action: State the task clearly
- Context: Provide necessary background
- Expectation: Define what success looks like — quality standards, specific criteria, or benchmarks
Full example:
Role: You are a data analyst at a Fortune 500 retail company.
Action: Analyze the attached quarterly sales data and create a performance report for the executive team.
Context: This is Q1 2026 data. We launched in 3 new markets last quarter (Dallas, Phoenix, Nashville). Our target was 15% YoY revenue growth. The executive team has 10 minutes to review this report before the board meeting.
Expectation: The report should highlight whether we hit the 15% target, how the 3 new markets performed against projections, identify the top and bottom performing product categories, and include one actionable recommendation for Q2. Every claim should be supported by a specific number. No jargon — board members aren't data people.
Quality notes: RACE excels when you know exactly what "good" looks like. The Expectation component forces you to define success criteria upfront, which dramatically reduces the need for revisions.
3. RTF — Role, Task, Format
What it stands for: Role, Task, Format
Best for: Quick, straightforward tasks where speed matters more than nuance.
When to use it: For simple, well-defined tasks that don't require extensive context. RTF is the fastest framework to apply — ideal for routine content, quick questions, and one-off tasks.
How it works:
- Role: Brief expertise definition
- Task: What needs to be done
- Format: How to structure the output
Full example:
Role: Experienced email copywriter.
Task: Write a subject line and 3-sentence email promoting our 30% off spring sale. The sale runs March 15-22. We sell outdoor furniture.
Format: Provide 5 subject line options, then the email body. Keep the email under 75 words.
Quality notes: RTF trades depth for speed. The output won't be as nuanced as CRAFT or RACE, but for tasks where you just need a solid first draft quickly, it's the most efficient framework. Think of it as your "80% solution in 20% of the time."
Pro tip: RTF works brilliantly for batch tasks. If you're writing 10 product descriptions, 5 social posts, or a series of email subject lines, the RTF structure keeps each prompt consistent without the overhead of longer frameworks.
4. RISEN — Role, Instructions, Steps, End Goal, Narrowing
What it stands for: Role, Instructions, Steps, End goal, Narrowing
Best for: Complex, multi-step tasks that need precise execution.
When to use it: When the task has multiple phases, dependencies, or specific steps that must be followed in order. RISEN is the framework for tasks where getting the process right matters as much as the output.
How it works:
- Role: Define expertise and perspective
- Instructions: High-level direction for the task
- Steps: Specific, ordered steps to follow
- End goal: The ultimate desired outcome
- Narrowing: Constraints that focus the output (what to avoid, limits, specific requirements)
Full example:
Role: You are a senior product manager at a B2B SaaS company conducting a competitive analysis.
Instructions: Analyze three competitors in the project management space — Asana, Monday.com, and ClickUp — and produce a strategic brief for our leadership team.
Steps:
1. For each competitor, identify their target market segment and positioning
2. List their 5 strongest features and 3 most common user complaints (use realistic patterns you'd find in review sites)
3. Identify gaps in the market that none of the three are serving well
4. Map each competitor's pricing strategy and how it relates to their target segment
5. Synthesize findings into strategic recommendations for our product
End goal: A 2-page strategic brief that gives our leadership team clear, actionable insight into where the competitive landscape has openings we can exploit.
Narrowing: Focus on the mid-market segment (50-500 employees). Don't include features our company already offers. Exclude pricing below $10/user/month as that's not our market.
Quality notes: RISEN produces the most structured, detailed output of any framework on this list. The explicit steps prevent the AI from taking shortcuts or reordering your logic. The Narrowing component is uniquely powerful — it eliminates the most common revision requests by addressing them upfront.
5. CREATE — Character, Request, Examples, Adjustments, Type of Output, Extras
What it stands for: Character, Request, Examples, Adjustments, Type of output, Extras
Best for: Creative work — writing, brainstorming, marketing copy, storytelling.
When to use it: When you need output that's not just correct but good — creative, original, and voice-appropriate. CREATE gives you the most control over style and quality.
How it works:
- Character: The persona the AI should adopt (more detailed than a simple role)
- Request: What you need created
- Examples: Samples of what good output looks like (the most powerful element)
- Adjustments: Specific tweaks to style, voice, or approach
- Type of output: Exact format and structure
- Extras: Additional constraints, references, or special instructions
Full example:
Character: You are a veteran brand copywriter who writes for premium DTC brands. You've written for brands like Glossier, Allbirds, and Aesop. Your style is warm, understated, and detail-obsessed.
Request: Write product page copy for a new artisan coffee subscription called "First Light."
Examples: Here's copy I admire — "We didn't set out to make another coffee subscription. We set out to make Tuesday mornings feel less like Tuesday mornings." Match this level of personality and emotional resonance.
Adjustments: Avoid overused coffee language like "bold," "rich," and "artisanal." Don't use exclamation marks. Every sentence should earn its place — if a sentence doesn't add new information or emotion, cut it.
Type of output: Headline (under 8 words), subheadline (1 sentence), body copy (100-150 words), 3 bullet points of practical details (origin, roast, frequency options).
Extras: The brand's visual identity is minimal — black and white with natural textures. The copy should feel like it belongs in that aesthetic. Reference the ritual of morning coffee without being cliché about it.
Quality notes: CREATE produces the highest-quality creative output because the Examples and Adjustments components give the AI a concrete target to aim for rather than abstract descriptions. It takes longer to build a CREATE prompt, but the first draft often needs minimal editing.
6. Chain-of-Thought — Step-by-Step Reasoning
What it stands for: Not an acronym — it's a prompting technique that asks the AI to reason step by step.
Best for: Analytical tasks, problem-solving, math, logic, complex decisions.
When to use it: When you need the AI to show its work, when the answer depends on intermediate reasoning steps, or when accuracy matters more than speed.
How it works: Add a directive telling the AI to think through the problem step by step before reaching a conclusion.
Full example:
I'm trying to decide whether to hire a full-time content writer ($75,000/year) or continue using freelancers ($50/hour, approximately 25 hours/week).
Think through this step by step:
1. Calculate the annual cost of each option (include benefits, management time, and tools for the full-time hire)
2. Compare the output quality and consistency differences
3. Consider the ramp-up time and knowledge retention factors
4. Factor in the flexibility of each option for scaling up or down
5. Give me your recommendation with the reasoning clearly laid out
Show your calculations and reasoning for each step.
Quality notes: Chain-of-thought dramatically improves accuracy on tasks that require multi-step reasoning. Research shows it can improve math and logic performance by 20-40% compared to asking for the answer directly. The tradeoff is longer outputs — you're explicitly asking for the reasoning, not just the conclusion.
For a deeper dive into this technique, see our chain-of-thought prompting guide.
7. Few-Shot — Learning from Examples
What it stands for: Not an acronym — it refers to providing a few examples for the AI to learn from.
Best for: Pattern matching, consistent formatting, style replication, classification tasks.
When to use it: When you have examples of what you want and need the AI to replicate the pattern. Few-shot is the most reliable way to get consistent, formatted output.
How it works: Provide 2-5 examples of the input → output pattern you want, then give the AI a new input and let it generate the matching output.
Full example:
I need to write product taglines for our electronics brand. Here are examples of taglines we've used that match our brand voice:
Product: Wireless earbuds
Tagline: "Your commute called. It wants its silence back."
Product: Portable charger
Tagline: "Dead batteries are a choice. A bad one."
Product: Smart watch
Tagline: "Your wrist just got promoted."
Now write taglines in this same style for:
Product: Bluetooth speaker
Product: Laptop stand
Product: USB-C hub
Quality notes: Few-shot is arguably the most underused framework. It bypasses the problem of describing what you want — you just show it. Three good examples are usually enough. More than five examples adds diminishing returns and can make the AI too rigid.
Learn more about this technique in our few-shot prompting guide.
8. Persona-Based — Deep Character Prompting
What it stands for: Not a formal acronym — it's a technique where you define a rich persona for the AI to adopt.
Best for: Voice and tone matching, character-consistent writing, simulating specific perspectives.
When to use it: When the who matters as much as the what — brand voice work, ghostwriting, simulating a specific expert's perspective, or creating content that needs to feel like it came from a particular person or archetype.
How it works: Build a detailed character profile — background, expertise, communication style, values, verbal habits — and let the AI inhabit that persona for the entire conversation.
Full example:
You are Dr. Sarah Chen, a behavioral psychologist who specializes in workplace productivity. Your background:
- 15 years in organizational psychology research
- Author of "The Focus Myth" (a bestselling book about attention management)
- Known for challenging popular productivity advice with research
- Your communication style: direct, evidence-based, occasionally wry humor. You reference studies but explain them in plain English. You push back on "hustle culture" myths.
- Verbal habits: You start explanations with specific scenarios. You say "the research actually shows" before countering a popular belief. You avoid corporate jargon.
In this persona, write a LinkedIn post about why "multitasking" continues to be rewarded in workplaces despite decades of research showing it reduces performance.
Quality notes: Persona-based prompting produces the most voice-consistent output. The key is specificity in the character description — the more details you provide about how the persona communicates (not just their credentials), the more distinctive and authentic the output. It works especially well in multi-turn conversations where the AI maintains the persona across several exchanges.
9. Iterative Refinement — Multi-Turn Improvement
What it stands for: Not an acronym — it's a technique where you build toward the final output through multiple rounds of refinement.
Best for: Complex deliverables, creative work that needs polish, tasks where you can't define the end state upfront.
When to use it: When the first draft is a starting point, not a final product. Iterative refinement is how experienced prompt engineers get the best output from AI — they don't expect perfection on the first try.
How it works: Use a series of prompts that build on each other, with each round addressing specific improvements.
Full example:
Round 1 — Generate the first draft:
Write a 500-word blog introduction about remote work burnout targeting engineering managers. Focus on the fact that burnout symptoms in remote teams are harder to detect than in-office teams.
Round 2 — Refine tone and hook:
The content is good, but the opening is too generic. Rewrite the first paragraph to start with a specific, concrete scenario — an engineering manager noticing that a previously high-performing team member has gone quiet in Slack. Make it vivid.
Round 3 — Tighten and improve:
Better. Now make these adjustments:
1. Cut the second paragraph — it repeats the first
2. Add a specific stat about remote work burnout rates
3. Make the closing transition more compelling — it should make the reader feel like they NEED to read the rest of the article
4. Remove the phrase "in today's landscape"
Quality notes: Iterative refinement consistently produces better output than any single-prompt framework. The trade-off is time — 3-4 rounds of refinement takes more effort than one prompt. Use this for high-stakes content (landing pages, pitch decks, published articles) and simpler frameworks for routine tasks.
10. Mega-Prompt — Comprehensive Single-Shot
What it stands for: Not a formal acronym — it's a technique where you front-load all instructions, context, and constraints into one massive, detailed prompt.
Best for: Long-form content, complex deliverables, situations where you want a near-final output in one shot.
When to use it: When you have a clear, detailed vision of the output and want to minimize back-and-forth. Mega-prompts are also useful when working with APIs or automated systems where multi-turn conversations aren't practical.
How it works: Combine multiple framework elements into one comprehensive prompt that addresses every aspect of the task.
Full example:
# Assignment
Write a comprehensive guide to negotiating a software engineer's salary, from preparation through final acceptance.
# Persona
You are a career coach who has helped 500+ software engineers negotiate compensation packages. You've worked with engineers at FAANG companies, startups, and everything in between.
# Audience
Mid-career software engineers (3-8 years experience) who have received a job offer and want to negotiate but feel uncomfortable with the process.
# Content Requirements
- Length: 2,000-2,500 words
- Include 5-7 sections with H2 headings
- Each section must include at least one specific script or template the reader can adapt
- Include a "What to say when..." cheat sheet for common scenarios
- Reference specific data sources for salary benchmarking (Levels.fyi, Glassdoor, Blind)
- Include both cash and equity negotiation tactics
# Tone and Style
- Encouraging but not patronizing
- Direct and actionable — every paragraph should contain something the reader can use
- Use second person ("you")
- Short paragraphs (3-4 sentences max)
- No corporate HR buzzwords
- Include moments of realistic honesty: "This will feel uncomfortable. That's normal."
# Constraints
- Do not suggest tactics that could backfire (like lying about competing offers)
- Acknowledge that negotiation norms differ by company size, industry, and geography
- Include a section on when NOT to negotiate
- End with a confidence-building closing, not a summary
Quality notes: Mega-prompts produce the most complete first drafts but require the most upfront investment. They work best when you already know exactly what you want. If you're still exploring the direction, start with a simpler framework and upgrade to a mega-prompt once you've clarified the vision.
For more template structures, explore the SurePrompts Template Builder — it has 320+ templates that incorporate these framework patterns.
Which Framework Should I Use?
| Situation | Recommended Framework | Why |
|---|---|---|
| Quick, routine task | RTF | Fast, minimal setup |
| General-purpose task | CRAFT | Covers all essentials without overcomplicating |
| Task with clear success criteria | RACE | Expectation component ensures quality standards |
| Multi-step complex task | RISEN | Steps and Narrowing prevent shortcuts |
| Creative writing or copy | CREATE | Examples and Adjustments control style |
| Analytical or reasoning task | Chain-of-Thought | Step-by-step reasoning improves accuracy |
| Pattern matching / formatting | Few-Shot | Examples are worth a thousand descriptions |
| Voice/tone matching | Persona-Based | Deep character profile ensures consistency |
| High-stakes deliverable | Iterative Refinement | Multiple passes beat single-shot quality |
| Comprehensive long-form content | Mega-Prompt | One detailed prompt, near-final output |
The honest answer: Most people should default to CRAFT for everyday tasks and reach for a specialized framework when the task demands it. You don't need to memorize all 10. Learn CRAFT, learn Chain-of-Thought, and learn Few-Shot. Those three cover 90% of use cases.
How to Choose: A Practical Decision Process
If the decision table doesn't immediately make it clear, walk through these three questions:
1. How complex is the task?
- Simple (one clear deliverable) → RTF or CRAFT
- Moderate (multiple requirements, specific standards) → RACE or CREATE
- Complex (multi-step, dependencies, precise process) → RISEN or Mega-Prompt
2. Does the quality depend more on what you say or how you say it?
- What (analysis, data, research) → Chain-of-Thought or RACE
- How (creative, voice-specific, brand-aligned) → CREATE, Persona-Based, or Few-Shot
- Both equally → CRAFT or Mega-Prompt
3. Is this a one-shot task or will you iterate?
- One-shot (you need a solid result on the first try) → Mega-Prompt, RISEN, or RACE
- Iterative (you'll refine over 2-4 rounds) → Iterative Refinement with any base framework
- Batch (you're creating many similar outputs) → Few-Shot or RTF
Combining Frameworks
Experienced prompt engineers don't pick one framework in isolation — they blend elements. The most powerful combinations:
CRAFT + Few-Shot: Use CRAFT to set context, role, and format, then provide 2-3 examples. This gives you the structural benefits of CRAFT with the pattern-matching precision of Few-Shot. Ideal for content creation where consistency matters.
Persona-Based + Chain-of-Thought: Define a rich persona (a skeptical CFO, a creative director with strong opinions), then ask them to reason step by step through a problem. The persona shapes how they think; Chain-of-Thought ensures they show their work.
RISEN + Iterative Refinement: Use RISEN for the first pass to get the structure and steps right, then refine specific sections in follow-up prompts. This works well for complex deliverables like proposals, reports, or technical documentation.
CREATE + Mega-Prompt: For high-stakes creative work, combine CREATE's detailed character and examples with a mega-prompt's comprehensive instruction set. This is the "pull out all the stops" approach for landing pages, keynote scripts, or brand manifestos.
The key insight: frameworks are composable components, not rigid templates. Once you internalize the individual components (role, context, examples, format, steps, tone, constraints), you'll naturally assemble the right combination for each task.
From Framework to Automation
Frameworks are a manual process — you build each prompt by hand. That's valuable for learning and for one-off tasks, but it's slow for routine work.
Once you've internalized the principles behind these frameworks, you have two paths to speed:
Personal template library: Save your best prompts as templates. When a similar task comes up, pull the template, swap the specifics, and run it. Most people write great prompts once and then lose them — don't be that person.
Automated prompt generation: Tools like SurePrompts' AI Prompt Generator encode these frameworks into the generation process. You describe what you need in plain language, and the tool produces a structured, framework-aligned prompt. This is faster than building from scratch and ensures you don't skip important components when you're rushing.
The Template Builder takes this further with 320+ pre-built templates that already incorporate framework principles for specific use cases — marketing, content, analysis, coding, and more.
FAQ
Which AI prompt framework is the best overall?
CRAFT (Context, Role, Action, Format, Tone) is the most versatile framework for everyday use. It covers all the essential elements without being overly complex, and it works well across creative, analytical, and professional tasks. For specialized needs — analytical work (Chain-of-Thought), creative projects (CREATE), or multi-step processes (RISEN) — purpose-built frameworks will outperform a general one.
Do prompt frameworks work with all AI models?
Yes. Every framework in this guide works with ChatGPT, Claude, Gemini, and other major models. The structural principles — providing context, defining roles, specifying format — are universally effective because they all reduce ambiguity in what the AI needs to produce. Some models respond slightly better to certain formatting styles (Claude likes XML tags, for example), but the frameworks themselves are model-agnostic.
How many frameworks should I learn?
Start with one — CRAFT is the best all-around choice. Once it's second nature, add Chain-of-Thought for analytical tasks and Few-Shot for pattern matching. Those three frameworks cover roughly 90% of common use cases. The remaining seven are valuable for specialized situations but aren't essential for everyday prompting.
Can I combine multiple frameworks in one prompt?
Absolutely. Experienced prompt engineers regularly combine elements. A common combination is CRAFT structure with Few-Shot examples — you provide the context, role, and format through CRAFT, then include 2-3 examples to anchor the style. Another powerful combo is Persona-Based with Chain-of-Thought: define a rich persona, then ask it to reason step by step. Frameworks are building blocks, not rigid templates.
What's the difference between a prompt framework and a prompt template?
A framework is a structural approach — a set of components to include (like CRAFT's Context, Role, Action, Format, Tone). A template is a specific, pre-written prompt for a particular task (like "write a product description"). Frameworks help you build prompts from scratch. Templates give you a ready-made starting point. Both are valuable — frameworks for flexibility, templates for speed. The SurePrompts Template Builder provides hundreds of ready-made templates if you want to skip the framework step.