Quick answer: A prompt framework is a simple, repeatable structure for writing AI prompts, such as RTF (Role, Task, Format) or CO-STAR (Context, Objective, Style, Tone, Audience, Response). Frameworks make sure you give the model the role, task, context, constraints, and output format it needs. Use a short framework for quick tasks, a detailed one for important content, and techniques like few-shot examples or prompt chaining for complex work.
Key Takeaways
- Most prompt frameworks are memory aids for the same core ingredients: role, task, context, constraints, examples, and output format.
- RTF and TAG suit quick tasks; CO-STAR, RISEN, and CRISPE suit detailed content and business work.
- Few-shot examples, prompt chaining, and ReAct are research-backed techniques, not just acronyms.
- Newer reasoning models think step by step on their own, so clear goals and context matter more than “let’s think step by step”.
- The best results come from testing and refining prompts, not from picking the “perfect” framework.
You type a question into ChatGPT, Claude, or Gemini and get something generic back. You add more detail, try again, and finally get what you wanted on the fourth attempt. Prompt frameworks shorten that loop.
This guide explains the prompt frameworks people actually use, with a plain-English breakdown and an example for each, plus a comparison table, the reasoning techniques worth knowing, and how to pick the right framework for your task. If you’re just getting started with AI chat tools, our beginner’s guide to ChatGPT is a good first read.
What Is a Prompt Framework?
A prompt framework is a checklist, usually an acronym, that reminds you what to include in a prompt. Almost every framework is built from the same six ingredients:
| Ingredient | What it tells the AI | Example |
|---|---|---|
| Role | Who it should act as | “You are a senior B2B copywriter.” |
| Task | What to do | “Write a product launch email.” |
| Context | Background it needs | Product details, audience, goals, past results |
| Constraints | Limits and rules | Under 150 words, no jargon, UK spelling |
| Examples | What good looks like | A previous email that performed well |
| Format | How to deliver the answer | Subject line + 3 short paragraphs + CTA |
Frameworks don’t unlock hidden powers in the model. Their value is consistency: they stop you from forgetting the context or format, and they make prompts easy to reuse across a team.
In short: A good prompt framework is simply a reliable way to give the AI everything a smart new colleague would need.
Do Prompt Frameworks Still Matter With Newer AI Models?
Yes, but their role has changed. Modern models are better at understanding loose instructions, and reasoning models work through problems step by step without being asked. Several vendors now advise giving reasoning models clear, direct goals and adjusting their reasoning or thinking settings rather than adding “think step by step”.
What still matters is context. Teams increasingly talk about context engineering: supplying the right documents, data, examples, and instructions, often through system prompts and retrieval. Frameworks remain a useful way to organise that context. Official guides such as Anthropic’s prompt engineering documentation recommend the same basics: be clear and specific, give examples, and structure longer prompts.
Prompt Frameworks Compared at a Glance
| Framework | Components | Best for |
|---|---|---|
| RTF | Role, Task, Format | Quick everyday tasks |
| TAG | Task, Action, Goal | Short, outcome-focused requests |
| APE | Action, Purpose, Expectation | Analysis and summaries with a clear use |
| CARE | Context, Action, Result, Example | Business tasks where a sample helps |
| CO-STAR | Context, Objective, Style, Tone, Audience, Response | Marketing and audience-specific content |
| RISEN | Role, Instructions, Steps, End goal, Narrowing | Multi-step tasks with clear limits |
| CRISPE | Capacity/Role, Insight, Statement, Personality, Experiment | Exploring several creative options |
| CRAFT | Context, Role, Action, Format, Target audience | Detailed, reusable content prompts |
| AIDA / PAS / BAB | Copywriting structures | Sales pages, emails and ads |
| Few-shot, CoT, chaining, ReAct | Techniques rather than templates | Complex, accurate or multi-step work |
Which Simple Prompt Frameworks Work Best for Everyday Tasks?
RTF (Role, Task, Format)
The most popular starter framework. Tell the AI who to be, what to do, and how to present the result.
Example: “You are an experienced HR manager (Role). Write five interview questions for a junior data analyst (Task). Present them as a numbered list with one line on what each question reveals (Format).”
TAG (Task, Action, Goal)
Useful when the outcome matters more than the persona.
Example: “Task: review our customer support process. Action: identify the three biggest causes of slow replies and suggest automation for each. Goal: cut average first response time to under four hours.”
APE (Action, Purpose, Expectation)
A quick way to explain why you need something, which helps the model choose what to include. (Don’t confuse it with “Automatic Prompt Engineer”, a research method that uses AI to generate and test prompts automatically.)
Example: “Summarise these customer reviews (Action) so our product team can prioritise fixes next sprint (Purpose). Give the top five issues with a count and one representative quote each (Expectation).”
CARE (Context, Action, Result, Example)
Adds an example of what good looks like, which is often the fastest way to get the right style.
Example: “We’re a dental clinic launching evening appointments (Context). Write a short Instagram caption (Action) that drives bookings from working professionals (Result). Here’s a past caption that performed well: … (Example).”
Bottom line: For most daily tasks, RTF plus one line of context and a clear format gets you 80% of the way.
Which Detailed Frameworks Suit Content and Business Work?
CO-STAR
CO-STAR (Context, Objective, Style, Tone, Audience, Response) was popularised after it won a GPT-4 prompt engineering competition in Singapore in 2023. It works well whenever voice and audience matter.
Example: “Context: we’re launching an AI budgeting app. Objective: convert free users to paid. Style: conversational and clear. Tone: reassuring. Audience: freelancers and small business owners. Response: hero headline, three feature blocks, and a short FAQ.”
RISEN
RISEN (Role, Instructions, Steps, End goal, Narrowing) is good for tasks with a process and boundaries.
Example: “Role: SEO strategist. Instructions: create a content plan for a B2B SaaS blog. Steps: research topics, group into clusters, prioritise by intent. End goal: a 3-month publishing calendar. Narrowing: 12 posts maximum, no topics already covered on our site.”
CRISPE and CRAFT
CRISPE (Capacity/Role, Insight, Statement, Personality, Experiment) asks the model for several variations, which suits brainstorming taglines or campaign ideas. CRAFT (Context, Role, Action, Format, Target audience) is a detailed all-rounder that many teams turn into reusable templates.
Copywriting frameworks: AIDA, PAS and BAB
- AIDA (Attention, Interest, Desire, Action): guides the reader from hook to call to action; ideal for landing pages and emails.
- PAS (Problem, Agitate, Solution): names a pain point, shows its cost, then presents your solution.
- BAB (Before, After, Bridge): describes life now, life after, and how your product gets them there.
These come from classic copywriting rather than AI research, but they work well as the “Format” part of an AI prompt: “Write this email using the PAS structure.”
Which Prompting Techniques Improve Accuracy and Reasoning?
Unlike acronym frameworks, these techniques come from AI research and change how the model approaches a problem.
Few-shot prompting
Give two to five examples of input and ideal output before your real request. The model copies the pattern, format, and tone. It’s one of the most reliable ways to get consistent results, especially for classification, extraction, and brand voice.
Chain-of-thought prompting
Ask the model to reason step by step before answering. It helped older models with maths, logic, and multi-step questions. With today’s reasoning models, explicit chain-of-thought is often unnecessary; instead, ask for a brief explanation of the answer if you need to check it.
Self-consistency
Generate several independent answers to the same question and pick the one that appears most often. It improves reliability on reasoning tasks, at the cost of more time and tokens.
Prompt chaining
Break a big job into smaller prompts, where the output of one becomes the input of the next: research, then outline, then draft, then edit. Chaining makes each step easier to check and fix.
ReAct (Reason and Act)
The model alternates between reasoning and taking actions, such as searching the web or calling a tool, then uses the results to continue. It’s the pattern behind many AI agents.
Structure with delimiters and XML tags
Separate instructions from data using headings, triple quotes, or XML-style tags such as <document> and <instructions>. This reduces confusion in long prompts and makes outputs easier to parse.
Our advice: Use an acronym framework to organise what you say, and these techniques to improve how the model works through it.
Turn Better Prompts Into Reliable AI Features
Share your AI use case and data. Our team will design prompts, connect models to your systems, and build AI features your users can trust.
Request a ProposalWhich Thinking Frameworks Work Well Inside AI Prompts?
Classic problem-solving and communication models also make strong prompt structures:
| Framework | Structure | Use it to |
|---|---|---|
| SCAMPER | Substitute, Combine, Adapt, Modify, Put to another use, Eliminate, Reverse/Rearrange | Generate product or campaign ideas |
| Socratic questioning | A series of probing questions | Challenge assumptions and stress-test a plan |
| GROW | Goal, Reality, Options, Will | Coaching, planning and decision-making |
| STAR | Situation, Task, Action, Result | Case studies and interview answers |
| PREP | Point, Reason, Example, Point | Clear, persuasive arguments |
How Do You Improve Prompts Over Time?
- Start with a baseline prompt using a simple framework.
- Review the output for accuracy, tone, completeness, and format.
- Change one thing at a time: add context, an example, or a constraint.
- Ask the model to critique its own answer against your criteria, then revise.
- Save prompts that work as templates your team can reuse.
Research goes further. Methods such as Reflexion have models reflect on mistakes and retry, while automated approaches like EvoPrompt and tools like DSPy generate and test many prompt variations to find the best performer. These are mostly used by developers building AI products rather than everyday users.
Need a Prompt Library Your Whole Team Can Use?
Talk to our AI experts about your workflows and tools. We'll help you build tested, reusable prompts and system prompts that give consistent results.
Schedule a ConsultationHow Do You Choose the Right Prompt Framework?
| Your task | Start with |
|---|---|
| Quick answer, email or summary | RTF or TAG |
| Marketing content for a specific audience | CO-STAR or CRAFT |
| Multi-step plan or process | RISEN |
| Several creative options | CRISPE or SCAMPER |
| Sales copy | AIDA, PAS or BAB |
| Consistent format or brand voice | Few-shot examples |
| Complex research or long documents | Prompt chaining plus delimiters |
| AI agent that uses tools | ReAct-style prompts |
Worth knowing: You can combine frameworks: CO-STAR for the brief, few-shot examples for style, and AIDA for the structure.
Basic Prompt vs Framework Prompt: An Example
Basic prompt: “Write a LinkedIn post about our new app.”
With RTF plus context: “You are a B2B social media manager. Write a LinkedIn post announcing our expense-tracking app for small agencies. It saves owners about two hours a week on receipts. Audience: agency founders. Keep it under 120 words, start with a relatable problem, include one short customer quote placeholder, and end with a question to drive comments.”
The second prompt takes 30 seconds longer to write but usually removes three or four rounds of edits.
What Are the Most Common Prompting Mistakes?
- Giving a task with no context about audience, purpose or constraints.
- Asking for too many things in one prompt instead of chaining steps.
- Leaving out the output format, then reformatting manually.
- Using vague words like “good”, “engaging” or “professional” without examples.
- Forcing “think step by step” on reasoning models that already do it.
- Pasting sensitive or confidential data into tools that aren’t approved by your organisation.
- Trusting outputs without checking facts, figures and sources.
How EncodeDots Helps Businesses Use AI
Good prompts are the first step; production AI needs more. EncodeDots helps companies design prompt libraries and system prompts, connect models to their own data, and build reliable AI features and agents through our generative AI development services and wider AI development services.
Planning an AI project? Talk to our AI team.
Conclusion
Prompt frameworks are less about magic acronyms and more about habits: say who the AI should be, what you need, why you need it, what to avoid, and how the answer should look. Start with RTF for quick tasks, use CO-STAR or RISEN for important work, add examples when style matters, and break big jobs into chained steps. Then keep testing and refining. That’s what consistently turns generic AI output into work you can actually use.




