In-context learning exemplar synthesizer. Enforces structured framing (XML tags vs JSON vs Markdown) and validates class distribution balance to prevent majority label bias.