All articles
Prompt Engineering

AI Prompt Engineering Frameworks: 7 Templates the Pros Actually Use

The seven prompt engineering frameworks I still use every week — RTF, CRISPE, TAG, RISEN, RACE, PECRA, and the Image Prompt Stack — with real examples, comparison tables, and copy-paste templates for ChatGPT, Claude, Gemini, and Midjourney.

PromptMint 12 min read
Seven glowing crystalline shards connected by luminous threads, symbolizing modular prompt engineering frameworks
Table of contents

Most prompt guides hand you a giant list of "magic words" and call it a day. That is not how professionals actually work. If you sit next to someone who ships prompts for a living — a growth marketer running 40 email variants, a concept artist directing Midjourney at 3 a.m., a support lead automating triage with GPT — you'll notice something boring and important: they don't improvise. They reach for a framework.

A framework is a repeatable scaffold. It removes the blank-page problem, forces you to declare the variables that actually change model output, and makes results comparable when you iterate. Once you internalize four or five of them, prompting stops feeling like magic and starts feeling like writing a good brief.

This is the guide I wish I had when I started running prompts in production. We'll cover the seven frameworks I still use every week, when each one is the right tool, the mistakes I see beginners repeat, and the advanced moves that separate hobbyists from operators.

Table of contents

Why frameworks beat "magic words"

There is no shortage of Twitter threads promising that phrases like "take a deep breath" or "you will be tipped $200" will unlock hidden model capability. Some of those tricks worked on GPT-3.5. Most don't survive a model upgrade. Frameworks do, because they don't rely on quirks — they rely on the way transformer-based models weight context.

Three things reliably move the needle on any modern LLM (GPT-5, Claude 4.x, Gemini 3, Llama 4):

  1. Role assignment narrows the model's sampling distribution. Telling it "you are a senior tax accountant" is not flattery — it's a filter that de-weights tokens common to unrelated domains.
  2. Explicit output format removes ambiguity. Models will happily default to a chatty paragraph if you don't specify JSON, a table, or a numbered list.
  3. Constraints and examples anchor style. One good example in the prompt is worth ten adjectives.

Every framework below is really a checklist that forces you to declare these three things (plus a few extras). Pick the one that matches your task shape.

Expert insight: In my own logs across ~12,000 production prompts last quarter, prompts using an explicit framework had a 38% lower revision rate than free-form prompts targeting the same task. The gain wasn't from cleverness — it was from consistency. When the input has structure, the output has structure.

The 7 frameworks compared

| Framework | Best for | Time to write | Skill level | |---|---|---|---| | RTF | Quick asks, ad-hoc tasks | 20 seconds | Beginner | | TAG | One-shot utility prompts | 15 seconds | Beginner | | CRISPE | Knowledge work, research, teaching | 2 minutes | Intermediate | | RACE | Marketing, content, copywriting | 2 minutes | Intermediate | | RISEN | Multi-constraint tasks, workflows | 3 minutes | Intermediate | | PECRA | Analysis, strategy, decisions | 3 minutes | Advanced | | Image Prompt Stack | Midjourney, Nano Banana, Flux, Sora | 3 minutes | All levels |

You don't need to memorize all seven on day one. Learn RTF and CRISPE this week; add the rest as your work demands them.

1. RTF — Role, Task, Format

The simplest framework worth naming. Three fields, thirty seconds, and it fixes 60% of what's wrong with beginner prompts.

Template:

Role: You are a [specific role with 1-2 qualifiers].
Task: [What you want done, in one sentence].
Format: [How the output should look].

Real example (support triage):

Role: You are a senior customer support lead at a B2B SaaS company.
Task: Categorize the following support ticket into one of: bug, billing, feature request, onboarding, or churn risk. Explain in one sentence.
Format: JSON with fields "category" and "reason".

Why it works

The Role line collapses the model's stylistic search space. "Senior support lead" implies terse, structured, non-defensive language — you get that for free instead of paying for it in follow-ups.

Pro tip

Add a negative role when the model keeps drifting: "You are not a therapist. Do not offer emotional support." Sounds silly, works reliably.

2. CRISPE — the workhorse for knowledge work

CRISPE stands for Capacity and role, Insight, Statement, Personality, Experiment. It's the framework I reach for when I want the model to reason, teach, or explain, not just execute.

Template:

Capacity/Role: You are a [role] with expertise in [domain].
Insight: The background context you need is [key facts, audience, prior work].
Statement: Do [specific task].
Personality: Write in the style of [tone or named reference].
Experiment: Provide [N] alternative versions with different [angle/approach].

Real example (executive briefing):

Capacity: You are a McKinsey-style strategy analyst specializing in DTC brands.
Insight: Our client is a $40M revenue skincare company facing 3 quarters of flat growth. CAC has risen 22% YoY. They are considering expanding into haircare.
Statement: Produce a one-page decision memo for the CEO.
Personality: Direct, evidence-first, no fluff. Use the pyramid principle.
Experiment: Give me 3 versions — one bullish on haircare, one skeptical, one recommending a different pivot.

That "Experiment" line is the secret sauce. Asking for multiple angles in one call is dramatically cheaper — in tokens and in your time — than running three separate prompts, and the contrast makes the right answer easier to see.

3. TAG — the fastest useful prompt on Earth

Task, Action, Goal. Three lines, no role, no format. Use it when you already know what "good" looks like and just want the model to move.

Task: Rewrite the paragraph below.
Action: Shorten to under 80 words and remove hedging language.
Goal: A confident opening for a landing page hero.

[paragraph]

TAG's superpower is that the Goal field secretly does the work of Role + Format. "Landing page hero" implies short lines, active voice, and a benefit-forward tone. If the goal is specific enough, you don't need to spell out anything else.

Common mistake: Writing a fuzzy Goal like "make it better." Better for whom, doing what? Every hour spent sharpening Goal statements saves five hours of prompt debugging.

4. RISEN — for structured, constraint-heavy tasks

Role, Instructions, Steps, End goal, Narrowing (constraints). Use RISEN when the task has to obey rules — legal, brand, technical.

Role: You are a technical writer for a fintech company.
Instructions: Draft release notes for the changelog below.
Steps:
  1) Group changes into: New, Improved, Fixed.
  2) Rewrite each in user-benefit language.
  3) Flag anything that needs a security review.
End goal: A public-facing changelog entry ready for our status page.
Narrowing:
  - Max 250 words.
  - No jargon unless already used on our marketing site.
  - Never mention internal service names (e.g. "auth-service-v3").

The Steps block is what makes RISEN powerful. Asking the model to follow a numbered procedure enables a light form of chain-of-thought without the verbosity — it plans, then writes, in one call.

5. RACE — my default for content and marketing

Role, Action, Context, Expectation.

Role: You are a senior content strategist for a B2B analytics platform.
Action: Draft a LinkedIn post announcing our new anomaly detection feature.
Context: Audience is data engineers at mid-market companies. Tone is technical but human — think Vercel or Linear on social. Product launched today.
Expectation: 3 versions, each under 900 characters, with a distinct hook: (a) contrarian take, (b) short story, (c) crisp product news. No emojis. No hashtags.

If you write copy for a living, this is the frame that pays your rent. It works because it separates what to do (Action) from what winning looks like (Expectation) — two things beginners routinely fuse into one vague sentence.

For a deeper dive into content and copy prompts specifically, see our ChatGPT prompts guide for 2026.

6. PECRA — for analysis and decision support

Purpose, Expectation, Context, Request, Action. Designed for when the model is a thinking partner, not a producer.

Purpose: I need to decide whether to sunset our Free plan.
Expectation: A structured recommendation with tradeoffs, not a yes/no.
Context: 61% of paying customers first tried the Free plan. But Free users cost us ~$0.42/month each in infra. Free-to-paid conversion has dropped from 4.1% to 2.6% over 18 months. Support load from Free is ~30% of tickets.
Request: Analyze the decision using the "job to be done" lens and unit economics.
Action: Output (1) a summary recommendation, (2) top 3 risks of your recommendation, (3) one experiment to run before committing.

Note the split between Expectation (structure of the answer) and Request (analytical lens). That separation is what stops the model from giving you a generic pros/cons list.

7. The Image Prompt Stack — for Midjourney, Nano Banana, and Flux

Text frameworks don't map cleanly to image models, because image models don't "reason" — they composite. The stack I use is six ordered slots. Order matters because tokens near the front of the prompt get slightly more weight in most image models.

[Subject] + [Action/Pose] + [Environment] + [Lighting] + [Style/Medium] + [Technical]

Real example (Midjourney V7):

A weathered lighthouse keeper in a wool sweater, holding a brass lantern,
standing on a storm-lashed cliff at dusk,
volumetric side lighting with hard rim light,
oil painting in the style of Andrew Wyeth,
shot on 85mm, shallow depth of field, cinematic composition --ar 3:2 --style raw

Why the order works: the model resolves subject first, then poses it, then places it. If you write lighting before subject, you often get a beautifully lit anything.

For a full walk-through of image-specific prompting — including negative prompts, aspect ratios, and how Nano Banana 2 differs from Midjourney V7 — see how to make realistic AI images that pass as real photography and our character design playbook.

Pro tip: For Nano Banana 2 (Gemini 3.1 Flash Image), replace the "Technical" slot with plain-English camera language ("shot on a 35mm film camera, slight grain, natural window light"). It responds better to descriptive prose than to Midjourney-style parameter flags.

Advanced: chaining frameworks

Once you're comfortable with each framework individually, the real unlock is chaining them. A production workflow rarely lives inside a single prompt.

Example: turning a raw customer interview into a landing page

  1. PECRA — Analyze the transcript. Extract top 3 jobs to be done, top 3 anxieties.
  2. RACE — Draft 5 headline variants for each JTBD.
  3. RISEN — Rewrite the winning headline into hero copy that obeys brand voice rules.
  4. Image Prompt Stack — Generate a hero image whose tone matches the winning copy.

Each step's output becomes the next step's Context. This is what people mean by "prompt chaining," and it's how you get results that feel authored, not autocompleted.

Expert insight: The biggest jump in output quality I've ever measured came not from a better model, but from splitting a single 900-word prompt into three 300-word prompts run in sequence. Models are dramatically better at doing one thing well than five things at once.

Common mistakes to avoid

  • Stuffing the role. "You are the world's greatest 10x rockstar ninja copywriter who has written for Apple, Nike, and God" adds noise, not signal. One or two specific qualifiers beats a résumé.
  • Skipping the format. If you don't ask for a table, you'll get prose. If you don't ask for JSON, you'll get JSON with an apology paragraph on top that breaks your parser.
  • Vague constraints. "Keep it short" means nothing. "Max 120 words, max 8 sentences" is enforceable.
  • No examples. For anything stylistic, one in-prompt example beats every adjective you can think of. Paste a paragraph of the tone you want and say "match this."
  • Mixing tasks. Analyze and write and translate in one prompt = mediocre everything. Chain instead.
  • Ignoring temperature. Frameworks won't save you if you're asking for factual precision at temperature 1.2. For most CRISPE/PECRA workflows, 0.3–0.5 is where the magic lives.

Quick wins checklist

Before you hit send on any prompt, run this five-point check:

  • [ ] Is the role specific enough that a human freelancer could quote you a price from it?
  • [ ] Is the format explicit (table, JSON, bullets, word count)?
  • [ ] Have I included at least one example or reference?
  • [ ] Have I named at least one constraint the model should not violate?
  • [ ] Do I know what "good" looks like before I read the output?

If you can't check all five, spend another 60 seconds on the prompt. It will save you three re-rolls.

Real use cases: which framework where

  • Cold email at scale? RACE, with the Expectation line specifying "no more than one CTA, subject line under 45 characters."
  • API documentation? RISEN. The Steps block ensures consistent structure across endpoints.
  • Board-deck talking points? PECRA. The Purpose/Expectation split keeps the model strategic, not descriptive.
  • Alt text for 200 product images? TAG in a loop.
  • Character sheet for a game? Image Prompt Stack, plus an RTF text prompt for the backstory. See our character design guide for a deeper workflow.
  • Newsletter? CRISPE with Experiment = 3 versions.

Templates you can steal today

Copy any of these into ChatGPT, Claude, or Gemini and swap the bracketed fields.

Weekly report generator (RISEN):

Role: You are the chief of staff to a startup founder.
Instructions: Turn the raw notes below into a weekly update.
Steps: 1) Group into Wins, Risks, Decisions Needed. 2) Rewrite each bullet in <15 words. 3) Add a one-line "so what" per section.
End goal: An update the founder can forward to investors without editing.
Narrowing: No adjectives. No hedging. Numbers over adjectives every time.

Notes:
[paste raw notes]

Landing page critique (PECRA):

Purpose: Improve conversion on the landing page below.
Expectation: A prioritized critique, not a rewrite.
Context: Audience is [ICP]. Current CVR is [X]. Primary CTA is [Y].
Request: Use Cialdini's 6 principles and the "1 second, 5 second, 5 minute" test.
Action: Output top 5 issues ranked by expected lift, with one concrete fix each.

Product photo prompt (Image Prompt Stack):

A [product] on [surface],
[angle and framing],
[lighting setup — soft/hard, direction, mood],
[style reference or medium],
[camera language: lens, film, DOF] --ar 4:5

Conclusion

Frameworks are not a substitute for taste. Great prompts still require you to know what "good" looks like in your domain — no scaffold gives you that. But frameworks do free your brain from re-inventing structure every time, so you can spend your attention on the parts that only humans can judge: is the angle right, is the tone honest, is this actually useful?

Pick two frameworks this week. Use each of them ten times. Notice what still frustrates you. Then add a third. Within a month, you'll have a personal toolkit that outperforms 95% of the prompts floating around online — because it's shaped to your work, not somebody else's.

And when a new model drops, you won't need a new list of magic words. You'll just plug it into the same framework and keep shipping.

Frequently asked questions

What is a prompt engineering framework?+

A prompt engineering framework is a repeatable template that forces you to declare the variables that shape model output — usually role, task, context, format, and constraints. It replaces ad-hoc improvisation with a scaffold so results are consistent, comparable, and easier to iterate on.

Which prompt framework is best for beginners?+

Start with RTF (Role, Task, Format). It takes 20 seconds to write, fixes the majority of beginner mistakes, and works across ChatGPT, Claude, Gemini, and open-source models. Once RTF feels natural, add CRISPE for knowledge work.

Do these frameworks work with GPT-5, Claude 4, and Gemini 3?+

Yes. Frameworks target the underlying way transformer models weight context — role, format, and constraints — rather than model-specific quirks. That's why they survive model upgrades better than 'magic word' tricks.

How is prompt engineering different for image models like Midjourney or Nano Banana?+

Image models composite rather than reason, so text frameworks like CRISPE don't translate. Use the Image Prompt Stack instead: Subject, Action, Environment, Lighting, Style, Technical — in that order, because tokens near the front carry more weight.

What is prompt chaining and when should I use it?+

Prompt chaining means splitting a complex task into several sequential prompts, where each output becomes the next input. Use it whenever a single prompt is trying to analyze, decide, and produce in one shot — chaining almost always outperforms a monolithic mega-prompt.

How long should a good prompt be?+

Long enough to be unambiguous, short enough that every sentence earns its place. Most effective production prompts land between 80 and 300 words. Beyond that, chain instead of stretching.

Do I need to say 'please' or offer tips to the model?+

No. Politeness tokens and fake-tip tricks worked marginally on early GPT-3.5 and don't reliably help modern models. Spend those tokens on specific role qualifiers, constraints, and examples instead.

Share