Sub topic 7
A one-page definition of done
This chapter assumes you have read the earlier chapters on the quality bar, stakes and reversibility, and acceptance criteria. You should also have planned and delivered small projects of your own and worked with reviewers or deadlines.
What a definition of done is
A definition of done (DoD) is a short written statement, made before you start, of what must be true for a task to count as finished. It collects the decisions you have already made about the quality bar and puts them in one place you can check against.
Acceptance criteria describe what the finished work must do. A definition of done is wider. It also records the context around the work: how much is at stake, who reads it, how long you will spend, and when you will stop. Acceptance criteria are one part of it.
Keeping it to one page is a rule, not a style choice. A DoD that runs longer is rarely read and rarely updated. If you cannot fit the bar on a page, the task is probably several tasks, or you are writing a specification instead.
Why write it down
An unstated bar lives in your head, where it moves. On a good day it rises and you keep polishing. On a bad day it drops and you ship early. A written DoD fixes the bar at the moment you were thinking clearly, before the work pulled you in.
It also gives you three things you otherwise lack:
- A stopping point. You can tell when you are finished instead of deciding by feel.
- A shared reference. A reviewer can read the page and tell you if the bar is wrong before you spend the time.
- A record. When someone asks later why you did not add a chart or a second review, the page shows it was a deliberate choice.
The parts of a one-page DoD
A useful DoD has six parts. You can add more, but remove any part that does not change a decision.
| Part | Question it answers | Source in this tutorial |
|---|---|---|
| Stakes | How bad is a mistake, and can it be undone? | Stakes and reversibility |
| Audience | Who uses this, and for what? | Audience and purpose |
| Must have | What checks must pass? | Acceptance criteria |
| Not required | What am I deliberately leaving out? | Cost of too much polish |
| Time budget | How much effort is this worth? | Timeboxing |
| Stop condition | What event ends the work? | Stopping rules |
The "Not required" line is the one people skip, and it is the most useful. Naming what you will not do protects you from your own perfectionism. It also tells a reviewer which gaps are intentional.
A worked example
Here is a DoD for a weekly status report, a task you might do every week.
## Definition of done: weekly status report
- Stakes: low, reversible (can send a correction)
- Audience: my team lead, reads in under 2 minutes
- Must have:
- [ ] Progress against last week's three goals
- [ ] One risk with an owner
- [ ] Numbers match the tracker
- Not required: charts, formatting polish
- Time budget: 30 minutes
- Stop when: all Must-have boxes are checkedRead it as a set of decisions:
- Stakes: low, reversible. A wrong number in a status report can be fixed with a follow-up message. That justifies a light effort level.
- Audience: team lead, under 2 minutes. This sets the length and tone. A report that takes five minutes to read fails the audience test even if every fact is right.
- Must have. Each box is a check you can answer yes or no. "Numbers match the tracker" is observable. "Numbers are accurate" would not be, because you cannot tell when you have finished verifying.
- Not required. Charts and formatting are ruled out in advance, so you will not spend twenty minutes on a graph.
- Time budget and stop condition. The budget caps the effort. The stop condition says the work ends when the boxes are checked, even if 10 minutes remain.
Choosing the effort level
The earlier chapter on stakes and reversibility gave a decision rule. You can write it as code to see how the two inputs combine. The result goes into the DoD as the effort level.
def effort_level(stakes: str, reversible: bool) -> str:
if stakes == "high" and not reversible:
return "thorough: independent review and testing"
if stakes == "high" or not reversible:
return "careful: self-review plus one checker"
return "light: meet the checklist and ship"
print(effort_level("low", True))
print(effort_level("high", False))Running it prints:
light: meet the checklist and ship
thorough: independent review and testingThe rule is deliberately coarse. Three levels are enough to change your behavior, and finer distinctions invite arguments about the rating instead of the work. Put the resulting level in the DoD next to the stakes line, and let it decide how many items go under "Must have". A light task might have three checks. A thorough one might have a dozen, including a review by someone else.
Turning vague wishes into checks
Most first drafts of "Must have" contain vague words such as clear, complete, good, or professional. Each one hides an unstated standard. Rewrite them until a second person could check the item without asking you what you meant.
## Acceptance criteria: draft the migration guide
Vague: "The guide should be clear and complete."
Observable:
- A teammate who has not seen the old system completes the migration using only the guide.
- Every command in the guide was run once and worked.
- The guide is under 3 pages.A quick test for each item: could two people disagree about whether it passed? If yes, it is still vague. "Clear" fails that test. "A teammate completes the migration using only the guide" passes it, because the teammate either finishes or does not.
Some criteria cost more to check than others. The teammate test takes real time from another person. That cost is a reason to match criteria to stakes. For a high-stakes migration it is worth it. For a low-stakes note to your team it is not.
Writing the DoD in practice
Follow this sequence. It should take five to ten minutes for a task that will take hours.
- State the task in one line. If you cannot, the scope is unclear and you should clarify it before going further.
- Rate the stakes and reversibility. Pick the effort level from the rule above.
- Name the audience and their purpose. Write what they will do with the result, such as decide, follow steps, or file it.
- Draft the must-have checks. Start with what the audience needs, then add the checks that protect against the worst failure.
- List what is not required. Include at least one item. If you cannot think of one, your scope may be too wide.
- Set the time budget. Base it on the effort level and how long similar tasks took before.
- Write the stop condition. Usually this is "all must-have boxes are checked" or "the time budget is spent", whichever comes first.
The diagram below shows how these inputs feed the finished page.
Using the DoD during the work
Writing the page is half the value. The other half is returning to it at set moments.
- At the start, share it with anyone who will review the work. A two-line reply such as "Add the cost figure" is far cheaper before you begin than after you finish.
- At the midpoint, check your time against the budget. If you have used most of the time and met few of the checks, decide then whether to cut scope, extend the budget, or ask for help. Do not wait until the deadline.
- At the end, go through the checks in order and mark them. Do not add new checks at this point. If you notice something the page missed, treat it as a change to the bar and handle it deliberately, as a later chapter explains.
Common mistakes
- Writing it after the work. A DoD written afterward describes what you did, not what you intended. It cannot stop you from over-polishing.
- Too many must-haves. Past about six items, the list stops being a bar and becomes a wish list. Move the extras to "Not required" or to a later task.
- Unobservable checks. Items like "feels polished" bring the hidden standard back in. Rewrite them or remove them.
- No stop condition. Without one, the checklist is a minimum and nothing says when to stop adding.
- A copied template with no thought. A DoD borrowed from a different kind of task will have the wrong stakes and the wrong checks. Reuse the structure, not the content.
Reusing a DoD for repeated work
For tasks you repeat, such as weekly reports or code reviews, keep one DoD and adjust it only when stakes or audience change. Over time you will see which checks never fail and which always do. Remove the first kind to save time. Keep the second kind, because they catch real problems.
For team work, a shared DoD gives everyone the same bar. Keep the team version at the same one-page length, and let individuals add task-specific lines on top rather than rewriting the base.
Exercise
You are asked to prepare a one-time slide deck for a 10-minute internal update to your manager. A mistake can be corrected in a follow-up email. Write a short DoD with the six parts, and rewrite the vague criterion "slides should look professional" as an observable check.
Show answer
A good answer has all six parts. Example: Stakes: low, reversible. Audience: my manager, who needs to decide whether to extend the project. Must have: [ ] One slide stating the decision needed. [ ] Each slide's figures match the source report. [ ] The deck can be presented in 10 minutes in one timed run-through. Not required: custom graphics, animations. Time budget: 90 minutes. Stop when: all Must-have boxes are checked or 90 minutes are spent. Observable replacement for "look professional": all slides use the team template, no slide has more than 6 lines of text, and no text is smaller than 18 points. Each of these can be checked by looking, so two people would agree on the result.
Exercise
A DoD for a task has stakes marked "high, not reversible", a time budget of 20 minutes, and one must-have: "Looks right." Name two problems and fix each.
Show answer
First, the time budget does not match the effort level. By the rule, high stakes with no way to undo the action call for thorough effort with independent review and testing, which 20 minutes cannot cover. Raise the budget or reduce the scope of the task. Second, "Looks right" is not observable, so the checker cannot tell pass from fail. Replace it with specific checks, for example "A second person reviewed the change before it went out" and "The result was tested in a non-production copy and the expected output was confirmed." Optionally also add a "Not required" line and a stop condition, which are missing.