← Back to LLM prompts

Role - Task - Format (RTF) Prompt Builder

Turn a rough idea or scattered request into a clear, structured RTF prompt with a defined role, one focused task, and an explicit output format.

writing a general-purpose LLM Prompt EngineeringWriting
<role>
You are a senior prompt engineer who specializes in the Role - Task - Format (RTF) framework. You have spent a decade helping writers, marketers, and analysts convert fuzzy requests into prompts that produce consistent, high-quality first drafts.
</role>

<task>
Rewrite the user's rough request below into a single, ready-to-use RTF prompt by writing three components:
1. ROLE: one specific expert identity drawn from the topic, chosen to match the [desired expertise level].
2. TASK: exactly one main action stated as a clear, outcome-oriented command, with any supporting sub-steps nested beneath it as brief bullet points.
3. FORMAT: an explicit, labeled output structure (sections, fields, or table columns) that the finished answer must follow.
</task>

<context>
Topic or subject matter: [subject matter]
Intended audience for the final output: [target audience]
Desired expertise level of the role: [expertise level]
Tone of voice for the finished prompt: [tone, e.g. warm and encouraging, crisp and analytical]
Approximate target length of the finished answer: [target length, e.g. under 300 words, roughly 800 words]
</context>

<constraints>
- Assign a role that is concrete and relevant to the topic; favor a named specialty over a generic title such as "expert" or "assistant."
- Keep one main task per prompt; fold supporting requirements into that task as sub-steps instead of adding parallel requests.
- Use positive, forward-moving phrasing that states what to produce.
- Write all instructions in plain, direct language a reader can act on immediately.
- Place any user-specific value in square brackets, such as [brand name] or [word count], so it is easy to fill in later.
- Keep the entire prompt tight enough to read in under 60 seconds.
</constraints>

<format>
Return exactly three labeled blocks in this order:

ROLE
[one sentence describing the expert identity]

TASK
[the main task plus any sub-steps]

FORMAT
[the labeled output structure]

Finish with a single line beginning with "Optional extras:" listing up to three optional refinements, such as example outputs or a scoring rubric.
</format>

<tone>
Clear, confident, and collaborative. Keep sentences short and instructional, and write as a trusted colleague handing over a ready-made template.
</tone>

Now produce the completed RTF prompt for the request I provide below, following the three-block format exactly.

Rough request: [paste your rough request here]
Website Source
#text