/daw:daw-validate-specfrom DAW — Dilux Agentic Workflow
Validates that a spec or fix-plan is complete, coherent, and consistent with its PRD against catalog rules. Produces disambiguation questions for every FAIL. Triggered during DAW's PLAN phase.
Ships in DAW — Dilux Agentic Workflow. 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.
None: SKILL.md is the whole skill.
Validates that a spec/fix-plan is complete, coherent and consistent with its PRD, against the rules
in section 2 of .daw/rules/validation-rules.instructions.md. Produces a concrete disambiguation
question for every FAIL.
docs/daw/specs/spec-{ticket}.md / docs/daw/specs/fix-{ticket}.md)docs/daw/prd/prd-{ticket}.md (if gates.define is true and the tier is FEATURE)tier from .daw-state.json.daw/rules/validation-rules.instructions.md (the rule catalog).daw/rules/validation-rules.instructions.md §2 is the single source of truth: F-SPEC-01 to
F-SPEC-16 (FAIL) and W-SPEC-01 to W-SPEC-03 (WARNING). Do not re-derive criteria from memory and do
not duplicate them here — read the catalog and evaluate its rules mechanically, citing each rule's
ID in the report.
Summary of what each ID covers:
| ID | Fails when | Applies to |
|---|---|---|
| F-SPEC-01 | A PRD FR maps to no block | FEATURE |
| F-SPEC-02 | A PRD AC maps to no test in the spec | FEATURE |
| F-SPEC-03 | A PRD NFR has no technical strategy | FEATURE |
| F-SPEC-04 | A block lists no files | FEATURE |
| F-SPEC-05 | A block has no verifiable completion criterion | FEATURE |
| F-SPEC-06 | A block lists no tests | FEATURE |
| F-SPEC-07 | An endpoint has an incomplete contract | any |
| F-SPEC-08 | A schema has no constraints | any |
| F-SPEC-09 | Input with no documented validation | any |
| F-SPEC-10 | No error handling documented | all tiers |
| F-SPEC-11 | Dependencies between blocks/steps not declared | all tiers |
| F-SPEC-16 | A block documents an error that appears in no test of that block | all tiers |
| F-SPEC-12 | The spec contradicts the PRD | FEATURE |
| F-SPEC-13 | Terminology diverges from the PRD | FEATURE |
| F-SPEC-14 | A fix-plan has no regression test | FIX |
| F-SPEC-15 | A fix-plan has no rollback plan | FIX |
F-SPEC-01 has no exceptions: an approved FR with no coverage is a FAIL, never a WARNING. If the requirement was deliberately deferred, it has to come out of the PRD first (with the user's approval), through a corrective loop back to DEFINE.
Tier modifier: if tier == "QUICK-FIX", none of F-SPEC-* applies — that tier has no PLAN
phase and no spec.
The four steps are the catalog's — .daw/rules/validation-rules.instructions.md, How a validation
runs. What follows is what they mean here.
python3 .daw/scripts/validate_spec.py <spec-path> --tier <tier>
(under a plugin install, resolve .daw/scripts/ at the plugin's method path). Add
--prd <path> if the spec's header table does not name its PRD.
Paste its output VERBATIM as the body of your report — every row, every rule ID, nothing
collapsed into a total. A run of this skill that shows no script output did not validate
anything: the script is the validation, and a PASSED run writes the content-hashed receipt the
spec gate demands — without it, the PLAN→CODE transition refuses.If the spec is edited after validating, run the script again: the receipt is bound to the content, and a stale one does not open the gate.
┌─────────────────────────────────────────────────────────────┐
│ /daw-validate-spec [name] — [PASSED | FAILED (N questions)] │
├─────────────────────────────────────────────────────────────┤
│ │
│ PRD coverage: (FEATURE only) │
│ ✅/❌ [ID]: FR-xx → [block or "NOT COVERED"] │
│ │
│ Per-block completeness: │
│ ✅/❌/⚠️ [ID]: [what was checked] │
│ → [what is missing and how to fix it] │
│ │
│ Consistency with the PRD: │
│ ✅/❌/⚠️ [ID]: [what was checked] │
│ │
│ Disambiguation questions: (only if there are FAILs) │
│ │
│ Q1: [concrete question derived from the FAIL] │
│ Options: a) ... b) ... c) ... │
│ │
│ ────────────────────────────────────────────────────────────│
│ Total: X passed, Y failed, Z warnings │
│ Result: [PASSED if Y == 0 | FAILED if Y > 0] │
│ Full report: docs/daw/specs/spec-[ticket].validation.md │
│ Next: [recommended action] │
└─────────────────────────────────────────────────────────────┘
The Full report row is the path the script printed, always, so the user can read the complete checklist instead of asking for it again.
daw-create-spec in update mode) →
re-validate.gates.spec).Write the report in the language the user is working in, citing the rule IDs verbatim.
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/daw-commitCreates a commit following Gitmoji + Conventional Commits, with mandatory AI attribution. Trigger: /daw-commit, when a DAW phase closes and has artifacts to commit (DEFINE, PLAN, CODE, DISCOVERY, CLOSEOUT).
/daw-context-checkCompares what the repository already declares about how it is built — linters, type checkers, CI, pre-commit, runtime versions — against what the tool's context file tells DAW. Reports the commands DAW would otherwise run wrong. Never blocks. Trigger: /daw-context-check, and once per ticket in CLASSIFY.
/daw-create-adrRecords an architecture or design decision as an ADR (Architecture Decision Record). Captures the context, the options considered, the decision taken and its consequences. Trigger: /daw-create-adr, during DAW's PLAN or CODE phase.
/daw-create-prOpens a Pull Request with a standard format and AI attribution labels, or records why one is not possible in this repo. Trigger: /daw-create-pr, during DAW's CLOSEOUT phase.
/daw-create-prdCreates a new PRD (Product Requirements Document) or updates an existing one. The PRD defines WHAT will be built: functional and non-functional requirements, acceptance criteria, scope and risks. Trigger: /daw-create-prd, during DAW's DEFINE phase.
/daw-create-specCreates a new spec or fix-plan from an approved PRD or a fix diagnosis. Trigger: /daw-create-spec, during DAW's PLAN phase.
daw@diluxone-plugins-ai is listed by diluxone/diluxone-plugins-ai — review the source before installing
npx claudepluginhub diluxone/diluxone-plugins-ai --plugin dawOther plugins' skills for the same job