Most writing about AI coding assistants falls into one of two camps. One says you no longer need to read the code. The other says the whole thing is a toy. Process Over Magic: Beyond Vibe Coding by Uberto Barbini, published by The Pragmatic Bookshelf in June 2026, takes the less fashionable middle position and defends it in 110 pages: the assistant is a tool, and what you get out of it depends on the process you wrap around it.

I teach teams to work with these tools, so I read a book like this with one question in mind: could I hand it to a group of developers on a Monday and expect their habits to be better by Friday? On the evidence of its published argument, I think the answer is yes. What I like most is that Barbini does not ask you to trust him. He shows the failure first, on video, and only then offers the discipline that prevents it.

Disclosure: The Pragmatic Bookshelf provided a digital review copy of this book free of charge and I keep it. No money changed hands, and The Pragmatic Bookshelf had no approval over the text.

The cover of Process Over Magic: Beyond Vibe Coding by Uberto Barbini

What the book is

It is a title in the publisher’s Pragmatic exPress line, with five chapters and an appendix. According to the table of contents, the first chapter lets vibe coding succeed and then fail, the second builds an application under rules, the third uses an assistant to learn while building, the fourth deals with large codebases and technical debt, and the fifth covers teams: adopting AI, team organisation and security risks.

Barbini is, in the publisher’s words, a longtime advocate of TDD and Extreme Programming who now helps teams integrate AI assistants into their workflows, and it shows. The only requirement is an IDE and access to an assistant. The publisher lists Copilot, Cursor, Windsurf and Claude Code as examples, and the book comes with companion screencasts of the sessions it describes.

It lets vibe coding win first

The opening chapter is available as a free extract, and it is the best argument for buying the rest. Barbini asks an assistant for a jewel-swapping game in Python and gets something playable within minutes. Then he counts: writing the game took about a minute and a half, and fixing the first bugs took more than four. “Debugging is clearly the harder part, even for an LLM.”

A page from the first chapter showing the generated jewel game running inside the IDE

The second experiment, a flight simulator, goes wrong in a way anyone who has run an agent unattended will recognise. The terrain is a brown blob, the assistant keeps announcing that everything is fixed, and the code grows by hundreds of lines nobody understands. Barbini’s observation about the assistant is the one I would put on a slide: “It never pushes back.” He also names the failure modes: the drunken intern, “cheerful, eager to please, but stubborn and completely wrong”, and the loop of death, where each fix breaks the previous one.

The chapter is fair as well as sceptical. He takes spec-driven development seriously and runs the same specification twice in fresh sessions and gets two different games, which is his answer to the idea that specifications could replace code as the source of truth. He also grants that vibe coding is fine for proofs of concept, internal tools and weekend projects. The chapter ends on a diagram that plots working styles by how much you ask for at once and how carefully you check the result, and concludes that there is no single right way.

The book's diagram plotting AI working styles by prompt task size against how carefully the generated code is checked

I like that diagram because it turns an argument about identity (“are we a vibe coding team?”) into a choice you make per task.

What the process is

The process itself sits in chapter two, and a second extract shows its core. It has three parts.

The first is a ruleset, meaning the persistent instructions every assistant lets you attach to each request. Barbini calls a strong ruleset “arguably the single most important factor in getting consistent, high-quality results”, and his advice on writing one is specific. Rules should be concrete and checkable, such as never committing before all tests pass, or never modifying test assertions during a refactor. Telling the model to be careful or precise changes the tone of the answer and not its quality. The ruleset should tell the assistant to ask when instructions are unclear and to say so when a request is impossible. And it should stay short, around 1,000 to 2,000 words, because it shares the context window with the actual work.

The second part is tests, and not as a matter of taste. “Tests are how we help it check its work and keep it honest.” The assistant cannot see the running application, so tests are its main feedback loop, and Barbini wants real assertions and coverage that grows with the code.

The third part is the workflow around the code. The assistant reads a specification file before it starts, logs what it did and why afterwards, keeps a README current, and makes one commit per prompt, self-contained and with its tests. The extract ends with a complete sample ruleset you can copy, and with a line that sums up the chapter: “Less vibing, more discipline.”

A page from the second chapter with the book's sample ruleset for an AI assistant

What would hold up outside the examples

A game written from an empty folder is a friendly setting for any method, so the fair question is what survives contact with a real repository. My judgement is that the least glamorous parts survive best.

One prompt, one commit does not depend on a language, a model or a vendor. It gives every step a rollback point and makes each review small enough to be done properly. Rules that are easy to verify hold up for the same reason, because a team can enforce a rule it can check, whoever wrote the code. And the observation that conversation history is not shared between developers, so the ruleset is the only thing that gives everyone the same baseline, is the first thing I would raise with a team whose results differ wildly from desk to desk.

The third extract, from the chapter on large codebases, is where the book earns the word “process”. Barbini does not pretend a greenfield demo transfers. He switches from a walkthrough to short recipes. Start from a clean, committed state. Work in steps much smaller than you would on a new project. Write a few lines of pseudocode in the file and ask the assistant to turn them into code. Use ask mode to have the assistant explain how to do something, then type it yourself. The reasoning behind all of them is the best sentence in the extracts. If production code reflects only the model’s understanding, “That would make it legacy code from day one”, because nobody would understand it. He compares the approach to rubber duck debugging, except that the duck talks back. Kevin, my British Shorthair, is occasionally pressed into the duck’s role and has never once talked back, so I can see the appeal.

Where I would push back

The advice on personas is not entirely consistent across the extracts. The sample ruleset says “do not simulate personas”, and chapter two explains that the model is not an actor. Chapter one, though, lists role instructions among the things that help, and the legacy chapter recommends telling the model it is a junior developer doing its best. The junior-developer line works because it carries a behaviour, asking before guessing, and not because of the role, so the positions can be reconciled. A team writing its first ruleset would still be right to ask which one the book means.

The coding style in the sample ruleset is the author’s own. He prefers functional code, explicit parameters and immutability, and he says plainly that readers should swap in their own preferences. I would go further and tell a team to delete that section before they start, so the discussion is about their conventions and not his.

The tools will date. The sessions use Windsurf, JetBrains’ Junie and OpenAI’s Codex, and Barbini himself writes that the balance between small steps and larger tasks will shift as models improve. The principles should outlast the screenshots, but a later reader will have to translate.

Finally, the fifth chapter has three sections on the table of contents, in a book of 110 pages. Team adoption is the part of this subject I care about most as a trainer, and a chapter of that size is a starting point for that conversation, and a rollout plan would need more. The public extracts also still carry the beta cover and a handful of typos.

Who in a team should read it

The person who gains most is whoever will write and own the team’s ruleset, usually a tech lead or a senior developer. Chapters one and two give them a draft and the reasoning behind every line of it. Sceptical seniors are the second audience. The book argues in their language, with Kent Beck’s four rules of simple design and small commits. Developers who are new to the tools and already hooked on the first wow moment should read chapter one before anything else. Managers get the least code and, by the table of contents, one chapter of their own.

It is not a book about orchestrating fleets of agents, and it is not a theory book, since the model internals are confined to an appendix. It also assumes you can already program.

Price and where to buy

The Pragmatic Bookshelf sells the ebook for $24.95 on its own page for the book, and that price includes PDF, epub and mobi files. The same page points US readers to Bookshop for the paperback. The paperback is also on Amazon.com through my Amazon link. As an Amazon Associate I earn from qualifying purchases. If you are unsure, read the first chapter extract first, which costs nothing.

What this review is based on

The review copy arrived on 23 November 2026. This is a reading of the book’s argument. I have not run my projects by its rules, and nothing above is a test result. Everything I describe and quote can be checked in public sources, namely the publisher’s page, the table of contents and the three extracts The Pragmatic Bookshelf publishes from chapters one, two and four. Page count, publication date, formats and price come from the publisher’s page. Timings are Barbini’s own, from the first extract. Chapters three and five are described only as far as the table of contents and the publisher’s description go. The judgements about what would hold up, and the objections, are mine.

Verdict

Process Over Magic is a short, practical and honest book. Its original contribution is an order of presentation. It lets the reader watch unguided generation fail, then shows that the cure is the same engineering discipline good teams already claim to have, written down where the assistant can read it. A ruleset you can verify, tests as the feedback loop, one commit per prompt and a developer who still understands the code are not exciting recommendations, and they are the ones I would want a team to adopt.

At $24.95 and 110 pages it asks for an evening and gives back a working draft of a team ruleset and a shared vocabulary for the argument every team is having anyway. I recommend it to tech leads and senior developers first, and to anyone who has watched an assistant announce that everything is fixed while the screen showed a brown blob.

Get the best articles from Think Different

One email a week with practical Mac workflows, useful comparisons and honest tech recommendations.