Applied AI Engineering · Volume II

Prompt Engineering

Designing, Testing, and Defending AI Instructions

In development Chapter plan approved. Drafting in progress.

Not yet on saleGet release updates

About this volume

Volume II is about control. It treats a prompt as an engineered artifact with a specification, a test suite, and a regression history — not as a phrase you tune until the output looks right.

It introduces the series' signature methodology: the AI Review Board and the Critique Board, two distinct evaluation structures that answer different questions about a system you are about to ship.

Mission

Make a model do what you specify, provably — through systematic prompt design, structured outputs, evaluation, and the Review Board methodology.

Prerequisites. Volume I, or equivalent working knowledge of LLMs. Programming experience in at least one language.

Details

SeriesApplied AI Engineering, Volume II
AuthorDr. Ahmed AlSalih
PublisherNexoma Labs LLC
EditionFirst Edition
Chapters20
DifficultyIntermediate to Advanced
FormatsPaperback, Hardcover, Kindle, EPUB, PDF
StatusIn development

Contents

20 chapters. Chapter numbering restarts at 1 in every volume; cross-volume references are written as Volume III, Chapter 4.

  1. Introduction to Prompt Engineering
  2. Prompt Anatomy
  3. Instruction Design
  4. Context Design
  5. System Prompts and Persistent Instruction Files
  6. Role Prompting
  7. Few-Shot Learning
  8. Structured Outputs and Schema-Constrained Generation
  9. Output Control and Formatting
  10. Reasoning Strategies and Thinking Budgets
  11. Prompt Caching as a Design Constraint
  12. Prompt Evaluation
  13. Evaluation Harnesses and LLM-as-Judge
  14. Prompt Testing and Regression Suites
  15. Prompt Debugging
  16. Prompt Optimization
  17. The AI Review Board
  18. The Critique Board
  19. Patterns, Anti-Patterns, and Reusable Frameworks
  20. Capstone Project

Errata

No errata reported.

Volume II errata

Companion code

Every laboratory runs from a clean checkout and is tested in CI.

Companion code

Teaching this volume?

Slides, syllabi, teaching notes, and assessment keys are free to verified instructors.

Instructor resources