Skip to content

Structure Your Instructions

Structure is not about aesthetics β€” it’s about reliability: the model should quickly see what is the task, data, examples, and hard rules.

Techniques: named sections (ROLE, TASK, RULES, TONE), XML tags for longer prompts, and hierarchy where critical prohibitions appear late and are clearly marked.

Avoid mixing everything into a single sentence and avoid burying important prohibitions far from the end without clear marking.

Test your knowledge

5 questions Β· 100% correct to pass Β· Review your answers when done