Claude Certification
Prompt Engineering & Structured Output
Lesson 1 · 6 min

System Prompts

Where to put role, constraints, and output contract.

Put role and persistent behavior in the system prompt. Put per-call data in the user message. Prompts that move volatile content into the system prompt blow the prompt cache. Order matters: static first, dynamic last.

Quick check
Prompt EngineeringSelect one
Which content belongs in the system prompt vs. the user message?