UPDATED MAY 2026

Prompt Engineering Cheat Sheet 2026

6 copy-paste frameworks, 12 quick tips, and anti-pattern fixes — everything you need to write better prompts for ChatGPT, Claude, and Gemini.

⚡ Auto-Improve My Prompt🎯 Score My Prompt
6
Frameworks
12
Quick Tips
6
Anti-Patterns
100%
Free

6 Prompt Frameworks — with Copy-Paste Templates

Each framework is a fill-in-the-blank structure for a different task type. Pick the one that fits, fill in the brackets, and paste.

RTCARole · Task · Context · Action

The foundational 4-part structure. Use this as your default starting point.

Template
Role: You are a [expert role].
Task: [What you want the AI to do].
Context: [Relevant background the AI needs].
Action: Output [format] that [specific requirement].
Filled Example
Role: You are a senior UX copywriter.
Task: Rewrite the onboarding email below to increase activation.
Context: Our users are non-technical SaaS founders. Current click-through is 12%.
Action: Output 3 subject line variants + 1 revised email body (≤150 words). Use conversational tone.
RISENRole · Instructions · Steps · End goal · Narrowing

Best for complex, multi-step tasks where you need the model to follow a process.

Template
Role: Act as a [expert persona].
Instructions: [High-level task description].
Steps: 1) [step one] 2) [step two] 3) [step three]
End goal: The final output should [describe the ideal result].
Narrowing: Avoid [common pitfalls or constraints].
Filled Example
Role: Act as a data scientist and technical writer.
Instructions: Analyze this CSV of customer churn data and produce an executive summary.
Steps: 1) Identify top 3 churn predictors 2) Quantify each (% of churned users) 3) Recommend one intervention per predictor.
End goal: A 200-word summary a non-technical VP can present to the board.
Narrowing: Avoid statistical jargon. Do not re-print the raw data.
CRAFTContext · Role · Action · Format · Tone

Great for content creation and writing tasks where tone and format matter most.

Template
Context: [Background and audience].
Role: You are a [persona].
Action: Write [what].
Format: [Structure — bullet list, table, 3 paragraphs, etc.].
Tone: [Adjectives — professional, casual, persuasive, etc.].
Filled Example
Context: We're launching a B2B SaaS tool for HR teams. Target audience: HR directors at 200–2000 person companies.
Role: You are a B2B SaaS copywriter with 10 years experience.
Action: Write a LinkedIn post announcing our product launch.
Format: Hook line, 3-4 short paragraphs, bulleted benefit list, CTA.
Tone: Professional, warm, outcome-focused. No hype or buzzwords.
CoTChain-of-Thought

Forces the model to reason step-by-step before answering. Dramatically improves accuracy on logic and math tasks.

Template
[Your question or problem].

Before giving your final answer, think step by step:
1. What do I know?
2. What are the key constraints?
3. What approach should I take?
4. Work through the solution.
Then provide your final answer.
Filled Example
A SaaS company has 1,200 customers. Monthly churn is 2.5%. They want to reach 2,000 customers in 12 months without increasing churn. How many new customers must they acquire each month?

Before answering, think step by step:
1. What do I know?
2. What are the key constraints?
3. What approach should I take?
4. Work through the math.
Then give your final answer with the monthly acquisition number.
Few-ShotFew-Shot Learning Template

Provide 2–3 examples before your real request. The model mirrors your pattern exactly.

Template
Here are examples of [task]:

Input: [example 1 input]
Output: [example 1 output]

Input: [example 2 input]
Output: [example 2 output]

Now apply the same pattern:
Input: [your actual input]
Output:
Filled Example
Here are examples of converting plain feature descriptions into benefit-first copy:

Input: "Our software has automated invoice generation."
Output: "Stop spending Friday afternoons on invoices. Our software generates them automatically — so you close out the week in minutes, not hours."

Input: "The dashboard shows real-time analytics."
Output: "Know exactly what's working before you spend another dollar. The dashboard updates in real time so you can act on data, not hunches."

Now apply the same pattern:
Input: "Our tool integrates with 40+ apps."
Output:
ConstraintHard Constraint Prompt

Add explicit constraints to eliminate garbage outputs and force the model to respect your requirements.

Template
[Your task description].

Hard constraints:
- Output ONLY [format] — no preamble, no explanation after
- Maximum [X] words / [X] bullet points / [X] items
- Never include [what to exclude]
- Always include [required element]
- Use [specific format, e.g. JSON with keys: name, description, price]
Filled Example
Suggest 5 names for a productivity SaaS targeting remote engineering teams.

Hard constraints:
- Output ONLY a JSON array of objects — no preamble, no explanation
- Each object must have: { "name": string, "tagline": string (max 8 words), "domain_available_likely": boolean }
- Names must be 1–2 words, pronounceable, not already a major brand
- Never suggest names with "AI", "Smart", or "Pro" in them

Framework Quick-Reference

FrameworkBest forKey components
RTCAGeneral tasksRole · Task · Context · Action
RISENMulti-step processesRole · Instructions · Steps · End goal · Narrowing
CRAFTContent & copywritingContext · Role · Action · Format · Tone
CoTReasoning & mathQuestion + "Think step by step" + Final answer
Few-ShotPattern replicationExample 1 → Example 2 → Your request
ConstraintPrecise output controlTask + hard constraints list + format spec

12 Quick Tips (copy any line directly into your prompt)

These are standalone modifiers. Append them to any prompt for an instant quality boost.

Add "Think step by step" to any reasoning task
+20–40% accuracy on logic/math
Specify exact word count ("≤200 words")
Eliminates rambling responses
"Output ONLY the [X] — no preamble"
Removes meta-commentary you don't need
"You are a [role] with [N] years of experience in [domain]"
Shifts register and expertise level
"Respond in a structured format: [header], [body], [CTA]"
Makes output immediately usable
"Here are 2 examples: [A→B] [C→D]. Now do: [E→?]"
Locks in the exact pattern you want
"If you're unsure, say so — do not fabricate"
Reduces hallucination rate
"Before answering, list your assumptions"
Surfaces hidden model assumptions
"Rate your confidence 1–10 and explain"
Flags unreliable outputs
"Critique the following response, then rewrite it better"
Gets the model to self-improve
"Respond as if explaining to a [audience, e.g. 10-year-old / senior dev]"
Calibrates complexity instantly
"Do not start your response with 'I' or 'Certainly'"
Eliminates filler openers

6 Common Anti-Patterns — and How to Fix Them

These are the most common mistakes that produce generic, overlong, or useless AI outputs.

Vague ask
"Summarize this"
✓ Fix
Add length, audience, and focus: "Summarize in 3 bullet points for a non-technical executive"
Missing context
"Write a cold email"
✓ Fix
Specify product, audience, goal, tone, and word limit
No output format
"List the pros and cons"
✓ Fix
"List pros and cons in a markdown table with a column for impact (High/Med/Low)"
Asking for too much at once
"Research, write, and format a 5000-word report"
✓ Fix
Break into steps: research → outline → draft → format, each as a separate prompt
Ambiguous constraints
"Keep it short"
✓ Fix
"Respond in ≤150 words"
No persona
"Explain machine learning"
✓ Fix
"You are a machine learning engineer. Explain ML to a non-technical marketing director in plain English."

The 5-Element Prompt Checklist

Before sending any prompt, check it has these 5 elements. A missing element is almost always the cause of a bad output.

1
Role

Who should the AI be?

You are a senior Python developer...
2
Task

What exactly should it do?

Refactor the function below to...
3
Context

What background does it need?

This runs in a serverless env where...
4
Constraints

What are the limits?

≤50 lines, no external libs, Python 3.11+
5
Format

How should it respond?

Output only the refactored code — no prose

Want AI to Apply These Frameworks Automatically?

Paste any prompt into our free Prompt Improver. It applies the RTCA structure, adds missing elements, and explains every change — using your own Anthropic key.

⚡ Try the Prompt Improver — Free🎯 Score My Prompt

More Prompt Engineering Resources

📖 Prompt Engineering Guide (Full)📚 Prompt Library — 25 Examples🎯 Prompt Scorer🧠 Test Your Skills — Quiz⚙️ Custom Instructions Generator🔗 Chain-of-Thought Guide📐 Few-Shot Prompting Guide🎭 Role Prompting Guide🛠 System Prompt Generator💻 Best Prompts for Coding
🔥 Tonight: Claude Code Power Prompts · £5 £3 first 10Get PDF →