Good Enough Engineering¶
What Builders Who Code With AI Need to Know to Ship Safely
A homeowner spends twenty minutes bracing a sagging gate with a scrap of wood. The brace is crooked, and that's fine. The same afternoon she wants to take out a kitchen wall, and she calls a contractor first. He finds the wall is load-bearing, and the job turns into permits, a beam and weeks of work. Nobody thinks she was sloppy with the gate or fussy with the wall. She asked two questions: what happens if I get this wrong, and can I fix it easily if I do?
This book asks those two questions of the app you built with an AI agent. Some parts of your app are gates. Some are load-bearing walls. The agent writes both in an afternoon, and it can't tell you which is which.
Where to Start¶
Read Chapter 1 first. It shows you how to sort your app into the parts that must be right and the parts that can wait, and every later chapter uses that sort.
If something is wrong right now, go straight to the chapter that covers it:
- A key or password ended up on GitHub: Chapter 6.
- A member might be able to see another member's data: Chapter 7.
- A vendor returns nothing for data you know exists: Chapter 6, then Chapter 9.
- A scheduled job stopped and nothing reported an error: Chapter 12.
- A vendor bill jumped overnight: Chapter 13.
- A deploy just broke the app: Chapter 14.
Who This Book Is For¶
You know a field well and you've shipped a working app with Claude Code, Cursor, Replit, Lovable or a tool like them. You didn't train as a software engineer. Your app has users, or soon will, and it holds things they care about: photos, messages, payments, personal details. You don't want a computer science degree. You want to know which parts of engineering matter for an app like yours, and how to direct your agent so it gets them right.
What You'll Be Able to Do¶
- Sort the parts of your app into must-be-right and good enough for now.
- Keep secrets out of git, and rotate a key when one leaks.
- Check sign-in and access on the server, on every route.
- Use git, tests and a deploy checklist as an undo button for agent work.
- Notice the vendor that fails quietly, the bill that runs away, and the job that never ran.
- Turn each lesson into a check that stops the mistake from coming back.
- Take your own app through a good-enough review and hand it to an engineer.
The book follows one running example: a dating-safety app built by a domain expert with AI agents. Each chapter shows what the agent got right, what it missed, and the small habit that would have caught it.
Find Your Way Around¶
- Chapters: eighteen chapters, each with a quiz at the end.
- Learning Graph Viewer: all 393 concepts and how they depend on each other.
- MicroSims: small interactive simulations you can try in the browser.
- Glossary: every term the book defines.
- FAQ: short answers to common questions.
- References: every source the book cites, with a note on why.
