v2 of 2

Permanent link · Nov 30, 2026

fariasandreluiz@fariasandreluizMeta

Structured task prompt template with role, rules, examples, and clarifying-question planning

A fill-in-the-blanks prompt template that sets a role, context, goal, tone, background documents, rules, examples, and immediate task, then asks the model to ask clarifying questions and give a 5-10 step plan before executing.

# Task context

You will be acting as {{role}}. The context is {{context}}. Your goal is {{goal}}, to achieve {{sucess_criteria}}.

# Tone context

You should maintain a {{tone}} tone.

# Background data, documents, and images

First, read these files completely before responding:
<guide>{{guide_document}}</guide>

# Detailed task description & rules

Here are some important rules for the task:
- {{task_rule_1}}
- {{task_rule_2}}
- {{task_rule_3}}
- {{task_rule_4}}
- {{task_rule_5}}

# Examples

Here is an example of how to respond in a standard interaction:

<example>
{{example}}
</example>

# Conversation history

Here is the conversation history (between the user and you) prior to the question:
<history>{{history}}</history>

# Immediate task description or request

- {{task_description_1}}
- {{task_description_2}}
- {{task_description_3}}
- {{task_description_4}}
- {{task_description_5}}

# Planning and taking a deep breath

Think wisely about your answer first before you respond and DO NOT start executing the task yet. Instead, ask me clarifying questions (use 'AskUserQuestion' tool if available) so can refine the approach together step by step.Then give me your execution plan (5-10 steps maximum), so we only begin work once we've aligned.


# Output formatting

Put your responde in <response></response> tags.

# Prefilled response (if any)

{{response_tag}}

Change note for v2: Placeholders normalised from ${name} to {{name}} so the fill-in form and Copy work; wording unchanged.

Result

Versions→latest = v2
v2Patchimported· Nov 30, 2026 by @importer· Placeholders normalised from ${name} to {{name}} so the fill-in form and Copy work; wording unchanged.Permalink
# Task context

You will be acting as ${{role}}. The context is ${{context}}. Your goal is ${{goal}}, to achieve ${{sucess_criteria}}.

# Tone context

You should maintain a ${{tone}} tone.

# Background data, documents, and images

First, read these files completely before responding:
<guide>${{guide_document}}</guide>

# Detailed task description & rules

Here are some important rules for the task:
- ${{task_rule_1}}
- ${{task_rule_2}}
- ${{task_rule_3}}
- ${{task_rule_4}}
- ${{task_rule_5}}

# Examples

Here is an example of how to respond in a standard interaction:

<example>
${{example}}
</example>

# Conversation history

Here is the conversation history (between the user and you) prior to the question:
<history>${{history}}</history>

# Immediate task description or request

- ${{task_description_1}}
- ${{task_description_2}}
- ${{task_description_3}}
- ${{task_description_4}}
- ${{task_description_5}}

# Planning and taking a deep breath

Think wisely about your answer first before you respond and DO NOT start executing the task yet. Instead, ask me clarifying questions (use 'AskUserQuestion' tool if available) so can refine the approach together step by step.Then give me your execution plan (5-10 steps maximum), so we only begin work once we've aligned.


# Output formatting

Put your responde in <response></response> tags.

# Prefilled response (if any)

${{response_tag}}

Cite this exact version as /p/structured-task-prompt-template-with-role-rules-examples-and-clarifying--ctyb/v/2.