02Chapter 2: Why prompts alone driftThis chapter assumes you have basic software development experience, use Git, have prompted an AI coding assistant before, and know what an automated test is. It explains why open-ended prompts give inconsistent results. The next chapters cover the fix.3 min read
03Chapter 3: The spec-driven workflow: requirements, design, tasks, implementationThis chapter assumes you can write code in at least one language, use Git, have prompted an AI coding assistant before, and know basic automated testing. It walks through the four phases of the workflow. Later chapters cover each phase in more detail.3 min read
04Chapter 4: Writing requirements with testable acceptance criteriaThis chapter assumes you can read and write basic tests, use Git, and have prompted a coding agent before. It covers the requirements phase of the spec-driven workflow: what a requirement contains, how to phrase acceptance criteria so each one can be tested, and the errors that make criteria useless3 min read
05Chapter 5: Capturing design decisions before codeThis chapter assumes you can read a requirements document with acceptance criteria, as covered in the previous chapter. It also assumes you have used a coding agent on a multi-file change.3 min read
06Chapter 6: Breaking work into small, verifiable tasksThis chapter assumes you can write and run unit tests, use Git, and have already prompted a coding agent. It also assumes you have a requirements document with numbered acceptance criteria and a design document. The task list is the last planning artifact before implementation.3 min read
07Chapter 7: Turning acceptance criteria into testsThis chapter assumes you can write pytest tests and have read the earlier chapters on requirements and task breakdown. You will turn acceptance criteria into automated tests, so you can check an agent's work by running them instead of reading every line.3 min read
08Chapter 8: Project instruction files for stable conventionsThis chapter assumes you have written a spec (requirements, design, tasks) and have used a coding agent in a Git repository. You should also know how to run a test suite from the command line.3 min read
09Chapter 9: Reviewing the spec and the agent's outputThis chapter assumes you can read a Git diff, run a test suite, and have already seen the requirements, design, and tasks documents from earlier chapters. It covers where a human should stop and check the work, and what to look for at each stop.3 min read
10Chapter 10: Keeping the spec and the code in syncThis chapter assumes you can read Python and Git history, have written a requirements and tasks file as in earlier chapters, and have used an AI coding agent. It covers what happens after the first implementation, when the spec and the code start to disagree.3 min read
11Chapter 11: Choosing how much spec a change needsThis chapter assumes you have read the earlier chapters on the spec-driven workflow. You should be comfortable with requirements, design, and task documents, and with basic automated testing. Not every change needs all three documents. This chapter gives you a way to decide how much spec to write.3 min read
12Chapter 12: Common pitfalls and anti-patternsThis chapter assumes you have read the earlier chapters on requirements, tasks, tests, review gates and spec drift. You should be comfortable with Git and pytest. Here we collect the mistakes that most often make spec-driven work fail, and how to spot and fix each one.3 min read
13Chapter 13: Tooling that supports spec-driven developmentThis chapter assumes you have read the earlier chapters on requirements, tasks, and tests. You should also be comfortable with Git and a CI service. It describes the kinds of tools that keep a spec useful after you write it, and it shows one small check you can add yourself.3 min read