definition-of-done-validator

Official

Block PRs when acceptance criteria lack tests

AuthorXipher-Labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents the “tests pass but the feature is wrong” failure mode by ensuring the written acceptance criteria in a spec are actually verified by tests.

Core Features & Use Cases

  • Acceptance-criteria coverage validation: Verifies that every - [AC-N] criterion under ## Acceptance Criteria in docs/specs/<slug>.md has at least one corresponding test reference.
  • Business-workflow test enforcement for personal projects: For regulated personal projects, requires the presence of tests/business/<project>/ and ensures business workflow tests exist.
  • Final PR/branch gate: Designed to run as a blocking gate before PR approval/creation and during branch-flow validation, refusing approval when criteria are uncovered or only “implicit”/weak coverage is detected.

Quick Start

Run the definition-of-done-validator before opening a PR or promoting a branch to catch any uncovered acceptance criteria and block approval until tests are added.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: definition-of-done-validator
Download link: https://github.com/Xipher-Labs/walter-os/archive/main.zip#definition-of-done-validator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.