/daw:daw-create-prdfrom DAW — Dilux Agentic Workflow
Creates or updates a Product Requirements Document (PRD) defining functional and non-functional requirements, acceptance criteria, scope, and risks. Part of the DAW framework's DEFINE 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.
Sequencing — this skill runs ALONE. Do not load or invoke
daw-validate-prduntil the PRD file is WRITTEN TO DISK and complete. Loading both as reading material and "validating" from memory is not validation — the validator is a script that reads the file, and its receipt is a hash of the final content: create first, validate after, always.
Creates a new PRD (Product Requirements Document) or updates an existing one. The PRD defines WHAT will be built: functional requirements, non-functional requirements, acceptance criteria, scope and risks.
A PRD says what the software has to do and why, and never how it is built. Its sentences are about behaviour someone can observe from outside: what a person does, what the system answers, what must still hold when things go wrong. Every requirement carries an acceptance criterion, because a requirement nobody can test is an opinion with a number on it.
It is not a design. No file names, no libraries, no schemas, no endpoints. If a sentence of yours names a technology, it belongs in the spec — and putting it here freezes a decision before the phase that weighs the alternatives has run, which is how a PRD comes to dictate an architecture nobody chose.
It is not a plan either: no blocks, no order of work, no estimates. Those are the spec's.
The test, when unsure: could this requirement still be true if the whole thing were rebuilt in another language? If yes it is a requirement. If no it is design.
docs/daw/prd/ (to detect duplicates or to update).daw-state.json (ticket, tier)AGENTS.mdIf .daw-state.json has tier == "QUICK-FIX", do NOT produce a full PRD. Produce a 4-line
fix-brief and mark the define gate:
docs/daw/prd/fix-{ticket}.md (the same folder as the PRDs; the convention is defined in
.daw/rules/branches.instructions.md).# Fix {ticket}: {title}
- **Bug**: {one descriptive line}
- **Change**: {file}:{line} — {description of the modification}
- **Regression test**: {name of the test that reproduces the bug BEFORE and passes AFTER}
- **Risk**: none / {explain it if there is one}
F-PRD-*
rules (see "Tier Modifier: QUICK-FIX" in .daw/rules/validation-rules.instructions.md).gates.define = true on the DEFINE→CODE transition.daw-validate-prd with FEATURE rules.docs/daw/prd/ for an existing PRD covering this functionality.
prd-{ticket}.md (e.g. prd-FEAT-001.md).daw-validate-prd automatically.PRD loops and Loops since last human decision. The first is the running total and nobody ever resets it; the second is what
the ceiling measures, and it goes back to 0 only when a human decides something.PRD loops in the header — and Loops since last human decision too, unless this
update is applying an answer a human just gave, in which case that one resets to 0 and their
answer is recorded in the PRD.daw-validate-prd automatically.# PRD {ticket}: [Title]
| Field | Value |
|-------|-------|
| Ticket | [ticket] |
| Tracker | [tracker ticket or "none"] |
| Date | [timestamp] |
| PRD loops | 0 |
| Loops since last human decision | 0 |
## Context and Problem
[Describe the problem being solved]
## Goals
[What we want to achieve]
## Functional Requirements
- FR-01: [atomic requirement]
- FR-02: [atomic requirement]
## Non-Functional Requirements
- NFR-01: [performance, security, etc. — always with a number]
## Acceptance Criteria
*(EARS — see `.daw/rules/validation-rules.instructions.md` §1 for the five patterns)*
**Every AC names the FR it validates, in parentheses.** `F-PRD-01` looks for the FR's own
identifier inside the criterion, so an AC that validates FR-01 without naming it reads as an FR
nothing validates — and the template used to produce exactly that, which failed the first PRD of
every new install.
- AC-01 (FR-01): WHEN [trigger], THE [system] SHALL [response].
- AC-02 (FR-01): IF [failure or misuse], THEN THE [system] SHALL [response].
- AC-03 (FR-02): WHILE [state], THE [system] SHALL [response].
## Out of Scope
- [what is explicitly NOT included, one item per line]
## Risks and Mitigations
[Identified risks and how to mitigate them]
## Dependencies
[Other modules, services or features this depends on]
The
FR-/NFR-/AC-prefixes and the section names are whatdaw-validate-prdmatches on (rules F-PRD-01 to F-PRD-12). Write the content in the user's language, but keep the identifiers and the structure as written here — including the EARS keywords (WHEN,WHILE,WHERE,IF … THEN,SHALL), which stay in English in every language, exactly as the section headings do. They are the shape the validator matches on; translated, the criterion still reads fine to a human and matches nothing.
IF … THEN wherever the feature can fail, be misused, or depend on something that
might not answer — that pattern exists for exactly the cases everyone forgets, and W-PRD-04 counts
them. What nobody writes here is what nobody tests three phases later.
(Exceptions: DISCOVERY, which is exploratory, and QUICK-FIX, whose artifact is the fix-brief.)┌─────────────────────────────────────────────────────────┐
│ /daw-create-prd — [Created | Updated] │
├─────────────────────────────────────────────────────────┤
│ │
│ File: docs/daw/prd/prd-{ticket}.md │
│ Mode: [new | update of prd-XXX] │
│ Functional requirements: [N] │
│ Non-functional requirements: [N] │
│ Acceptance criteria: [N] │
│ PRD loops: [N] (since last human decision: [N]) │
│ │
│ Next: review the PRD and confirm to move on │
└─────────────────────────────────────────────────────────┘
gates.define → true once the user approves the PRD. The path is derived from the ticket:
docs/daw/prd/prd-{ticket}.md.gates.define → true for tier QUICK-FIX, once the 4-section fix-brief is produced and
validated. The path is derived from the ticket: docs/daw/prd/fix-{ticket}.md.Write the PRD's content in the language the user is working in, keeping the identifiers and section names above.
What SKILL.md sets; muted values are Claude Code's defaults
daw@diluxone-plugins-ai is listed by diluxone/diluxone-plugins-ai — review the source before installing
npx claudepluginhub diluxone/diluxone-plugins-ai --plugin daw21 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.
Other plugins' skills for the same job