Structure a complex LLM task with XML tags

ai agent frameworkKINDA1 method

KINDA — AI can help, with a person in the loop.

1 method on the page: 1 prompt.

Use cases

Methods

Paste into a general LLM and structure a complex LLM task with XML tags for context, constraints, and output format

prompt

LLMPrompt

Prompt
Copied 0
<instructions>
Do the task specified in <task>. Follow <constraints>. Use <context>. Return output in <output_format>.
</instructions>

<task>
<<<what you want done>>>
</task>

<context>
<<<background docs, audience, examples>>>
</context>

<constraints>
- <<<tone, length, must/must-not>>>
</constraints>

<output_format>
<<<bullets / markdown / JSON schema>>>
</output_format>