Introduction
What this book is
This is a short book about running a project in which a large language model, an LLM, writes much of the code. It is for project managers and for anyone else answerable for such a project. You don’t need to program. A few chapters show a short test, and each is explained in plain words.
It is not about prompts, and it doesn’t say which model to buy. It is about what the project around the model has to look like for the work to come out right: what is written down, who confirms it, and how the result is checked.
The short version
On a traditional project, writing the code was the long part. Finding out what the business actually does happened along the way: a programmer hit an odd case, walked over and asked, and the answer went into the code.
With the Claude model, or any other, the code comes fast and nobody walks over to ask. The model decides. What didn’t get faster is everything around the code: finding out what the business does, getting the people who know to confirm it, and checking the result. That work is now most of the schedule, and most of it can’t be handed to the machine.
So the scarce resource isn’t code. It is people’s time, and the rework that follows when code is built on a guess. A token, the unit a model is billed in (about three-quarters of a word), is cheap, and it makes both costs visible. A question nobody asked, a decision nobody wrote down, a patch on a patch: each one shows up on the bill. How you spend tokens decides what the project costs in everything else.
Nobody’s first project with an LLM goes quickly. Beginners ask for code. Experienced users ask for spec. Treat the first project as the one where your team learns how. The second pays less of it.
Five rules
- Spec before code. Spec is cheap, so write a lot of it, in markdown only.
- The machine asks; people answer. Buy the questions first: people’s time is the scarce resource.
- Turn the reading into tests. Tests outlast code. Do not hoard code.
- Spend big once, at the gate. Everyday models draft the spec; the best model available reviews the whole package before anything is built.
- Stop when it’s going in circles. If the third patch doesn’t fix it, the spec is unfinished. Go back to rule 1.
The next chapter is a short card for each rule: what to expect from the machine, what your people should expect, and what to expect from the project. The rest of the book takes the ideas one at a time.
How the book runs
The chapters follow the order of a project.
The Premise comes first, because it sets what you are buying. What a model costs and how the bill runs. What happens when its unchecked output gets through. What the agent turned loose without a plan really delivers. And what to tell the sponsor, since the first demo looks nearly finished and isn’t.
Learning and Specifying are the early work. The model has already read the public standards, so have it turn that reading into tests. Then find the spec that lives in people’s heads and beside the system, and have the model ask for it.
The Gate is the one place to spend big. Everyone who owns part of the spec confirms it. Then the best model available reviews the whole package. Only then does building start.
Building covers two sessions of the same model, one to think and one to build, and what passes between them.
What the Model Said closes the book. Its two chapters began as the model’s own account and are now told in the third person. One is about what it sees when it reads a legacy system. The other is about what a project manager can do to get good work from it.
You can read straight through, or take the chapter your project needs this week. Each stands on its own, and where one leans on another, it says so.
Where the examples come from
Most are from jemage, a reader for structured data written for blind users, which I am building with a model. Its code, tests and history are public. The rest come from electronic data interchange, the exchange of business documents such as invoices between trading partners.
Most of this is common sense. This little book is my attempt to make sense of the LLM and transformer movement while it is happening.
I wrote it with Claude, the model I work with every day. The examples name it, but the principles hold for any model built on the transformer.