本文へ移動
cccskills
無料GitHub で公開

definition-of-done

The team's Definition of Done (DoD), both halves of the lifecycle: authoring and auditing. Explains the Scrum Guide's DoD definition ("a formal description of the state of the Increment when it meets the quality measures required for the product"), proposes a starter DoD with the 7-10 lines most teams need (code reviewed, unit tests, docs, AC met, deployed to staging, smoke passed, no a11y regressions, telemetry wired), emits a per-PR checklist a reviewer enforces, and audits work against an existing DoD line by line with repository evidence (review records, diffs, CI runs, coverage reports), tagging every line met, not met, or unverifiable - never passing a line on self-attestation. Use when the team doesn't have a DoD, wants to revise theirs, or is about to mark a story or PR done and nobody has checked the work against the committed checklist.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qaスター 13(GitHub 13 + cccskills 0)
連携ツールGitHub

実行スコア 未検証

インストール方法を見る

含まれるファイル(3)

  • SKILL.md17.1 KB
  • .tessl-plugin/plugin.json995 B
  • references/adherence-worked-example.md3.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

definition-of-done

Overview

Per scrum-guide:

"The Definition of Done is a formal description of the state of the Increment when it meets the quality measures required for the product."

"If the Definition of Done for an increment is part of the standards of the organization, all Scrum Teams must follow it as a minimum. If it is not an organizational standard, the Scrum Team must create a Definition of Done appropriate for the product." (scrum-guide)

The DoD is the team's contract with itself. Without it, "done" varies per PM / per developer / per sprint.

When to use

  • A new team needs to author its first DoD.
  • An existing team's DoD is stale (years old; doesn't reflect current quality bar).
  • A retro identified that "done" means different things to different team members.
  • An audit / compliance review needs a documented quality bar.

Starter DoD (recommended baseline)

Most teams converge on something like:

# Definition of Done - `<team>`

A story / PR is "Done" only when ALL of the following are true:

1. **Code reviewed** by at least one other engineer; review approval
   recorded.
2. **Tests** for new behavior:
   - Unit test coverage on changed files >=80%.
   - At least one test per acceptance criterion.
3. **Documentation** updated:
   - User-facing changes have updated docs (or "no user-facing
     change" is documented).
   - API changes have updated OpenAPI / Swagger / type definitions.
4. **Acceptance criteria** from the story all pass (manual or
   automated; per AC ID).
5. **Deployed to staging** and smoke test passed (per
   `smoke-suite-gate`).
6. **No new accessibility regressions** (axe / pa11y / Lighthouse
   a11y category green vs main).
7. **Telemetry / observability** wired for new features (per
   `synthetic-monitor-author` in the qa-shift-right plugin).
8. **Security review** for changes that touch auth / payments /
   PII - threat-model entry recorded.
9. **No new tech debt** introduced without an issue logged.
10. **Build green** on the target branch (CI check required).

Customize per team - not all 10 apply to every project.

Per-organization vs per-team

Per scrum-guide:

"If the Definition of Done for an increment is part of the standards of the organization, all Scrum Teams must follow it as a minimum."

If the org has a security review requirement, every team's DoD includes it. The team's DoD can add stricter team-specific lines on top, but can't drop org-wide minimums.

Categorization of DoD lines

CategoryExamplesVerifier
Code qualityReviewed, no new lint errorsCode review tool
Test coverageUnit test for new behavior, coverage thresholdCI coverage gate
DocumentationUser-facing docs, API spec updatedManual review
Spec complianceAll AC metManual or automated AC tests
Deploy stateStaging deploy + smokeCI deploy job
Quality barA11y regression, perf budgetCI gate
ObservabilityTelemetry / monitoring wiredManual review of diff
SecurityThreat model entry for sensitive changesManual review
ProcessIssue logged, retro feedback recordedManual

The categorization helps when adding lines: "do we have a coverage of the security category?"

Generated per-PR checklist

The DoD becomes a PR template:

<!-- .github/pull_request_template.md -->

## Description

(what changed and why)

## Definition of Done checklist

- [ ] Code reviewed by ≥1 engineer.
- [ ] Unit tests added for new behavior; coverage check passes.
- [ ] Documentation updated (or "no user-facing change" noted below).
- [ ] All AC from the story pass.
- [ ] Deployed to staging; smoke suite green.
- [ ] No new a11y regressions (axe report attached for UI changes).
- [ ] Telemetry / monitoring wired for new features.
- [ ] Security review for auth / payment / PII changes (link to threat model).

## Notes

(any DoD line marked N/A - explain)

A reviewer reads this template + the actual PR state and verifies each line.

DoD evolution

The DoD should evolve with the team's quality bar:

  • After an a11y incident → add the a11y line.
  • After a security incident → add the threat-model line.
  • After production-canary saved a regression → add the canary-passed line.

Don't lower the DoD without explicit retro discussion. Lowering because "we kept failing the gate" usually means the team needs better tooling, not a lower bar.

Review cadence

CadenceTrigger
QuarterlySchedule a 30-min DoD review.
Post-incidentAdd lines that would have prevented the incident.
New team member onboardingReread the DoD; pick up new perspective.

Auditing adherence

The other half of the lifecycle: a compliance audit of work against the checklist that already exists. The checklist is an input, treated as fixed for the duration of the audit; the output is a per-line verdict backed by artifacts. Authoring is collaborative and can trade a line away; auditing is adversarial and cannot. If a line turns out to be unenforceable, that is a finding to hand back to the authoring conversation, not a licence to skip it.

Two facts from the 2020 Scrum Guide (scrumguides.org/scrum-guide.html) anchor the audit: the team or organization owns the lines (so the audit never invents or edits a line), and a miss has a defined consequence - an item that does not meet the DoD "cannot be released or even presented at the Sprint Review" and returns to the Product Backlog, so "not met" is not advisory. Do not over-attribute: the November 2020 revision made the DoD a formal commitment attached to the Increment (scrumguides.org/revisions.html); the Guide prescribes no checklist content, coverage number, or verdict vocabulary - those are practitioner convention. Many teams also run an entry-side "ready for development" checklist; it is auditable with the same method but has no standing in the Scrum Guide, so declare which stage is being audited before starting ("acceptance criteria" at entry means they exist and are testable; at exit it means covered by tests that ran and passed).

Audit setup

  • Pin the checklist revision and the evidence window. Record the checklist file path and commit / date, and what counts as evidence: for a PR, the diff range and the CI runs attached to the head commit; for a release, the commit range in the tag. A green CI run for a different SHA proves nothing about this one.
  • Split the checklist into atomic lines. A compound line ("coverage >=80% and one test per AC") is audited as two lines. Do not derive lines from prose - if the checklist is a paragraph, hand it back for restructuring rather than substituting the auditor's reading for the team's intent.
  • Handle conditional lines explicitly. "Docs updated (or no user-facing change)" has two satisfying branches; show evidence for whichever branch is claimed. "No files under the UI or API surface changed in the diff" is checkable; a bare assertion of the escape branch is not.
  • Scope one audit to one artifact - one PR, one story, or one release candidate.

Line-pattern to evidence mapping

Line patternArtifact to readHow to read it
"reviewed by at least N engineers"gh pr view --json reviews,reviewDecisionreviews and reviewDecision are documented JSON fields of gh pr view (cli.github.com/manual/gh_pr_view). Count approving reviews whose author is not the change author. Review actions are APPROVE, REQUEST_CHANGES, COMMENT (docs.github.com/en/rest/pulls/reviews).
"coverage on changed files at or above X%"coverage/lcov.info or the CI coverage reportIn an LCOV tracefile each file section carries LF: (instrumented lines) and LH: (lines hit) (manpages.debian.org geninfo(1)). Per-file rate is LH / LF, computed only over files present in the diff.
"no new lint or type errors"CI status checks for the head commitgh pr view --json statusCheckRollup; compare against the same checks on the base.
"documentation updated"git diff --name-only <base>..<head> (git-scm.com/docs/git-diff)Require at least one changed path under the docs surface. Necessary, not sufficient: it shows a doc changed, not that it describes this change.
"every AC is covered by a passing test"Criterion IDs in the ticket + test names / tags in the diffNeeds a team-declared convention linking criterion IDs to tests. Without one, unverifiable, not not met.
"no new accessibility violations"The a11y scan output for both branchesAn axe run returns a violations array (github.com/dequelabs/axe-core). Compare head against base, not against zero, unless the line says zero.
"deployed to staging and smoke passed"CI runs bound to the head commitA completed deploy job and a completed smoke job, both for that exact SHA.
"telemetry wired for new code paths"The diff itselfSearch for the project's instrumentation calls on the newly added paths. A statement in the description is not evidence.
"security review for auth / payments / PII changes"Linked review or threat-model recordThe link must resolve and be dated within the change window. Unlinked = unverifiable.
"no new tech debt without a logged issue"Linked issueunverifiable by construction unless the team requires an issue link in the description.

Thresholds come from the team's line, never from a default; if the line names no number ("good test coverage"), it is unverifiable and the finding is that the line is unenforceable as written.

Three states, four evidence standards, one verdict

StateMeaningRequired to assign it
metArtifact exists and shows the line satisfiedName the artifact and the value read from it
not metArtifact located and read; shows the line unsatisfiedName the artifact and the shortfall (actual vs required)
unverifiableCannot be settled from artifacts in the windowState what was searched, why inconclusive, and what the team must supply

The three states apply per line and are never averaged - a checklist is not scored out of ten. unverifiable is a real finding: the line names no checkable condition, the convention does not exist, or the artifact was never produced.

Evidence standards: self-attestation is not evidence (a ticked PR-template checkbox is the claim under audit, not proof); a doc claim with no diff is not met; pre-existing failure is not a free pass (a budget already breached on base does not become an acceptable baseline); urgency and size do not waive lines (a faster hotfix bar is a separate written checklist, not an in-flight waiver).

ConditionVerdict
Every line metACCEPT
Any line not metREJECT
No not met, at least one unverifiableREJECT, pending named human confirmation
No checklist found, or the checklist is unsplit proseINCONCLUSIVE

unverifiable never auto-passes - it clears only when a named person supplies the missing evidence, recorded like any other artifact. No checklist means no verdict: inventing a plausible generic one substitutes the auditor's judgment for the team's, which the Scrum Guide assigns to the team or the organization.

Audit report shape

## DoD adherence review - <artifact under audit>

**Stage:** stage-1-entry | stage-2-exit
**Checklist source:** <path> @ <revision>, <N> lines split into <M> audited lines
**Evidence window:** <base>..<head>, CI runs for <sha>
**Verdict:** ACCEPT | REJECT | INCONCLUSIVE
**met: <x>   not met: <y>   unverifiable: <z>**

| # | Checklist line | State | Evidence sought | What was found |
|---|---|---|---|---|
| 1 | ... | met | ... | ... |

Follow with a "Not met" block (required vs actual vs artifact per line), an "Unverifiable" block (searched / blocked by / to resolve), and a one-sentence recommended action tied to the verdict rules. A full stage-2 audit worked end to end is in references/adherence-worked-example.md.

Audit limitations: roughly half of a typical checklist is not machine-checkable (review quality, "no new tech debt") and resolves to unverifiable by construction; presence is not correctness (nothing reads the doc to confirm it describes the change); evidence outside the window is invisible unless recorded; and the verdict is advice, not enforcement - deciding to ship anyway is a human decision worth recording next to the report.

Anti-patterns

Anti-patternWhy it failsFix
No DoDPer scrum-guide, the team must define one if not org-mandated.Adopt the starter (above).
30-line DoD that nobody can satisfy per-PRTeam marks everything "N/A"; defeats the purpose.Trim to 7-10 lines covering the highest-value gates.
DoD as aspirational, not enforced"We have a DoD but PRs ship without meeting it."Enforce it; PRs blocked on unmet lines.
Per-PR DoD different from team's "done"Drift; team can't tell what's done.One DoD; one PR template referencing it.
Lowering the DoD when it gets in the wayQuality bar erodes silently.Discuss in retro before lowering; document the reason.
DoD never updated after an incidentSame incident class recurs.Post-incident DoD review (above cadence).
Treating unverifiable as a pass in an auditHides the unknown; the team believes it is done when nothing was checked.Verdict rules: unverifiable blocks until a named human supplies evidence.
Auditing against a generic checklist because the team has noneSubstitutes the auditor's bar for the team's (scrum-guide).Report INCONCLUSIVE; author the DoD first (this skill's other half).
Rewriting or softening a line mid-auditThe checklist stops being a fixed bar and becomes negotiable under deadline.Record the finding; renegotiate in the authoring conversation afterwards.
Passing a coverage line using the repo-wide percentageA high repo-wide number hides an untested new file.Compute per-file rates over the diff's files only.

Limitations

  • Subjective per-team. "What's good enough" varies; the DoD reflects the team's context, not a universal standard.
  • Coverage thresholds are arbitrary. "≥80%" is convention; the right number depends on the codebase.
  • Some lines are unverifiable automatically ("docs updated" needs human review). The DoD acknowledges these - mark them "unverifiable" rather than auto-passing.

References

  • sg - Scrum Guide DoD: "a formal description of the state of the Increment when it meets the quality measures required for the product"; team owns it (or follows org-mandated minimum); items not Done return to the Product Backlog.
  • smoke-suite-gate - CI gate that satisfies the "staging deploy + smoke passed" line.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

Builds a CI gate that fails the build on **new** WCAG / a11y violations introduced by a PR while grandfathering pre-existing violations on a per-rule / per-page baseline. Aggregates verdicts from axe-core / pa11y / Lighthouse a11y / WAVE / IBM Equal Access scans. Use when a project has accumulated a11y debt and a strict "zero violations" gate would block every PR - the ratchet pattern lets the team ship while preventing regressions.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

Workflow skill that builds an A/B-test validity checklist from an experiment proposal, walking the canonical design-correctness gates - pre-registered OEC/power/guardrails, randomization unit + SRM check, assignment integrity, telemetry, peeking discipline, novelty/primacy, post-experiment SRM re-check - into a per-experiment checklist + sign-off form. Use when launching, auditing, or governing an experiment. For pitfall mechanics (guardrails, peeking) see experiment-results-interpreter's references; to read an already-valid result use experiment-results-interpreter; for per-SDK harness tests use experiment-sdk-testing - this gates DESIGN, not SDK code.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

The single install-flow skill: the reference contract for the PWA install flow (installability gate fields, `beforeinstallprompt` handshake, per-platform paths - Android WebAPK / iOS Share menu / Firefox no-op - and the `display-mode` post-install signal, in references/install-flow-reference.md) plus the build-an-X workflow that emits the Add-to-Home-Screen suite. Walks the four-stage timeline, emitting one test per gate cell per [web.dev/articles/install-criteria][install-criteria], the deferred-prompt → `prompt()` → `userChoice` chain per [web.dev/articles/customize-install][customize-install], the iOS Safari manual-metadata branch (`apple-touch-icon`) per [web.dev/learn/pwa/installation][learn-pwa], and the post-install `(display-mode: standalone)` MQ assertion. Output: a Playwright spec with per-stage cells plus a coverage matrix. Use when a PWA's manifest, icons, or install handler change, when install conversion drops at an unknown stage, or when triaging a flaky install assertion.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

Build-an-X workflow that uses an LLM to map existing tests to spec sections - given a spec doc + the test suite, the LLM identifies which tests cover which sections, surfaces uncovered sections (gap), and recommends specific tests to add. Output is a coverage matrix per spec ID. Scope is mapping tests that already exist and naming the gaps, not authoring tests for new acceptance criteria. Use when a spec doc and a test suite both exist but nobody can say which requirements are actually covered - before a release sign-off, an audit, or a decision about where to spend the next round of test effort.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

Generates tests from natural-language specs (acceptance criteria, user stories, requirements) using an LLM, with confidence scoring per test case (LLM self-assessment plus heuristics: assertion quality, naming, completeness), batching uncertain cases for human review, and integration with the team's existing test framework. Use when the user asks to generate unit tests from acceptance criteria, convert user stories to test cases, automate test creation from requirements, or augment a spec-driven test suite with AI-generated stubs that are then curated before merge.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

Configures Allure Report (test-runner adapter install, `allure-results` directory wiring, `categories.json` for failure classification, `history-trend.json` retention via the copy-history-between-runs pattern), runs the Allure CLI to convert `allure-results` to a static HTML site, and uploads the report as a CI artifact. Use when the team needs richer test reporting than JUnit XML - step-level attachments, per-test history, retry tracking, and severity / epic / feature labeling across framework-agnostic adapters (pytest, Jest, JUnit, TestNG, NUnit, Mocha). As a rich static HTML report generator, it is the open-source alternative to the sunset ExtentReports (JVM/.NET per-test HTML narrative); for hosted cross-run flakiness analytics rather than a static per-run report use currents-integration.

日本語の概要は準備中です。原文の説明を表示しています。

testland/qa132026年10月20日 更新

testland のスキルをすべて見る

このスキルの問題を報告する