A definition of done with the reason for each item, across code, tests, quality, documentation and shippability. Short enough to actually be kept.
15 items across 5 areas
That is a long list. Shorten it until every item is genuinely always done — a list half of which is ignored teaches everyone that the list is aspirational.
Reviewed by someone who did not write it.
Review finds the assumptions the author cannot see, which is most of what review is for.
No commented-out code, debug logging or temporary workarounds left behind.
Each one is a question the next reader has to answer, and none of them are answerable later.
Error paths handled, not only the successful one.
The unhandled path is the one users find, because there are more ways to fail than to succeed.
Automated tests cover the logic with branches in it.
Branches are where behaviour is decided and therefore where it is got wrong.
A test exists for the defect this work fixes, if it fixes one.
Otherwise the defect can return silently, and the knowledge that it mattered is lost.
The whole suite passes on a clean checkout, not only locally.
A test that depends on local state passes for one person and blocks everyone else.
Keyboard-only operation checked for anything interactive.
A control reachable only by pointer excludes everyone who cannot use one.
Checked at a narrow viewport and at 200% zoom.
Both are requirements, and both break on fixed sizes that look fine on a laptop.
Linting and type checking pass with no new suppressions.
A suppression added to make a check pass removes the check without removing the problem.
User-visible changes described in language a user would use.
An internal description reaches support as a question rather than an answer.
New configuration, flags and secrets written down with their defaults.
An undocumented variable is discovered by the next deployment that lacks it.
Decisions that were not obvious recorded with their reason.
The reason is what lets the next person change it safely, and it is gone within weeks.
Behind a flag, or safe to release as it is.
Work that is done but cannot be released is not done; it is a merge waiting to go stale.
Database changes are reversible, and the reversal has been run.
An irreversible migration removes the option to roll back at the moment it is needed.
Observable in production: a log, a metric or an alert that shows it working.
Without one, the first report of it being broken comes from a user.
A definition negotiated per ticket always gets negotiated the same way under deadline. Its only power is being fixed in advance.
A long list half of which is ignored teaches everyone that the list is aspirational — and that lesson then applies to the items that mattered.
A definition one person wrote is one person's opinion. The value is in the conversation that produced it, and in everyone having had it.
Work that is complete but cannot be released is a merge waiting to go stale. A database change whose reversal has never been run removes the option to roll back at the moment it is needed.
# Definition of done
## Code
- [ ] Reviewed by someone who did not write it.
- *Why:* Review finds the assumptions the author cannot see, which is most of what review is for.
- [ ] No commented-out code, debug logging or temporary workarounds left behind.
- *Why:* Each one is a question the next reader has to answer, and none of them are answerable later.
- [ ] Error paths handled, not only the successful one.
- *Why:* The unhandled path is the one users find, because there are more ways to fail than to succeed.
## Tests
- [ ] Automated tests cover the logic with branches in it.
- *Why:* Branches are where behaviour is decided and therefore where it is got wrong.
- [ ] A test exists for the defect this work fixes, if it fixes one.
- *Why:* Otherwise the defect can return silently, and the knowledge that it mattered is lost.
- [ ] The whole suite passes on a clean checkout, not only locally.
- *Why:* A test that depends on local state passes for one person and blocks everyone else.
## Quality and accessibility
- [ ] Keyboard-only operation checked for anything interactive.
- *Why:* A control reachable only by pointer excludes everyone who cannot use one.
- [ ] Checked at a narrow viewport and at 200% zoom.
- *Why:* Both are requirements, and both break on fixed sizes that look fine on a laptop.
- [ ] Linting and type checking pass with no new suppressions.
- *Why:* A suppression added to make a check pass removes the check without removing the problem.
## Written down
- [ ] User-visible changes described in language a user would use.
- *Why:* An internal description reaches support as a question rather than an answer.
- [ ] New configuration, flags and secrets written down with their defaults.
- *Why:* An undocumented variable is discovered by the next deployment that lacks it.
- [ ] Decisions that were not obvious recorded with their reason.
- *Why:* The reason is what lets the next person change it safely, and it is gone within weeks.
## Shippable
- [ ] Behind a flag, or safe to release as it is.
- *Why:* Work that is done but cannot be released is not done; it is a merge waiting to go stale.
- [ ] Database changes are reversible, and the reversal has been run.
- *Why:* An irreversible migration removes the option to roll back at the moment it is needed.
- [ ] Observable in production: a log, a metric or an alert that shows it working.
- *Why:* Without one, the first report of it being broken comes from a user.
- A definition of done works only if it is the same for every piece of work. One that is negotiated per ticket is a wish list.
- Shorten it until every item is genuinely always done. A long list that is half ignored is worse than a short one that is kept.This is a starting point to argue with, not a standard. The items that matter for a particular team depend on what that team keeps getting wrong, and no generator knows that. Add those, remove what you will not do, and then keep it fixed.
Definition of Done Generator runs entirely on your device — the list is assembled in your browser and nothing you select is sent.
You’re on the Free plan. Compare plans
A definition of done works only if it is the same for every piece of work. One that gets negotiated per ticket is a wish list, because the negotiation always goes the same way under deadline. That is the single most important property it has, and the reason this is a short list rather than a thorough one.
So shorten it until every item is genuinely always done. A long list half of which is ignored is worse than a short one that is kept: it teaches everyone that the list is aspirational, and that lesson then applies to the items that mattered. Turning areas off here is the intended use rather than a limitation.
Every item says what goes wrong without it. "Reviewed by someone who did not write it" is a rule; "review finds the assumptions the author cannot see" is the reason, and the reason is what survives a disagreement at five o'clock on a Friday.
Because a definition negotiated per ticket always gets negotiated the same way under deadline pressure — downwards. Its only real power is being fixed in advance, before anybody knows which item will be inconvenient.
Probably not. Cut it until every item is something your team genuinely always does. A long list half of which is ignored teaches everyone that the list is aspirational, and that habit then applies to the items that actually mattered.
Because work that is complete but cannot be released is not done — it is a merge waiting to go stale. And a database change whose reversal has never been run removes the option to roll back at precisely the moment it is needed.
Because the reason is what you argue with when somebody wants to skip it late on a Friday. "It is on the list" loses that argument; "an unreviewed change ships the assumptions the author could not see" does not.
No, it is a starting point to argue with. The items that matter for a particular team depend on what that team keeps getting wrong, and no generator knows that.
If a tool here saved you some time, you can put something towards the hosting.Buy me a coffee, on Ko-fi, opens in a new tab