Prompts tagged "xml" in the PromptCraft library.
Wraps instructions, data, rules, and schemas in XML tags when feeding them to an AI — tested to produce roughly 28% fewer errors on structured-extraction tasks than using Markdown headers.
Five quantifiable techniques from an AI engineer's hundreds of hours testing across GPT-4, Claude, and Gemini: CoT scaffolding, persona + goal + anti-goal, XML being 28% more accurate than markdown, negative examples outperforming positive ones, and prompt chaining beating the mega-prompt.