Prompt Engineering 8 min read

The RCTF Prompt Framework: Role, Context, Task, Format

The systematic approach to writing prompts that actually work, every time. Stop guessing and start engineering your AI interactions.

RC
Rupert Chesman
AI Educator · Filmmaker
Updated May 2026

Key Takeaway

RCTF stands for Role, Context, Task, Format. By structuring every prompt with these four components, you move from vague requests to precise instructions — and get dramatically better AI outputs.

Why Most Prompts Fail

Most people type a single sentence into an AI tool and hope for the best. The result? Generic, surface-level outputs that require rounds of back-and-forth to get anywhere useful.

The problem is not the AI. The problem is that a vague input produces a vague output. AI models are powerful pattern-completion engines — they complete what you start. If you start with something vague, they will complete it vaguely.

The RCTF framework fixes this by giving you a repeatable structure for every prompt. Think of it as a checklist: hit all four components and you will get a better result, every single time.

The RCTF Framework

RCTF has four components. Each one narrows the AI’s focus and increases the quality of the output.

R — Role

Tell the AI who it should be. This sets the expertise level, tone, vocabulary, and perspective of the response.

Without a role, the AI defaults to a generic helpful assistant. With a role, it draws on patterns specific to that expertise.

Role You are a senior marketing strategist with 15 years of experience in B2B SaaS companies.

Good roles are specific. “You are a writer” is weak. “You are a direct-response copywriter who specialises in email sequences for e-commerce brands” is strong.

C — Context

Give the AI the background information it needs. What is the situation? Who is the audience? What constraints exist?

Context is where most prompts fall short. You know your situation intimately — the AI does not. Every piece of context you add reduces ambiguity and improves relevance.

Context I run a 20-person digital agency in Sydney. We are launching a new AI consulting service targeting mid-market CFOs. Our existing clients are mostly marketing directors. Budget for the launch is $15K.

T — Task

State exactly what you want the AI to do. Be specific about the action, the scope, and the deliverable.

Vague tasks like “help me with marketing” produce vague outputs. Precise tasks like “write five email subject lines for a cold outreach campaign targeting CFOs” produce usable outputs.

Task Create a 4-week launch plan with weekly milestones, channel recommendations, and specific tactics for each week. Focus on channels that reach CFOs effectively on a $15K budget.

F — Format

Describe how the output should look. Tables, bullet points, paragraphs, specific length, tone — whatever structure makes the output immediately useful to you.

Format is the most underused component. Specifying format cuts editing time dramatically because the AI delivers output in the shape you actually need.

Format Present this as a table with columns: Week, Goal, Channel, Tactic, Budget Allocation, KPI. Then add a one-paragraph executive summary at the top.

Putting It All Together

Here is what a complete RCTF prompt looks like when you combine all four components:

Complete RCTF Prompt Role: You are a senior marketing strategist with 15 years of experience in B2B SaaS companies.

Context: I run a 20-person digital agency in Sydney. We are launching a new AI consulting service targeting mid-market CFOs. Our existing clients are mostly marketing directors. Budget for the launch is $15K.

Task: Create a 4-week launch plan with weekly milestones, channel recommendations, and specific tactics for each week. Focus on channels that reach CFOs effectively on a $15K budget.

Format: Present as a table with columns: Week, Goal, Channel, Tactic, Budget Allocation, KPI. Include a one-paragraph executive summary at the top.

Compare this to just typing “Help me create a marketing plan” and you will see why the framework matters. The AI now knows who it is, what situation it is working with, exactly what to produce, and how to structure it.

Common Mistakes to Avoid

  1. Skipping the role. Without a role, the AI defaults to generic. Always set expertise and perspective.
  2. Assuming the AI knows your context. It does not. Spell out audience, constraints, and background every time.
  3. Being vague with the task. “Write something about X” will never beat “Write a 300-word LinkedIn post about X aimed at Y with a CTA to Z.”
  4. Forgetting format. If you do not specify format, the AI guesses. Often badly. Tell it exactly what shape you want.
  5. Overloading a single prompt. If you need multiple deliverables, split them into separate prompts with the same Role and Context.

When to Use RCTF

RCTF works for virtually every AI interaction. But it shines brightest in professional and business contexts:

  • Writing emails, reports, and presentations
  • Strategy and planning sessions
  • Content creation across any channel
  • Data analysis and interpretation
  • Research and synthesis
  • Creative brainstorming with constraints

For quick, casual questions (“What is the capital of France?”), you do not need a framework. For anything that matters — where quality and specificity count — reach for RCTF.

Next Steps

The best way to learn RCTF is to use it. Try rewriting your last three AI prompts using the framework and compare the outputs. The difference is usually immediate and obvious.

Once you are comfortable with RCTF, explore more advanced techniques like chain-of-thought prompting and system prompts to take your prompt engineering even further.

Want to Go Deeper?

RCTF is one of the core frameworks taught in the Mastering AI Tools course. The full course covers advanced prompting, workflow automation, AI agents, and more.

Explore the Course
RC

Written by Rupert Chesman

AI Educator · Filmmaker · Sydney

Rupert helps individuals and organisations master AI through practical, hands-on training. With experience across corporate workshops, online courses, and filmmaking, he bridges the gap between technical capability and real-world application.

Continue Reading

Free Weekly Insights

Get More AI Guides

Join 1000s of learners. Weekly tips, new articles, and practical frameworks. No spam, ever.

No spam. Unsubscribe anytime. Free cheat sheets on signup.