Define Definition of Done
Purpose
Make "done" a single, transparent quality commitment so that finished work is truly releasable, hidden work is not deferred, and progress figures reflect reality.
When to use
- Items are marked done but still need testing, documentation or deployment work.
- Defects, accessibility or security issues keep escaping to production.
- Several teams contribute to one product and need a common quality bar.
- A regulated context requires evidence of quality activities.
When not to use
- Entry criteria before work starts. Use
definition-of-ready.
- Item-specific behavior that proves one story works. Use
acceptance-criteria.
- A go/no-go decision for a specific release. Use
release-quality-gate or go-no-go.
Inputs
Required:
- What the team delivers (product type, platforms) and its current practices or problems. If missing, ask; the DoD must reflect what the team can actually verify.
Optional, improves quality:
- Existing DoD, organizational or regulatory quality requirements.
- Tooling realities: automated tests, pipeline stages, environments.
- Known escaped defects or audit findings.
Process
- Separate three levels: item level (each story/bug), increment/release level (what must hold before release), and organizational baseline (applies to all teams).
- Cover these quality dimensions and include only what applies: code quality and review; automated tests (unit, integration) passing; acceptance criteria verified; non-functional checks (performance, security per OWASP ASVS level, accessibility per WCAG 2.2 AA); documentation (user, API, operational); deployment to an integrated environment; monitoring/logging in place; data privacy (KVKK/GDPR) considerations checked.
- Phrase each criterion as verifiable and note the evidence (pipeline stage, checklist, reviewer sign-off).
- Compare with the current state. Mark criteria the team cannot yet meet as "target" with a gap-closing action instead of pretending they are met.
- Ensure the DoD does not conflict with acceptance criteria: DoD is generic and applies to all items; AC are item-specific.
- Define what happens when an item fails the DoD at iteration/sprint end or at release: it is not done, returns to the backlog, and is not counted in progress.
- Set a review cadence and a rule for strengthening the DoD over time (add one target criterion when capacity allows).
- Produce a one-page DoD suitable for the team board.
- If the user's goal continues, suggest
definition-of-ready for the matching entry criteria or release-quality-gate for release-level checks beyond the item DoD.
Output format
# Definition of Done – <team/product>
Version: <n> · Agreed: <date or [TBD]> · Applies with org baseline: <yes/no>
## Item Level
| # | Criterion | Evidence | Status |
|---|---|---|---|
| 1 | Code reviewed by at least one other developer | Pull request approval | Met |
## Increment / Release Level
| # | Criterion | Evidence | Status |
|---|---|---|---|
## Target Criteria (not yet met)
- <criterion> – gap – action – owner – by when [TBD]
## Not Done Handling
<what happens when an item fails DoD>
## Review
<cadence and how the DoD is strengthened>
Quality checklist
Common pitfalls
- A DoD the team cannot meet in practice. It gets ignored; start with what is achievable and add targets.
- "Done" meaning "done in development". Include integration and deployability or progress numbers become fiction.
- Listing activities ("testing done") instead of outcomes ("all automated tests pass in the pipeline").
Example
Input: "Mobile banking team, code review and unit tests exist, accessibility and security checks keep breaking."
Excerpt of output:
| 5 | New or changed screens pass WCAG 2.2 AA checks for contrast, labels and focus order | Accessibility checklist attached to item | Target |
| 6 | No new high/critical findings from dependency and static security scans | Pipeline scan stage | Met |
- Target: Screen reader smoke test on both platforms – gap: no device lab – action: define minimal manual script – owner [TBD].
1---2name: definition-of-done3description: "Creates or revises a Definition of Done: the shared quality checklist every increment or work item must pass to count as complete, layered by item, release and organization level, with verification method per criterion and a plan to close gaps. Use when 'done' means different things to different people, quality escapes to production, or someone asks for a DoD or completion criteria."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/definition-of-done7 version: "1.0.0"8 language: en9 category: 02-product10 role: product-owner11 area: backlog12 title: "Define Definition of Done"13 related: "definition-of-ready, release-quality-gate, acceptance-criteria, coding-standards, working-agreement"14 prompt: "Draft a Definition of Done for our mobile banking team; we have code review and unit tests but releases still break accessibility and security checks."15---1617# Define Definition of Done1819## Purpose20Make "done" a single, transparent quality commitment so that finished work is truly releasable, hidden work is not deferred, and progress figures reflect reality.2122## When to use23- Items are marked done but still need testing, documentation or deployment work.24- Defects, accessibility or security issues keep escaping to production.25- Several teams contribute to one product and need a common quality bar.26- A regulated context requires evidence of quality activities.2728## When not to use29- Entry criteria before work starts. Use `definition-of-ready`.30- Item-specific behavior that proves one story works. Use `acceptance-criteria`.31- A go/no-go decision for a specific release. Use `release-quality-gate` or `go-no-go`.3233## Inputs34Required:35- What the team delivers (product type, platforms) and its current practices or problems. If missing, ask; the DoD must reflect what the team can actually verify.3637Optional, improves quality:38- Existing DoD, organizational or regulatory quality requirements.39- Tooling realities: automated tests, pipeline stages, environments.40- Known escaped defects or audit findings.4142## Process431. Separate three levels: item level (each story/bug), increment/release level (what must hold before release), and organizational baseline (applies to all teams).442. Cover these quality dimensions and include only what applies: code quality and review; automated tests (unit, integration) passing; acceptance criteria verified; non-functional checks (performance, security per OWASP ASVS level, accessibility per WCAG 2.2 AA); documentation (user, API, operational); deployment to an integrated environment; monitoring/logging in place; data privacy (KVKK/GDPR) considerations checked.453. Phrase each criterion as verifiable and note the evidence (pipeline stage, checklist, reviewer sign-off).464. Compare with the current state. Mark criteria the team cannot yet meet as "target" with a gap-closing action instead of pretending they are met.475. Ensure the DoD does not conflict with acceptance criteria: DoD is generic and applies to all items; AC are item-specific.486. Define what happens when an item fails the DoD at iteration/sprint end or at release: it is not done, returns to the backlog, and is not counted in progress.497. Set a review cadence and a rule for strengthening the DoD over time (add one target criterion when capacity allows).508. Produce a one-page DoD suitable for the team board.519. If the user's goal continues, suggest `definition-of-ready` for the matching entry criteria or `release-quality-gate` for release-level checks beyond the item DoD.5253## Output format54```markdown55# Definition of Done – <team/product>56Version: <n> · Agreed: <date or [TBD]> · Applies with org baseline: <yes/no>5758## Item Level59| # | Criterion | Evidence | Status |60|---|---|---|---|61| 1 | Code reviewed by at least one other developer | Pull request approval | Met |6263## Increment / Release Level64| # | Criterion | Evidence | Status |65|---|---|---|---|6667## Target Criteria (not yet met)68- <criterion> – gap – action – owner – by when [TBD]6970## Not Done Handling71<what happens when an item fails DoD>7273## Review74<cadence and how the DoD is strengthened>75```7677## Quality checklist78- [ ] Every criterion is verifiable and names its evidence.79- [ ] Item level and release level are separated.80- [ ] Non-functional dimensions (security, accessibility, performance, operability) are considered explicitly.81- [ ] Unmet criteria are shown as targets with actions, not as met.82- [ ] No item-specific acceptance criteria are mixed into the DoD.83- [ ] Standards are named precisely (e.g. WCAG 2.2 AA, OWASP ASVS level).84- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.8586## Common pitfalls87- A DoD the team cannot meet in practice. It gets ignored; start with what is achievable and add targets.88- "Done" meaning "done in development". Include integration and deployability or progress numbers become fiction.89- Listing activities ("testing done") instead of outcomes ("all automated tests pass in the pipeline").9091## Example92Input: "Mobile banking team, code review and unit tests exist, accessibility and security checks keep breaking."9394Excerpt of output:95| 5 | New or changed screens pass WCAG 2.2 AA checks for contrast, labels and focus order | Accessibility checklist attached to item | Target |96| 6 | No new high/critical findings from dependency and static security scans | Pipeline scan stage | Met |97- Target: Screen reader smoke test on both platforms – gap: no device lab – action: define minimal manual script – owner [TBD].