The Role, Task, Format Framework
A reliable three-part recipe for stronger prompts.
The Role, Task, Format Framework is a free AI for Everyone lesson on CoddyKit — lesson 1 of 4. You can read the complete lesson below for free — then practise it hands-on in the browser with a built-in code editor and a 24/7 AI tutor. It is part of the AI for Everyone learning path, one of 4 lessons in the course, and your progress syncs across the web and the CoddyKit app.
A Recipe for Better Prompts
If your AI answers feel hit-or-miss, the problem is usually the prompt, not the AI. A simple recipe fixes most of it: Role, Task, Format. You tell the AI who to be, what to do, and how to deliver it. Think of it like ordering coffee: who is making it, what drink you want, and the cup size. Three small choices, a much better result. Over the next scenes you will turn this into a habit you can use every single day.
The R — Role
The Role is the hat you ask the AI to wear. Saying act as a friendly career coach or act as a careful editor instantly shifts its tone, vocabulary, and priorities. Without a role, the AI guesses and gives you a bland, average answer. With one, it leans into the right expertise. Pick a role that matches the help you actually want: a teacher explains, an editor polishes, a planner organizes. One short phrase steers the whole reply.
The T — Task
The Task is the clear action you want done. Be specific: rewrite this email to sound warmer beats fix this email. A strong task names the thing, the change, and any limits. Compare help with my trip to list five low-cost things to do in Lisbon over a rainy weekend. The second leaves nothing to guess. The clearer your verb and details, the closer the first answer lands to what you imagined.
The F — Format
The Format tells the AI how to shape the answer so you can actually use it. Ask for a bulleted list, a short paragraph, a table, three options, or a 50-word summary.
- Bullets for quick scanning
- Table for comparing things
- Short paragraph for an email or message
Without a format, you might get a wall of text you have to reshape yourself. Naming the shape saves you a second round of editing.
Putting It Together
Stack the three parts into one smooth request. Example: Act as a patient nutrition coach. Suggest a simple, cheap weekly lunch plan for someone new to cooking. Give it as a 5-day bulleted list with one quick prep tip each. Role, task, format — all in two sentences. Notice you never used a single technical word. This is plain English doing the heavy lifting, and it works in any AI chat app you choose.
A Weak Prompt vs a Strong One
Weak: Give me ideas for my mom's birthday. The AI has no idea who your mom is or what shape of answer helps. Strong: Act as a thoughtful gift advisor. Suggest birthday ideas for my 60-year-old mom who loves gardening and tea, budget around 30 dollars. Give six options as a bulleted list with one line on why each fits. Same idea, far better result — because role, task, and format are all present.
Order Does Not Have to Be Perfect
You do not need to recite the parts in a fixed order or use formal wording. As an editor, tighten this paragraph and return it as one clean version is perfect. The AI reads the whole request, so a natural sentence works fine. The goal is simply to include all three ideas somewhere. If an answer comes back off, check which part you skipped — usually it is the missing format or a fuzzy task.
When You Can Skip a Part
For tiny, obvious asks you can drop a part. Translate this to Spanish needs no role and the format is clear. The framework earns its keep on bigger, fuzzier requests — planning, writing, advising, comparing. A good rule: the more the answer matters or the more it could go wrong, the more worth it is to spell out all three parts. For quick lookups, stay casual.
Reusing the Framework
Once a Role, Task, Format prompt works well, save it. Keep a note on your phone with a few reliable templates — your email helper, your meal planner, your study tutor. Next time, paste it, swap a detail or two, and send. You stop reinventing the wheel and your results stay consistently good. Many people build a small personal collection of these and never start from a blank box again.
Practice It on Something Real
Pick one thing you actually need today — a reply to write, a plan to make, a topic to learn. Now build it: choose a role, state the task clearly, and name the format. Send it, then read the answer against what you pictured. If it is close, great. If not, you now know exactly which lever to adjust. The framework turns guessing into steering.
Why This One Skill Matters Most
Of everything in advanced prompting, Role, Task, Format gives the biggest return for the least effort. It needs no technical knowledge, works in every AI tool, and quietly upgrades almost every request you make. Master this and most of your AI frustration disappears. The fancier techniques you will learn next are just refinements on top of this solid base.
Quick Check
Spot the missing piece.
Recap
You learned the Role, Task, Format recipe: tell the AI who to be, what to do, and how to deliver it. The role sets tone and expertise, the task names the clear action with details, and the format shapes a usable answer. Skip parts on tiny asks, spell them all out on big ones, and save the prompts that work. This single habit upgrades nearly every request — no technical words required.
Frequently asked questions
Is the “The Role, Task, Format Framework” lesson free?
Yes — the full text of “The Role, Task, Format Framework” is free to read here on the web, and the AI for Everyone course includes 4 lessons in total. To practise it interactively (a built-in code editor and a 24/7 AI tutor) and unlock the rest of the AI for Everyone course, upgrade to CoddyKit PRO.
What will I learn in “The Role, Task, Format Framework”?
A reliable three-part recipe for stronger prompts. You practise AI for Everyone with hands-on code you run directly in the browser, and a 24/7 AI tutor answers your questions as you work through the lesson.
Do I need any experience to start AI for Everyone?
No prior experience is required. AI for Everyone on CoddyKit is structured for beginners through advanced learners; this is — lesson 1 of 4, so you can start here or from the beginning and move at your own pace.
How long does the “The Role, Task, Format Framework” lesson take?
Most CoddyKit lessons take about 5–10 minutes. Each one is bite-sized and interactive, so you make steady progress and pick up exactly where you left off across the web and the app.
Can I write and run code in this AI for Everyone lesson?
Yes. Every AI for Everyone lesson includes a built-in code editor, so you write and run real code right in your browser and get instant AI feedback — no local setup required.
All lessons in this course
- The Role, Task, Format Framework
- Giving the AI a Role to Play
- Showing an Example of What You Want
- Asking the AI to Think Step by Step