XML delimiting
Tag role, objective, constraints, and format for Claude.
When to use
Targeting Claude or Claude-family models.
How to apply
Wrap sections in <role>, <objective>, <constraints>, <output_format> (or similar) tags.
Glossary
- XML tags
- Angle-bracket labels like <role>…</role> that fence sections for Claude-family models.
- role tag
- The XML block that states who the model should be.
- constraints tag
- The XML block that lists hard don’ts and musts.
