XML tags in prompts — CCA-F Exam Prep

The prompt had instructions, examples, and user input. Claude followed the example instead of the instruction.
A developer built a contract analysis tool. The prompt contained instructions for how to analyze contracts, three example analyses, and the actual contract to analyze. Sometimes it worked perfectly. Other times, the output looked suspiciously like Example 2.