From the free book Delta: Closing the Specification Gap (Dhuri, 2026). The PDF is the canonical edition — figures, tables, and code formatting are simplified online.
Sandeep Dhuri is a tech lead with two decades of enterprise software development experience across financial services, healthcare, and insurance. The book draws on hands-on engineering across .NET and Java platforms and on the author’s independent study and experimentation with AI coding tools. The Specification Frame and the Ten Laws are his own synthesis, drawn from the public literature on AI-assisted development and refined through independent experimentation rather than any employer’s work or codebase. The sources that informed the book are cited throughout and collected in Appendix J. The prompt templates were developed and exercised against working .NET 9, Java 21, Python 3.12, and TypeScript code, and the foundational implementations they rely on are published — with runnable test suites — in the companion repository. The companion code repository is available at acuity.press/code. For citation: ORCID https://orcid.org/0009-0008-1829-2431. Reader correspondence is welcome at author@acuity.press; errata to errata@acuity.press; commercial reproduction permissions to permissions@acuity.press. PART I FOUNDATIONS Chapters –13
The mental models, mechanics, and master key that everything else builds on. Part I covers why prompting is an engineering discipline, how LLMs work at a level useful for practitioners, and the complete Specification Frame technique. Chapter 3 — the Specification Frame — is the most important chapter in the book. Read it first.
10 Chaining and Multi-Agent Orchestration
11 Prompt Files — Treat Your Prompts Like Code
12 Context Engineering — What the Model Knows
13 MCP — Give Your AI Eyes and Hands
14 The Modern Toolchain — What to Use and Why
CONTENTS xix
15 Enterprise Security — The Attack Surface You Did Not Know You Had 16 For Managers, Analysts, and Executives
17 What Is Next — The Honest View
18 Database, Migrations, and Query Prompting
19 DevOps, CI/CD, and Infrastructure Prompting
A
B
Result<T> and Money<T> — Complete Implementations 144
C
D
E
F
G
H
I
J
K