Definition of Done
Establish the Definition of Done for "$ARGUMENTS". Define quality criteria at story, sprint, and release levels, calibrated to team maturity and project needs.
Prerequisites
None — this is a Phase 0 (Initiate) skill and can run first.
Process
Read existing context:
- Read
.project/$ARGUMENTS/00-initiate.md if it exists (for project charter, team setup, and working agreements context)
Define story-level DoD:
- Code quality:
- Code written and follows agreed coding standards
- Peer reviewed and approved (per code review SLA)
- No linting errors or warnings
- Technical debt documented if introduced intentionally
- Testing:
- Unit tests written and passing
- Integration tests written where applicable
- Test coverage meets or exceeds team threshold (define target, e.g., 80%)
- Edge cases and error paths tested
- Documentation:
- Code comments for complex logic
- API documentation updated (if public-facing)
- User-facing documentation updated (if applicable)
- Acceptance:
- Acceptance criteria met and verified
- Product Owner has reviewed and accepted
- Demo-ready for sprint review
- Deployment:
- Merged to main branch
- CI pipeline passes (build, test, lint)
- No regressions introduced
Define sprint-level DoD:
- All committed stories meet story-level DoD
- Sprint increment is potentially shippable
- Demo prepared and presented in sprint review
- No critical or high-severity bugs remaining
- Sprint metrics updated (velocity, burndown)
- Retrospective held and action items captured
- Product backlog refined for next sprint (at least top items)
Define release-level DoD:
- All sprint-level criteria met for included sprints
- Deployed to staging and smoke-tested
- Deployed to production successfully
- Monitoring and alerting in place for new functionality
- Performance benchmarks met (load time, throughput, error rate)
- Release notes published
- Stakeholders notified per communication plan
- Rollback plan documented and tested
- Support team briefed on changes
Calibrate to team maturity:
- New teams: start with essential criteria, add more as team matures
- Experienced teams: include advanced criteria (performance, accessibility, security)
- Mark criteria as "required" vs. "aspirational" to set realistic expectations
- Plan quarterly reviews to evolve the DoD as the team grows
Include quality criteria where applicable:
- Performance: page load time, API response time, resource usage
- Accessibility: WCAG compliance level (A, AA, AAA), screen reader testing
- Security: OWASP top 10 check, dependency vulnerability scan, secrets scan
- Browser/device support: define supported matrix
- Tag criteria as applicable per project type (web, mobile, API, data pipeline)
Write the artifact — append to .project/$ARGUMENTS/00-initiate.md under a ## Definition of Done section:
- Story-Level DoD — checklist of criteria (code, testing, docs, acceptance, deployment)
- Sprint-Level DoD — checklist of criteria (stories done, demo, bugs, metrics, retro)
- Release-Level DoD — checklist of criteria (deploy, monitoring, release notes, rollback)
- Quality Criteria — performance, accessibility, security thresholds
- Maturity Notes — current calibration level and evolution plan
Output
Definition of Done appended to .project/$ARGUMENTS/00-initiate.md. Present a summary highlighting:
- DoD checklist at each level (story, sprint, release)
- Key quality criteria and thresholds
- Maturity calibration and planned evolution
1---2name: definition-of-done3description: Establish shared DoD criteria for stories, sprints, and releases4---56# Definition of Done78Establish the Definition of Done for "$ARGUMENTS". Define quality criteria at story, sprint, and release levels, calibrated to team maturity and project needs.910## Prerequisites1112None — this is a Phase 0 (Initiate) skill and can run first.1314## Process15161. **Read existing context:**17 - Read `.project/$ARGUMENTS/00-initiate.md` if it exists (for project charter, team setup, and working agreements context)18192. **Define story-level DoD:**20 - **Code quality:**21 - Code written and follows agreed coding standards22 - Peer reviewed and approved (per code review SLA)23 - No linting errors or warnings24 - Technical debt documented if introduced intentionally25 - **Testing:**26 - Unit tests written and passing27 - Integration tests written where applicable28 - Test coverage meets or exceeds team threshold (define target, e.g., 80%)29 - Edge cases and error paths tested30 - **Documentation:**31 - Code comments for complex logic32 - API documentation updated (if public-facing)33 - User-facing documentation updated (if applicable)34 - **Acceptance:**35 - Acceptance criteria met and verified36 - Product Owner has reviewed and accepted37 - Demo-ready for sprint review38 - **Deployment:**39 - Merged to main branch40 - CI pipeline passes (build, test, lint)41 - No regressions introduced42433. **Define sprint-level DoD:**44 - All committed stories meet story-level DoD45 - Sprint increment is potentially shippable46 - Demo prepared and presented in sprint review47 - No critical or high-severity bugs remaining48 - Sprint metrics updated (velocity, burndown)49 - Retrospective held and action items captured50 - Product backlog refined for next sprint (at least top items)51524. **Define release-level DoD:**53 - All sprint-level criteria met for included sprints54 - Deployed to staging and smoke-tested55 - Deployed to production successfully56 - Monitoring and alerting in place for new functionality57 - Performance benchmarks met (load time, throughput, error rate)58 - Release notes published59 - Stakeholders notified per communication plan60 - Rollback plan documented and tested61 - Support team briefed on changes62635. **Calibrate to team maturity:**64 - **New teams:** start with essential criteria, add more as team matures65 - **Experienced teams:** include advanced criteria (performance, accessibility, security)66 - Mark criteria as "required" vs. "aspirational" to set realistic expectations67 - Plan quarterly reviews to evolve the DoD as the team grows68696. **Include quality criteria where applicable:**70 - **Performance:** page load time, API response time, resource usage71 - **Accessibility:** WCAG compliance level (A, AA, AAA), screen reader testing72 - **Security:** OWASP top 10 check, dependency vulnerability scan, secrets scan73 - **Browser/device support:** define supported matrix74 - Tag criteria as applicable per project type (web, mobile, API, data pipeline)75767. **Write the artifact** — append to `.project/$ARGUMENTS/00-initiate.md` under a `## Definition of Done` section:77 - **Story-Level DoD** — checklist of criteria (code, testing, docs, acceptance, deployment)78 - **Sprint-Level DoD** — checklist of criteria (stories done, demo, bugs, metrics, retro)79 - **Release-Level DoD** — checklist of criteria (deploy, monitoring, release notes, rollback)80 - **Quality Criteria** — performance, accessibility, security thresholds81 - **Maturity Notes** — current calibration level and evolution plan8283## Output8485Definition of Done appended to `.project/$ARGUMENTS/00-initiate.md`. Present a summary highlighting:86- DoD checklist at each level (story, sprint, release)87- Key quality criteria and thresholds88- Maturity calibration and planned evolution