What format does it use for system prompts?
YAML , XML or something else? Is there more accurate documentation on this?
Welcome to the forums!
System prompts are text, possibly with markdown. If there are cases where you want or need to provide examples in other formats, those are also suitable.
Basically - you can think of the system prompt as just like any other text-based prompt.