System prompt and instructions
A section of the "Prompting and context" topic. The questions check an understanding of practice, not memory of specific library APIs. After each answer comes a review: why the correct option is right, what is wrong with each incorrect one and which chapter to read.
Quiz difficulty Formats: one correct option, several correct options
Quiz 1.2System prompt and instructionsStart Practice or a ranked attempt — you choose after clicking.
01
What we check
- Testing a system prompt
- Business rules in the prompt
- Capital letters in a prompt
- The system prompt and the user message
- The model's chat template
- Concatenating messages by hand
- Protection against injections at the context level
- How to write a skill description
02
Where to read
- Li, AI Agents in Depthsec. 2.3.1 · sec. 2.3.2 · sec. 2.4 · sec. 2.4.1 · sec. 2.4.4 · sec. 2.4.7 · sec. 2.5.1
- Huyen, AI Engineeringch. 5