Lang

Track 3 · Prompts · Amber

Prompt & context engineering

Production prompt design is not clever wording—it is instruction hierarchy, versioned system templates, and deliberate context assembly under a token budget. This track teaches how to write durable contracts (role, rules, output shape), slot in RAG chunks and tool results from Track 2, defend against injection, and ship prompts with eval gates. Assumes you can call an LLM API and have built or read a basic RAG loop.

Guides in this track

Six deep-dive chapters. All guides are live—read in order.

Reading order: Prompt explainedCore prompting techniquesSystem prompts & instruction designReliable output formattingContext window managementAdvanced prompting in production

  1. 01

    Prompt & context explained

    Why prompting matters, mental model, prompt anatomy, instruction hierarchy, sensitivity, context in products, production checklist.

    Foundation · Live

  2. 02

    Core prompting techniques

    Zero-shot, few-shot, chain-of-thought, role prompts, delimiters, negative instructions, and when each technique earns its tokens.

    Guide · Live

  3. 03

    System prompts & instruction design

    Versioned policy files, refusal rules, developer role, escalation paths, and testing prompts before deploy.

    Guide · Live

  4. 04

    Reliable output formatting

    JSON mode, schema constraints, citation formats, structured extraction, and parsing failures in production.

    Guide · Live

  5. 05

    Context window management

    Token budgets, lost-in-the-middle, summarization, history trimming, and ordering evidence for maximum recall.

    Guide · Live

  6. 06

    Advanced prompting in production

    Prompt versioning, A/B flags, regression evals, injection defenses, multi-model routing, and observability.

    Guide · Live