Public preview
XML Delimiters for Clear Separation
Separate prompt parts with XML tags (instructions, examples, document) so the model handles each precisely.
Goal
Prevent the model from mixing your instructions with reference content you paste.
Steps
-
1
Wrap instructions inside <instructions>...</instructions>.
Expected Outcome
Immediate
The model stops mixing "explain this" with "the text you explain".
Evidence base
School: Prompt Structure / Anthropic Best Practices
Founders: Anthropic Research Team (2024)
Anthropic's official guide recommends XML tags as best practice for separating prompt sections, especially with Claude.
Keywords
Frequently asked questions
How long does "XML Delimiters for Clear Separation" take?
This exercise takes about 8 minutes, practiced solo in a Creative format.
When will I notice the effect of "XML Delimiters for Clear Separation"?
The model stops mixing "explain this" with "the text you explain". In the short term: Answers on long texts adhere more to instructions.
Is "XML Delimiters for Clear Separation" evidence-based?
Yes — it draws on Prompt Structure / Anthropic Best Practices (Anthropic Research Team (2024)). Anthropic's official guide recommends XML tags as best practice for separating prompt sections, especially with Claude.
Is "XML Delimiters for Clear Separation" suitable for beginners?
Its difficulty level is: Intermediate. No external tools required — it can be practiced directly inside the app.
Subscribe for full access
Subscribe to Plus for full access to this practice and the whole catalogue, or try first — free, no sign-in, no commitment.
7 complete practices (one per domain) are free forever, no sign-in.