TemplateAdvancedScore 91
Structure prompts with XML tags
Prompt example extracted from Anthropic Prompt Library.
ClaudeGPT-5Gemini
Prompt
Your prompt
Structure prompts with XML tags XML tags help Claude parse complex prompts unambiguously, especially when your prompt mixes instructions, context, examples, and variable inputs. Wrapping each type of content in its own tag (for example, <instructions> , <context> , <input> ) reduces misinterpretation.
