AIDAN course book · Yellow Belt · Promotion exam prep

AI Prompting Course

Validates the ability to design how instructions, examples, documents, conversation history and tool results are arranged so that a model works consistently, and to evaluate and improve the results.

Edition 26.11 · as of 2026-10-21 · Free · read right away, no sign-up.

Contents

  1. How to use this book
  2. Chapter 1. Instruction design

    The model is a capable colleague, but one reporting for work for the first time today · Start from the task type · Four elements of good instructions · Roles define perspectives, but do not provide knowledge · Converting vague requirements into verifiable instructions · State what to do rather than what not to do · Adding reasons allows the model to generalize · Use numbers for procedures where order matters · Message roles and priorities · Templates that separate rules and data · Conflicting instructions must be resolved by the author · Policies for when information is insufficient · Whether to act or suggest, and the trap of emphasis · Do not prescribe solution steps for thinking models · Wrap pasted text in paired tags with random IDs · Fix output format with schemas instead of prefilling · Starting at the right altitude and with a minimal prompt · Editing to shorten instructions and the place for secret information

  3. Chapter 2. Examples and structure

    Examples are sample clothes handed to a tailor · Conditions for good examples · A table for designing diversity · Boundary cases and contrastive pairs · Procedure for reducing example bias · Do not mix examples with evaluation data · Demarcate boundaries with XML tags · Choose a format suited to the consumer · Data dictionary and missing-value representations · Structured outputs: Features that enforce format · Format compliance and content accuracy are different · Principles of prefill and alternatives · Rationale fields as brief explanations · Give directions instead of procedures to thinking-enabled models · New settings for structured outputs and deprecated sampling parameters · Thinking tokens count toward the output limit · Show the method to models with thinking capabilities · The display environment determines the formatting

  4. Chapter 3. Context engineering

    Context is desk space · Context window budget table · Selecting and including only necessary information · Attaching sources, versions, and scopes of application to documents · Long documents at the front, questions at the end · Require citations first · Citation features and search result blocks · Principles of retrieval augmentation · Diagnosing retrieval failure and generation failure separately · Conversation summarization and compaction · Context strategies for long-running agents · Prompt caching and placement · Positioning untrusted content · Two compaction methods: the application picks the timing · Context editing considers both what to clear and what cache breaks · Keeping outside the window and calling when needed: tool search and progress files · Put everything in a long window, or search? · Tool design is also context design · When entrusting conversation state to the server

  5. Chapter 4. Reasoning and multi-step tasks

    Reasoning is scratch paper · Reasoning models and standard models · The knob called reasoning effort · Procedure for aligning reasoning effort with cost and latency · Output limits and reasoning tokens · Prompts for reasoning models · Do not have the model write thought processes in the output · Task decomposition and workflow patterns · Step-by-step input-output contracts · Turning self-review into concrete checks · Parallel, sequential, and subagents · When defaults change, the same request runs differently · Non-disableable thinking and the lowest settings · Reasoning knobs in Gemini and Grok · The cost of excessively divided chains · Long tasks spanning multiple context windows

  6. Chapter 5. Evaluation and improvement

    Evaluation is retaking the same test paper · Turning success criteria into evaluation items · How to use rubrics · Creating a test set · Dividing into improvement and validation sets · Three grading methods · Limitations and calibration of LLM evaluators · Variability and repeated runs · Comparing before and after using the same set · Managing regressions · Classifying failures to determine the next modifications · Agent evaluation: outcomes and transcripts · When changing models, recalibrate effort first · Thinking tokens count toward both cost and failure · Reduce evaluation run costs with batching and caching · When scores fail to reflect reality · Consistency of human grading

  7. Appendix A. Glossary
  8. Appendix B. Self-check answers and explanations
  9. Appendix C. Exam day guide
  10. Appendix D. Reference documents

AIDAN wrote this course book independently from each vendor's official documentation. It is not affiliated with or endorsed by them. Products and policies change, so check the linked official documentation for the latest details.