Prompting Skills playbook/Module 3 · Core techniques

Day 25 / 100 · Core techniques · Structure with tags

Label the parts.

When a prompt mixes instructions, documents and examples, wrap each in simple tags so the model knows what's what.

<instructions>
  Summarise the complaint for a tier-2 engineer.
</instructions>
<policy>
  [paste the SLA policy]
</policy>
<complaint>
  [paste the customer email]
</complaint>
<format>
  Five bullets. Quote SLA clause numbers.
</format>

No mix-ups

The model can tell your instructions from the material you pasted.

Easy to swap

Change the complaint, keep everything else. Perfect for templates.

Easy to point at

“Using only the policy, check the complaint.”

Source: Anthropic ↗

Instructions here. Material there. No mix-ups.