/sdlc-documentation:02-definition-of-donefrom sdlc-documentation
Defines observable completion criteria for code, tests, documentation, review, and deployment readiness. Use when establishing or auditing a Definition of Done checklist.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source or provider | Required? | Missing-input behaviour |
|---|---|---|---|
| Engineering standards; test strategy; documentation obligations; review policy; deployment and rollback controls; applicable compliance gates | Engineering, QA, operations, security, and product owners | Yes | Stop dependent work; name the missing item, owner, and decision impact. A review check remains not assessed. |
| Scope, audience, baseline/version, and accountable decision owner | Requester or project context | Yes | Ask for or record the gap; do not infer authority or scope. |
Default to read-only. Read and search access to the supplied artefacts are required. Editing is limited to an explicitly authorised requested draft or project files. Execute validation only when authorised; publishing, signature, certification, production mutation, destructive action, spending, and risk acceptance require explicit authority.
When files, tools, network, rendering, fonts, execution, or evidence are unavailable, return the narrowest useful qualified draft or finding set. Name every unavailable check and its consequence; an unassessed check is never a pass. Preserve evidence already gathered and provide the exact next verification step.
| Condition | Action | Failure or risk avoided |
|---|---|---|
| A criterion lacks an observable test oracle | Rewrite it before adopting the checklist | Subjective gate decisions |
| Evidence satisfies every mandatory criterion | Record the item as ready or done, as applicable | Premature admission or completion |
not assessed and never convert it into a pass.| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Definition of Done | Product owner and delivery team | Every mandatory criterion has an observable oracle and evidence location; increment-level and release-level criteria are distinguished. |
| Gap and decision record | Accountable owner and downstream reviewer | Every gap has status, impact, owner, next action, and no unsupported pass or approval. |
| Evidence | Contents | Acceptance condition |
|---|---|---|
| Definition of Done evidence record | Source identifiers, scope/version, decisions, checks, exceptions, and approval state | A reviewer can reproduce each material conclusion from named sources. |
| Validation record | Check, result (pass, fail, or not assessed), evidence location, date, and actor | No required check is omitted or silently treated as passed. |
28-anti-ai-slop during authoring and 29-ai-slop-audit at major checkpoints and release.not assessed, state impact, and block dependent claims.adequate, secure, or user-friendly. Fix: Replace each with an observable criterion, threshold, and evidence source.Example: if a criterion lacks an observable test oracle, rewrite it before adopting the checklist. Record the evidence and result in the validation record; this avoids subjective gate decisions.
SaaS mode: if the project is a multi-tenant SaaS, apply
references/saas-dod-addendum.mdin addition to the generic steps below.
This skill produces a comprehensive Definition of Done (DoD) checklist that establishes the quality bar for increments. It defines criteria across code quality, testing, documentation, review, and deployment readiness to ensure every product backlog item meets a consistent, verifiable standard before it can be considered complete. The output conforms to the Scrum Guide.
quality_standards.md is present in projects/<ProjectName>/_context/ with project-specific quality requirements.tech_stack.md is present in projects/<ProjectName>/_context/ to tailor criteria to the technology platform.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/_context/quality_standards.md, projects/<ProjectName>/_context/tech_stack.md |
| Output | projects/<ProjectName>/<phase>/<document>/Definition_of_Done.md |
| Standard | Scrum Guide |
| Time | 10-15 minutes |
| File | Location | Required | Purpose |
|---|---|---|---|
| quality_standards.md | projects/<ProjectName>/_context/quality_standards.md | Yes | Project quality requirements, coding standards, coverage targets |
| tech_stack.md | projects/<ProjectName>/_context/tech_stack.md | No | Technology choices to tailor criteria (linters, test frameworks, CI/CD tools) |
| File | Location | Description |
|---|---|---|
| Definition_of_Done.md | projects/<ProjectName>/<phase>/<document>/Definition_of_Done.md | Complete DoD checklist with item-level, increment-level, and release-level criteria |
Follow these eight steps in order. Halt and notify the user if a required input file is missing.
Read quality_standards.md from projects/<ProjectName>/_context/. Optionally read tech_stack.md from projects/<ProjectName>/_context/. Log the absolute path of each file read. Halt if the required file is missing.
Generate code quality checklist items that SHALL:
quality_standards.md.Generate testing checklist items that SHALL:
quality_standards.md.Generate documentation checklist items that SHALL:
Generate review checklist items that SHALL:
Generate deployment readiness checklist items that SHALL:
Generate higher-level DoD criteria:
Assemble all criteria into the final checklist document. Write the completed document to projects/<ProjectName>/<phase>/<document>/Definition_of_Done.md. Log completion and total count of checklist items.
The generated Definition_of_Done.md SHALL contain these sections in order:
quality_standards.md.tech_stack.md to reference specific tools and frameworks.Definition_of_Done.md exists in projects/<ProjectName>/<phase>/<document>/ with all eight sections populated.quality_standards.md.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | Project context (quality_standards.md) | Consumes quality thresholds and coding standards |
| Lateral | 01-sprint-planning | Sprint plan references DoD artifact |
| Lateral | 03-definition-of-ready | DoR and DoD form complementary quality gates |
| Downstream | Phase 05 (test planning) | DoD testing criteria inform test plan scope |
logic.prompt -- Executable prompt containing the step-by-step DoD generation logic.README.md -- Quick-start guide for this skill.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors./01-prd-generationUse when converting approved discovery evidence into a traceable PRD with objectives, prioritised features, success measures, constraints, and release scope; use vision-statement for the strategic north star and lean-canvas while assumptions still need testing./01-sprint-planningUse when preparing a sprint goal, evidence-based team capacity, selected backlog, task breakdown, and delivery risks. Use definition-of-ready to admit individual items and definition-of-done to judge completed increments./01-stakeholder-analysisUse when identifying and classifying stakeholders, influence, interests, decision rights, and communication needs before elicitation; use elicitation-toolkit to gather requirements from them.