Prompt Engineering · TRACK 03/05
Context Engineering
Deciding what goes into the prompt, in what shape, and what gets cut.
// THE TRACK
01 · START HEREManaging the Context WindowUnderstand why the field moved from wordsmithing prompts to curating everything in the context window, and the core moves of context engineering.BEGINNERSystem Prompts & RolesLearn what each message role does, why instructions in the system prompt carry more weight, and how to split content between roles correctly.BEGINNERDocuments in PromptsLearn the placement, wrapping, and grounding tricks that make a model answer from your document instead of around it.INTERMEDIATEFew-Shot ExamplesGet a practical answer to the examples question: how many to use, how to pick diverse edge-case-covering ones, and how to spot diminishing returns.INTERMEDIATEContext Window OverflowGet a decision guide for when your input blows past the context limit — truncate, summarize, chunk, or retrieve — and the trade-offs of each option.INTERMEDIATEOrdering ContextLearn how a model weights the start and end of a prompt more than the middle, and how to order instructions, facts, and documents so the key parts land.INTERMEDIATEPrompt CompressionUnderstand how to shrink a prompt's token count — manually and with tools — to cut cost and latency while keeping the information the model actually relies on.INTERMEDIATE