@morozinc/opencode-bmad-plugin 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +31 -0
- package/NOTICE.md +6 -0
- package/README.md +64 -2
- package/dist/gui-experimental.cjs +64 -0
- package/docs/screenshots/artifact-storage.png +0 -0
- package/package.json +53 -4
- package/skills/bmad-code-review/SKILL.md +23 -0
- package/skills/bmad-code-review/reference/SKILL.md +90 -0
- package/skills/bmad-code-review/reference/customize.toml +41 -0
- package/skills/bmad-code-review/reference/steps/step-01-gather-context.md +85 -0
- package/skills/bmad-code-review/reference/steps/step-02-review.md +35 -0
- package/skills/bmad-code-review/reference/steps/step-03-triage.md +49 -0
- package/skills/bmad-code-review/reference/steps/step-04-present.md +132 -0
- package/skills/bmad-create-architecture/SKILL.md +23 -0
- package/skills/bmad-create-architecture/reference/SKILL.md +74 -0
- package/skills/bmad-create-architecture/reference/architecture-decision-template.md +12 -0
- package/skills/bmad-create-architecture/reference/customize.toml +41 -0
- package/skills/bmad-create-architecture/reference/data/domain-complexity.csv +13 -0
- package/skills/bmad-create-architecture/reference/data/project-types.csv +7 -0
- package/skills/bmad-create-architecture/reference/steps/step-01-init.md +153 -0
- package/skills/bmad-create-architecture/reference/steps/step-01b-continue.md +173 -0
- package/skills/bmad-create-architecture/reference/steps/step-02-context.md +224 -0
- package/skills/bmad-create-architecture/reference/steps/step-03-starter.md +329 -0
- package/skills/bmad-create-architecture/reference/steps/step-04-decisions.md +318 -0
- package/skills/bmad-create-architecture/reference/steps/step-05-patterns.md +359 -0
- package/skills/bmad-create-architecture/reference/steps/step-06-structure.md +379 -0
- package/skills/bmad-create-architecture/reference/steps/step-07-validation.md +361 -0
- package/skills/bmad-create-architecture/reference/steps/step-08-complete.md +82 -0
- package/skills/bmad-create-epics-and-stories/SKILL.md +23 -0
- package/skills/bmad-create-epics-and-stories/reference/SKILL.md +93 -0
- package/skills/bmad-create-epics-and-stories/reference/customize.toml +41 -0
- package/skills/bmad-create-epics-and-stories/reference/steps/step-01-validate-prerequisites.md +255 -0
- package/skills/bmad-create-epics-and-stories/reference/steps/step-02-design-epics.md +242 -0
- package/skills/bmad-create-epics-and-stories/reference/steps/step-03-create-stories.md +255 -0
- package/skills/bmad-create-epics-and-stories/reference/steps/step-04-final-validation.md +143 -0
- package/skills/bmad-create-epics-and-stories/reference/templates/epics-template.md +61 -0
- package/skills/bmad-create-story/SKILL.md +23 -0
- package/skills/bmad-create-story/reference/SKILL.md +429 -0
- package/skills/bmad-create-story/reference/checklist.md +357 -0
- package/skills/bmad-create-story/reference/customize.toml +41 -0
- package/skills/bmad-create-story/reference/discover-inputs.md +88 -0
- package/skills/bmad-create-story/reference/template.md +49 -0
- package/skills/bmad-dev-story/SKILL.md +23 -0
- package/skills/bmad-dev-story/reference/SKILL.md +500 -0
- package/skills/bmad-dev-story/reference/checklist.md +80 -0
- package/skills/bmad-dev-story/reference/customize.toml +41 -0
- package/skills/bmad-document-project/SKILL.md +23 -0
- package/skills/bmad-document-project/reference/SKILL.md +62 -0
- package/skills/bmad-document-project/reference/checklist.md +245 -0
- package/skills/bmad-document-project/reference/customize.toml +41 -0
- package/skills/bmad-document-project/reference/documentation-requirements.csv +12 -0
- package/skills/bmad-document-project/reference/instructions.md +128 -0
- package/skills/bmad-document-project/reference/templates/deep-dive-template.md +345 -0
- package/skills/bmad-document-project/reference/templates/index-template.md +169 -0
- package/skills/bmad-document-project/reference/templates/project-overview-template.md +103 -0
- package/skills/bmad-document-project/reference/templates/project-scan-report-schema.json +160 -0
- package/skills/bmad-document-project/reference/templates/source-tree-template.md +135 -0
- package/skills/bmad-document-project/reference/workflows/deep-dive-instructions.md +300 -0
- package/skills/bmad-document-project/reference/workflows/deep-dive-workflow.md +34 -0
- package/skills/bmad-document-project/reference/workflows/full-scan-instructions.md +1108 -0
- package/skills/bmad-document-project/reference/workflows/full-scan-workflow.md +34 -0
- package/skills/bmad-generate-project-context/SKILL.md +23 -0
- package/skills/bmad-generate-project-context/reference/SKILL.md +81 -0
- package/skills/bmad-generate-project-context/reference/customize.toml +41 -0
- package/skills/bmad-generate-project-context/reference/project-context-template.md +21 -0
- package/skills/bmad-generate-project-context/reference/steps/step-01-discover.md +186 -0
- package/skills/bmad-generate-project-context/reference/steps/step-02-generate.md +321 -0
- package/skills/bmad-generate-project-context/reference/steps/step-03-complete.md +284 -0
- package/skills/bmad-help/SKILL.md +19 -0
- package/skills/bmad-help/reference/SKILL.md +75 -0
- package/skills/bmad-prd/SKILL.md +23 -0
- package/skills/bmad-prd/reference/SKILL.md +92 -0
- package/skills/bmad-prd/reference/assets/headless-schemas.md +76 -0
- package/skills/bmad-prd/reference/assets/prd-template.md +165 -0
- package/skills/bmad-prd/reference/assets/prd-validation-checklist.md +135 -0
- package/skills/bmad-prd/reference/assets/validation-report-template.html +325 -0
- package/skills/bmad-prd/reference/customize.toml +147 -0
- package/skills/bmad-prd/reference/references/headless.md +39 -0
- package/skills/bmad-prd/reference/references/validate.md +97 -0
- package/skills/bmad-product-brief/SKILL.md +22 -0
- package/skills/bmad-product-brief/reference/SKILL.md +91 -0
- package/skills/bmad-product-brief/reference/assets/brief-template.md +41 -0
- package/skills/bmad-product-brief/reference/customize.toml +99 -0
- package/skills/bmad-quick-dev/SKILL.md +26 -0
- package/skills/bmad-quick-dev/reference/SKILL.md +111 -0
- package/skills/bmad-quick-dev/reference/compile-epic-context.md +62 -0
- package/skills/bmad-quick-dev/reference/customize.toml +41 -0
- package/skills/bmad-quick-dev/reference/spec-template.md +88 -0
- package/skills/bmad-quick-dev/reference/step-01-clarify-and-route.md +100 -0
- package/skills/bmad-quick-dev/reference/step-02-plan.md +47 -0
- package/skills/bmad-quick-dev/reference/step-03-implement.md +41 -0
- package/skills/bmad-quick-dev/reference/step-04-review.md +50 -0
- package/skills/bmad-quick-dev/reference/step-05-present.md +78 -0
- package/skills/bmad-quick-dev/reference/step-oneshot.md +71 -0
- package/skills/bmad-quick-dev/reference/sync-sprint-status.md +19 -0
- package/skills/bmad-sprint-planning/SKILL.md +23 -0
- package/skills/bmad-sprint-planning/reference/SKILL.md +300 -0
- package/skills/bmad-sprint-planning/reference/checklist.md +33 -0
- package/skills/bmad-sprint-planning/reference/customize.toml +41 -0
- package/skills/bmad-sprint-planning/reference/sprint-status-template.yaml +56 -0
- package/src/gui.tsx +127 -0
- package/src/index.ts +114 -0
- package/src/rpc.ts +27 -0
- package/src/storage.ts +21 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-prd
|
|
3
|
+
description: Create, update, or validate a PRD. Use when the user wants help producing, editing, or validating a PRD.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# bmad-prd · OpenCode edition
|
|
7
|
+
|
|
8
|
+
## Artifact storage
|
|
9
|
+
|
|
10
|
+
Use the **BMAD artifact storage** contract injected by the OpenCode BMAD plugin for this project. It names the selected backend, project root and exact artifact prefix. Call `bmad_storage` if the contract is missing or you need to refresh it. Read existing artifacts before editing, write complete Markdown, then read back and verify. Keep each artifact's logical name stable. Do not switch storage backends silently. The plugin is installed globally; project artifacts are scoped to the current repository. Source code changes remain in the repository. Bundled references may mention upstream project-local `_bmad` setup, config or scripts; use their methodology without requiring those files in the project. The selected storage contract overrides artifact paths in references.
|
|
11
|
+
|
|
12
|
+
## Workflow
|
|
13
|
+
|
|
14
|
+
1. Read the existing PRD, product brief and relevant decisions from artifact storage; distinguish create, update and validate intent. Reuse a draft when resuming.
|
|
15
|
+
2. Capture the user's problem, target users, desired outcome and constraints. Follow their requested pace; a fast path uses explicit assumptions for non-blocking gaps. Ask only questions that change the requirements.
|
|
16
|
+
3. Draft scope, user journeys when useful, numbered functional requirements, measurable nonfunctional requirements, success measures, exclusions and open questions. Keep technical options in `prd-addendum.md` when they need separate depth.
|
|
17
|
+
4. Reconcile inputs, surface contradictions, and review against the task's stakes. Validate mode produces `reviews/prd-validation.md` without altering the PRD. Finalize only after resolving blockers; preserve draft status otherwise.
|
|
18
|
+
|
|
19
|
+
**Primary artifact:** `prd.md`. Use a stable descriptive `<story-id>`, `<review-id>` or `<change-id>` where shown, and return its full verified artifact path.
|
|
20
|
+
|
|
21
|
+
## Optional method references
|
|
22
|
+
|
|
23
|
+
Read only the template or checklist needed for the current step, relative to this skill directory: `reference/assets/prd-template.md`; `reference/assets/prd-validation-checklist.md`. The references preserve upstream methodology; their filesystem writes, activation scripts and local artifact discovery are replaced by the BMAD artifact storage contract above. Do not load the entire upstream workflow or unrelated artifacts.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: bmad-prd
|
|
3
|
+
description: Create, update, or validate a PRD. Use when the user wants help producing, editing, or validating a PRD.
|
|
4
|
+
---
|
|
5
|
+
# BMad PRD
|
|
6
|
+
|
|
7
|
+
You are a master facilitator and coach helping the user create, edit, or validate a high quality PRD scoped to the level and rigor appropriate to their stated needs. Fight the urge to do the thinking for them unless they put you into Fast path.
|
|
8
|
+
|
|
9
|
+
## Conventions
|
|
10
|
+
|
|
11
|
+
- Bare paths resolve from skill root; `{skill-root}` is this skill's install dir; `{project-root}` is the project working dir.
|
|
12
|
+
- `{workflow.<name>}` resolves to fields in `customize.toml`'s `[workflow]` table (overrides win per BMad merge rules).
|
|
13
|
+
- `{doc_workspace}` is the bound run folder.
|
|
14
|
+
- **File roles.** `.decision-log.md` is canonical memory and audit trail — every decision, change, and override (including headless overrides) is recorded there as the conversation unfolds. `addendum.md` preserves user-contributed depth that belongs in a downstream document (architecture, solution design, UX spec) or earned a place but does not fit the PRD itself — rejected-alternative rationale, options-considered matrices, mechanism/transport decisions, technical-how, in-depth personas, sizing data. Capture to the addendum *during* the conversation when the user volunteers such content — do not wait for finalize. Audit and override information never goes in the addendum.
|
|
15
|
+
|
|
16
|
+
## On Activation
|
|
17
|
+
|
|
18
|
+
1. Resolve customization: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow`. On failure, read `{skill-root}/customize.toml` directly and use defaults.
|
|
19
|
+
2. Run `{workflow.activation_steps_prepend}`. Treat `{workflow.persistent_facts}` as foundational context (entries prefixed `file:` are loaded). `{workflow.external_sources}` is an org-configured registry of internal tools (knowledge bases, MCP tools); consult them alongside generic web research on the same triggers, org tools preferred when their directive matches. Research itself fires during Discovery — see **Research subagents**.
|
|
20
|
+
3. Load `{project-root}/_bmad/bmm/config.yaml` (+ `config.user.yaml` if present). Resolve `{user_name}`, `{communication_language}`, `{document_output_language}`, `{planning_artifacts}`, `{project_name}`, `{date}`. Missing keys → neutral defaults; never block.
|
|
21
|
+
4. If headless, follow `references/headless.md` for the whole run. Otherwise greet the user **by name** using `{user_name}` and **in their language** using `{communication_language}` — and stay in `{communication_language}` for every turn for the entire run, not just the greeting. In the greeting, let the user know that at any point they can invoke `bmad-party-mode` for multi-agent perspectives or `bmad-advanced-elicitation` for deeper exploration on a specific section. Then scan for misroute on the first message: if the signal points elsewhere (game → BMad GDS; express build → `bmad-quick-dev`; one-pager → `bmad-product-brief`; vet product idea → `bmad-prfaq`; agent skill or custom agent → `bmad-workflow-builder`), suggest they might want the other options before continuing.
|
|
22
|
+
5. Detect intent: **Create** (no PRD), **Update** (existing PRD), **Validate** (critique only). If ambiguous, ask. For Create intent, before binding a fresh workspace, scan `{workflow.prd_output_path}` for prior in-progress runs (folders matching `{workflow.run_folder_pattern}` whose `prd.md` frontmatter `status` is not `final`); if any exist, offer to resume rather than starting over.
|
|
23
|
+
|
|
24
|
+
Run `{workflow.activation_steps_append}`.
|
|
25
|
+
|
|
26
|
+
Activation is complete. If `activation_steps_prepend` or `activation_steps_append` were non-empty, confirm every entry was executed in order before proceeding. Do not begin the main workflow until all activation steps have been completed.
|
|
27
|
+
|
|
28
|
+
## Intent Modes
|
|
29
|
+
|
|
30
|
+
**Create.** Bind `{doc_workspace}` to `{workflow.prd_output_path}/{workflow.run_folder_pattern}/`. Write `prd.md` with YAML frontmatter (title, status, created, updated — initial `status: draft`), and create the `.decision-log.md` skeleton at the workspace root so subsequent decisions land in a known file. Tell the user the path. Run `## Discovery`, then `## Finalize`.
|
|
31
|
+
|
|
32
|
+
**Update.** Reconcile the PRD with a change signal. Source-extract against PRD, addendum, `.decision-log.md`, and original inputs (extract, don't ingest). If `.decision-log.md` is missing, spawn a one-time bootstrap subagent to reverse-engineer a thin log from the PRD before continuing. Surface conflicts with prior decisions before applying. Then `## Finalize`.
|
|
33
|
+
|
|
34
|
+
**Validate** (or *analyze*). Critique without changing. Load `references/validate.md`.
|
|
35
|
+
|
|
36
|
+
## Discovery
|
|
37
|
+
|
|
38
|
+
Order: **Brain dump → Stakes calibration → Working mode → mode-scoped work.** Get to working mode fast — two or three turns, not ten. Users in a hurry must not be held hostage by upstream probing.
|
|
39
|
+
|
|
40
|
+
**Brain dump.** Always the first move, even when the user opens with paragraphs of context (that is intake, not the dump). Ask for verbal context *and* any existing inputs they want you to read — product brief, research, customer transcripts, competitive analysis, prior PRD draft, design docs. Paths or paste; big docs are fine, you will subagent-extract. A simple "anything else?" surfaces what they almost forgot.
|
|
41
|
+
|
|
42
|
+
**Research subagents (default).** During Discovery, spawn web-research subagents to ground the picture: what exists in the space, how comparables position themselves, current landscape. Subagent does the search; parent receives a digest.
|
|
43
|
+
|
|
44
|
+
**Elicitation, not direction.** Discovery pulls the user's vision out; it does not insert yours. Open-ended "tell me about X" beats multiple choice. When you find yourself naming wedges, picking MVP cuts, or proposing phases, stop — you have crossed from elicitation into authoring. Hand the pen back. Infer-and-confirm ("I'm assuming X works like Y — right?") is fine; quizzing the user through a tree of LLM-shaped choices is not.
|
|
45
|
+
|
|
46
|
+
**Stakes calibration.** One short probe before working mode: hobby / internal / launch — enough to calibrate rigor and section depth. Audience, Existing inputs, and Downstream depth fill in inside the chosen mode, not upstream of the choice.
|
|
47
|
+
|
|
48
|
+
**Working mode.** Offer the choice in the user's language:
|
|
49
|
+
|
|
50
|
+
- **Fast path** — I batch remaining gaps into one or two consolidated questions, then draft the full PRD with `[ASSUMPTION]` tags where I inferred. You review and we iterate. The initial quality depends on how much you gave me upfront.
|
|
51
|
+
- **Coaching path** — we walk PM-thinking sections together. Once chosen, I ask which entry point fits: **Vision + Features** (capability-first — for enterprise, dev products, internal tools, anyone who thinks in features), **Journey-led** (user-first — for consumer, UX-heavy, multi-stakeholder products; journeys with named protagonists carry persona context inline, no standalone persona section), or *let me suggest* based on what I heard. The chosen entry sets the section order.
|
|
52
|
+
|
|
53
|
+
The workspace persists; stop and resume freely.
|
|
54
|
+
|
|
55
|
+
**Concern scan.** As you read what the user gave you, name the concerns this product actually carries — compliance, integration density, operational SLAs, hardware constraints, public-API contracts, monetization, data governance, whatever applies. The list is open; recognize what's there, do not classify into a fixed shape. These concerns drive which template sections to pull in from the Adapt-In Menu and which to invent when no cluster names them.
|
|
56
|
+
|
|
57
|
+
**Form-factor.** If not stated in sources, probe — mobile / web / desktop / multi-surface / hardware / API.
|
|
58
|
+
|
|
59
|
+
**User Journeys are captured, not authored.** When UJs are warranted (consumer / multi-stakeholder B2B / meaningful UX — drop or downscale for internal tooling with a single operator role, regulatory-only updates, hobby/solo, pure technical PRDs), prompt the user to narrate a real session with a named protagonist (Mary, mom of three — not "the user") — what the person does, in what order, where it lands — then structure the answer into UJ-N form and confirm. Persona context lives inline at the moments that matter; no standalone persona section.
|
|
60
|
+
|
|
61
|
+
## PRD Discipline
|
|
62
|
+
|
|
63
|
+
**Shape.** Features grouped; FRs nested with globally numbered stable IDs. Cross-cutting NFRs in their own section; skip traceability matrices. Capabilities, not implementation — tech choices live in `addendum.md`. Treat `{workflow.prd_template}` as expert prior knowledge, not a checklist. The **Essential Spine** is the expected default — present it unless the product genuinely doesn't need a section, and when you drop one, do so for a reason a reviewer would agree with. The **Adapt-In Menu** is conditional: pull in the clusters the product's concerns need to best define the requirements. When the product carries a concern the menu doesn't name, invent the section — name it well, decide what belongs in it, place it where it serves the reader or the PRD. Reorder and combine for readability. Never include a section because it appears; never skip a concern because no template section covered it. Counter-metrics named when Success Metrics exist.
|
|
64
|
+
|
|
65
|
+
**Extract, don't ingest.** Source documents go to subagents for extraction; the parent assembles from extracts. Only load source documents into the parent context wholesale when no subagents are available.
|
|
66
|
+
|
|
67
|
+
**Length scales with stakes.** Hobby / solo PRDs aim for about two pages. Internal tools land around five to eight. Launch and chain-top PRDs run as long as their FRs and concerns require. Whatever the length, detail that doesn't earn its place in the PRD's main narrative belongs in `addendum.md` — moving overflow there is correct; padding the PRD to look thorough is not.
|
|
68
|
+
|
|
69
|
+
## Reviewer Gate
|
|
70
|
+
|
|
71
|
+
Used by the Validate intent and at Finalize step 3.
|
|
72
|
+
|
|
73
|
+
Assemble the menu: rubric walker against `{workflow.validation_checklist_template}` (the PRD quality rubric) + each entry in `{workflow.finalize_reviewers}` + any ad-hoc reviewers the artifact warrants. Stakes-calibrated — hobby/solo may run quietly or skip; higher stakes get the explicit all/subset/skip menu.
|
|
74
|
+
|
|
75
|
+
Dispatch entries as parallel subagents against `prd.md` (and `addendum.md` if present) using the standard prefix convention (`skill:` / `file:` / plain text). Each writes its full review to `{doc_workspace}/review-{slug}.md` and returns ONLY a compact summary (verdict, top 2-5 findings, file path) — the parent never holds full review text. The rubric walker uses the prompt and output format in `references/validate.md`. If subagents are unavailable, run sequentially: write the file *before* anything else, then flush the review from working context.
|
|
76
|
+
|
|
77
|
+
Surface findings tiered, never dumped. Lead with a one-sentence gate verdict, then walk critical + high findings; medium/low roll into a single tail ("plus N more in {file}"). Read the full `review-{slug}.md` only when the user drills into a specific finding. Per finding: autofix, discuss, defer to open items, or ignore.
|
|
78
|
+
|
|
79
|
+
Under Validate intent, the parent additionally runs the synthesis pipeline in `references/validate.md` — folding every selected reviewer's output into a single HTML + markdown report and opening the HTML.
|
|
80
|
+
|
|
81
|
+
## Finalize
|
|
82
|
+
|
|
83
|
+
Tell the user the sequence in one sentence, then walk it. Polish goes last so it does not redo work after reviewer fixes.
|
|
84
|
+
|
|
85
|
+
1. **Decision log audit.** Walk `.decision-log.md` with the user; each entry captured in PRD, in addendum, or set aside.
|
|
86
|
+
2. **Input reconciliation.** Subagent per user-supplied input against `prd.md` + `addendum.md`. Each writes its extract to `{doc_workspace}/reconcile-{slug}.md` and returns ONLY a compact summary (input name, gaps 2-5, file path). Surface gaps — especially qualitative ideas (tone, voice, feel) the FR structure silently drops. Must happen before polish.
|
|
87
|
+
3. **Reviewer pass.** Run `## Reviewer Gate`. Resolve before polish.
|
|
88
|
+
4. **Triage open items.** All Open Questions, `[ASSUMPTION]` tags, `[NOTE FOR PM]` callouts. Phase-blockers (would make the PRD unsafe for UX/architecture/epics) surfaced one at a time and resolved; non-blockers deferred with owner + revisit condition logged to `.decision-log.md`. If phase-blocker count is high, flag it.
|
|
89
|
+
5. **Polish.** Apply `{workflow.doc_standards}` to `prd.md` and `addendum.md` in declared order (structural passes before prose — prose should not polish soon-to-be-cut text). Parallelize across documents, sequential within.
|
|
90
|
+
6. **External handoffs.** Execute `{workflow.external_handoffs}`; surface returned URLs/IDs. Skip and flag unavailable tools.
|
|
91
|
+
7. **Close.** Set `prd.md` frontmatter `status: final` and `updated` to `{date}` so future invocations distinguish this PRD from in-progress drafts. Record finalization to `.decision-log.md`. Share artifact paths. Common next: `bmad-ux`, `bmad-create-architecture`, `bmad-create-epics-and-stories`; invoke `bmad-help` for authoritative routing.
|
|
92
|
+
8. Run `{workflow.on_complete}` if non-empty.
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# Headless Mode JSON Schemas
|
|
2
|
+
|
|
3
|
+
Every headless run ends with one of these payloads. Omit keys for artifacts not produced.
|
|
4
|
+
|
|
5
|
+
## Common fields
|
|
6
|
+
|
|
7
|
+
- `status` — `"complete"`, `"blocked"`, or `"partial"`
|
|
8
|
+
- `intent` — `"create"`, `"update"`, or `"validate"` (matches the detected intent)
|
|
9
|
+
- `reason` — required when `status` is `"blocked"`; one-sentence explanation
|
|
10
|
+
- `assumptions` — array of inferred values that were not directly confirmed by inputs
|
|
11
|
+
- `open_questions` — array of items that need a human decision before the artifact can be considered final
|
|
12
|
+
|
|
13
|
+
## Create
|
|
14
|
+
|
|
15
|
+
```json
|
|
16
|
+
{
|
|
17
|
+
"status": "complete",
|
|
18
|
+
"intent": "create",
|
|
19
|
+
"prd": "{doc_workspace}/prd.md",
|
|
20
|
+
"addendum": "{doc_workspace}/addendum.md",
|
|
21
|
+
"decision_log": "{doc_workspace}/.decision-log.md",
|
|
22
|
+
"open_questions": [],
|
|
23
|
+
"assumptions": [],
|
|
24
|
+
"external_handoffs": [
|
|
25
|
+
{"directive": "Confluence upload", "tool": "corp:confluence_upload", "url": "https://confluence.corp/PROD/123", "status": "ok"}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## Update
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"status": "complete",
|
|
35
|
+
"intent": "update",
|
|
36
|
+
"prd": "{doc_workspace}/prd.md",
|
|
37
|
+
"decision_log": "{doc_workspace}/.decision-log.md",
|
|
38
|
+
"changes_summary": "1-3 sentences describing what changed and why",
|
|
39
|
+
"conflicts_with_prior_decisions": [],
|
|
40
|
+
"open_questions": [],
|
|
41
|
+
"external_handoffs": [
|
|
42
|
+
{"directive": "Confluence upload", "tool": "corp:confluence_upload", "url": "https://confluence.corp/PROD/123", "status": "ok"}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Validate
|
|
48
|
+
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"status": "complete",
|
|
52
|
+
"intent": "validate",
|
|
53
|
+
"validation_report": "{doc_workspace}/validation-report.md",
|
|
54
|
+
"findings_summary": {
|
|
55
|
+
"critical": 0,
|
|
56
|
+
"high": 0,
|
|
57
|
+
"medium": 0,
|
|
58
|
+
"low": 0
|
|
59
|
+
},
|
|
60
|
+
"offer_to_update": true
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
`validation_report` is always written for Validate intent — the path here is required, not optional.
|
|
65
|
+
|
|
66
|
+
## Blocked
|
|
67
|
+
|
|
68
|
+
```json
|
|
69
|
+
{
|
|
70
|
+
"status": "blocked",
|
|
71
|
+
"intent": "update",
|
|
72
|
+
"reason": "Change signal ambiguous — could be a scope expansion or a clarification; no inferred direction"
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Always include the intent (best-guess if not certain) and a one-sentence `reason`.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# PRD Template
|
|
2
|
+
|
|
3
|
+
## Essential Spine *(almost always present)*
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
---
|
|
7
|
+
title: {Product Name}
|
|
8
|
+
created: {YYYY-MM-DD}
|
|
9
|
+
updated: {YYYY-MM-DD}
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# PRD: {Product Name}
|
|
13
|
+
*Working title — confirm.*
|
|
14
|
+
|
|
15
|
+
## 0. Document Purpose
|
|
16
|
+
[1 paragraph: who this PRD is for (PM, stakeholders, downstream workflow owners), how it's structured (Glossary-anchored vocabulary, features grouped with FRs nested, assumptions tagged inline and indexed). If UX work or other inputs already exist, name them here and reference where they live — this PRD builds on them, it does not duplicate.]
|
|
17
|
+
|
|
18
|
+
## 1. Vision
|
|
19
|
+
[2-3 paragraphs: what this is, what it does for the user, why it matters. Compelling enough to stand alone.]
|
|
20
|
+
|
|
21
|
+
## 2. Target User
|
|
22
|
+
|
|
23
|
+
### 2.1 Jobs To Be Done
|
|
24
|
+
[Bulleted. Emotional, social, functional, contextual — whichever apply. Even "this is for me as the builder" is a valid framing for a hobby project.]
|
|
25
|
+
|
|
26
|
+
### 2.2 Non-Users (v1) *(add when the audience boundary is non-obvious)*
|
|
27
|
+
[Who this is explicitly not for in v1.]
|
|
28
|
+
|
|
29
|
+
### 2.3 Key User Journeys
|
|
30
|
+
*Named-persona narratives the product enables. Numbered globally as UJ-1 through UJ-N. FRs reference journeys by ID inline ("realizes UJ-3"); SMs may also cross-reference. If a UX doc already exists, mirror its UJ IDs here and point to the source.*
|
|
31
|
+
|
|
32
|
+
**Default shape:** a named scene with entry state, path, climax, and resolution. Each beat forces specificity the team would otherwise leave implicit — auth assumptions, screen order, what tells the user value landed. Read together as a short narrative; the example below shows the form.
|
|
33
|
+
|
|
34
|
+
- **UJ-1. {One-line title — persona doing the thing.}**
|
|
35
|
+
- **Persona + context:** one line, grounded enough to explain the *why*.
|
|
36
|
+
- **Entry state:** authenticated? which surface? coming from where?
|
|
37
|
+
- **Path:** 3-5 concrete beats — taps, screens, decisions.
|
|
38
|
+
- **Climax:** the moment value is delivered and how the user knows.
|
|
39
|
+
- **Resolution:** state they're left in, what's next.
|
|
40
|
+
- **Edge case** *(optional)*: one real failure mode and what the user does next.
|
|
41
|
+
|
|
42
|
+
*Written out, that becomes:*
|
|
43
|
+
> **UJ-3. Priya checks the trip damage before she's even home.**
|
|
44
|
+
> Priya, budgeting on a single income with a new baby, finishes a grocery run and gets in the car. Already authenticated via biometric on a previous session. She opens the app, taps the FAB camera, and scans the receipt. The app OCRs the total and shows a single-screen overlay: this trip $84.20, weekly cap $250, $172.10 remaining, three days left in the week. She closes the app and drives home. **Edge case:** if she scanned a receipt earlier today, the app asks whether this replaces or adds to that trip before counting it against the cap.
|
|
45
|
+
|
|
46
|
+
- **UJ-2. ...**
|
|
47
|
+
|
|
48
|
+
**Scope dial:**
|
|
49
|
+
- **Lighter** — hobby/solo, library/CLI, or when the UJ is essentially a JTBD restated: a single sentence works (`{Persona}, {context}, {what they do and why}.`).
|
|
50
|
+
- **Heavier** — auth, multi-device handoff, complex navigation, or anything feeding downstream UX/architecture: add a numbered Flow, an Edge cases list, and a capability → FR mapping (`The system must {capability}. → FR-N`).
|
|
51
|
+
|
|
52
|
+
## 3. Glossary
|
|
53
|
+
*Downstream workflows and readers must use these terms exactly. FRs, UJs, and SMs use Glossary terms verbatim; introducing a synonym anywhere in the PRD is a discipline violation. If §4 introduces a new domain noun, add it to the Glossary in the same pass.*
|
|
54
|
+
|
|
55
|
+
- **Term** — Definition. Relationships to other Glossary terms. Cardinality where relevant.
|
|
56
|
+
- **Term** — ...
|
|
57
|
+
|
|
58
|
+
[Every domain noun the rest of the document uses. Defined once. No synonyms anywhere else in the PRD.]
|
|
59
|
+
|
|
60
|
+
## 4. Features
|
|
61
|
+
*Each subsection is a coherent feature: behavioral description first, FRs nested under it, optional feature-specific NFRs and notes. FRs are numbered globally (FR-1 through FR-N) so downstream artifacts have stable references even if features get reorganized. Reference user journeys by ID inline ("realizes UJ-2") where the chain matters.*
|
|
62
|
+
|
|
63
|
+
### 4.1 {Feature Name}
|
|
64
|
+
**Description:** [Behavioral narrative — how this feature works, who uses it, the user experience, edge cases. Realizes UJ-X, UJ-Y. Use Glossary terms exactly. Embed inline `[ASSUMPTION: ...]` tags where you inferred without confirmation.]
|
|
65
|
+
|
|
66
|
+
**Functional Requirements:**
|
|
67
|
+
|
|
68
|
+
#### FR-1: {Short capability name}
|
|
69
|
+
|
|
70
|
+
[Actor] can [capability] [under conditions]. Realizes UJ-X.
|
|
71
|
+
|
|
72
|
+
**Consequences (testable):**
|
|
73
|
+
- {Specific testable condition, e.g. "System returns HTTP 429 when request rate exceeds 100/sec per merchant."}
|
|
74
|
+
- {Another testable condition.}
|
|
75
|
+
|
|
76
|
+
**Out of Scope:** *(optional — what this FR explicitly does NOT cover)*
|
|
77
|
+
- {bound}
|
|
78
|
+
|
|
79
|
+
#### FR-2: ...
|
|
80
|
+
|
|
81
|
+
**Feature-specific NFRs:** *(only if any apply uniquely to this feature)*
|
|
82
|
+
- Performance / security / accessibility / etc. specific to this feature.
|
|
83
|
+
|
|
84
|
+
**Notes:** *(optional — open questions specific to this feature, `[NOTE FOR PM]` callouts)*
|
|
85
|
+
|
|
86
|
+
### 4.2 {Feature Name}
|
|
87
|
+
...
|
|
88
|
+
|
|
89
|
+
## 5. Non-Goals (Explicit)
|
|
90
|
+
[Bulleted. What this product is *not* and what it will *not* do in v1. Does outsized work for downstream readers and workflows — prevents the "let me also add this nearby thing" failure mode at every level (epic, ticket, code). Inline `[NON-GOAL for MVP]` callouts within §4 Features cover deferred items within features; this section captures the broader "we are not building X / we are not becoming Y" statements.]
|
|
91
|
+
|
|
92
|
+
## 6. MVP Scope
|
|
93
|
+
|
|
94
|
+
### 6.1 In Scope
|
|
95
|
+
[Bulleted, crisp.]
|
|
96
|
+
|
|
97
|
+
### 6.2 Out of Scope for MVP
|
|
98
|
+
[Bulleted. Each item with a one-line reason if the reason matters. Mark items deferred to v2/v3 explicitly. Add `[NOTE FOR PM]` callouts where a deferred item is emotionally load-bearing — flags it for revisit if timeline permits.]
|
|
99
|
+
|
|
100
|
+
## 7. Success Metrics
|
|
101
|
+
|
|
102
|
+
*Each SM cross-references the FR(s) it validates. Counter-metrics counterbalance specific primary or secondary metrics.*
|
|
103
|
+
|
|
104
|
+
**Primary**
|
|
105
|
+
- **SM-1**: Metric — definition, target. Validates FR-X, FR-Y.
|
|
106
|
+
|
|
107
|
+
**Secondary**
|
|
108
|
+
- **SM-2**: Metric — definition, target. Validates FR-Z.
|
|
109
|
+
|
|
110
|
+
**Counter-metrics (do not optimize)**
|
|
111
|
+
- **SM-C1**: Metric — why this should *not* be optimized. Counterbalances SM-1.
|
|
112
|
+
|
|
113
|
+
[Length scales with stakes. Hobby/utility PRD: a single sentence may be enough ("Success: I use this weekly and don't abandon it after a month"). Public launch / enterprise: full quantitative breakdown with measurement methods. Counter-metrics are as load-bearing as primary metrics — they prevent the architect from optimizing the wrong thing and the dev from gaming the wrong target.]
|
|
114
|
+
|
|
115
|
+
## 8. Open Questions
|
|
116
|
+
[Numbered. Things still unknown — they become future tickets or follow-up research, not silent gaps.]
|
|
117
|
+
|
|
118
|
+
## 9. Assumptions Index
|
|
119
|
+
*Every `[ASSUMPTION]` from the document, surfaced for explicit confirmation:*
|
|
120
|
+
- Inline assumption from §X.Y — short description.
|
|
121
|
+
- ...
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Adapt-In Menu *(add the clusters the product calls for)*
|
|
127
|
+
|
|
128
|
+
### Cross-cutting quality and shape *(most non-trivial PRDs)*
|
|
129
|
+
- **Cross-Cutting NFRs** — system-wide non-functional requirements not tied to a single feature (performance, security, reliability, observability). Add when system-wide quality attributes are meaningful.
|
|
130
|
+
- **Constraints and Guardrails** — Safety, Privacy, Cost. Subsection per cluster. Add when any of these are real concerns.
|
|
131
|
+
- **Why Now** — add when timing is load-bearing (a market shift, a technology enabler, a regulatory deadline). Drop when timing is incidental.
|
|
132
|
+
|
|
133
|
+
### Consumer / branded products
|
|
134
|
+
- **Aesthetic and Tone** — visual references, anti-references, voice/tone for any product-generated text.
|
|
135
|
+
- **Information Architecture** — top-level surfaces, navigation, screens.
|
|
136
|
+
- **Monetization** — free vs. paid, pricing assumptions, ads policy.
|
|
137
|
+
- **Platform** — web, mobile, PWA, native, v1 vs. v2+.
|
|
138
|
+
|
|
139
|
+
### Enterprise initiatives
|
|
140
|
+
- **Stakeholders and Approvals** — who must sign off, at what stage.
|
|
141
|
+
- **Risk and Mitigations** — operational, security, business, reputational risk register.
|
|
142
|
+
- **ROI / Business Case** — quantified benefit, cost, payback period.
|
|
143
|
+
- **Operational Requirements** — SLAs, RTO/RPO, support tier, on-call expectations.
|
|
144
|
+
- **Integration and Dependencies** — SSO, existing enterprise systems, data sources, downstream consumers.
|
|
145
|
+
- **Rollout and Change Management** — phased rollout plan, training, internal communication.
|
|
146
|
+
- **Data Governance** — residency, sovereignty, classification, retention.
|
|
147
|
+
- **Audit Trail / Decision Provenance** — formal documentation requirements for regulated environments.
|
|
148
|
+
|
|
149
|
+
### Regulated domains
|
|
150
|
+
- **Compliance and Regulatory** — HIPAA, PCI-DSS, GDPR, SOX, SOC 2, Section 508 / WCAG 2.1 AA, FedRAMP, etc. — whichever apply. If any item needs depth, add a `[NOTE FOR PM]` callout to revisit or move to an addendum.
|
|
151
|
+
|
|
152
|
+
### Developer products (libraries, APIs, CLIs, SDKs)
|
|
153
|
+
- **API Contracts / Public Surface** — endpoint shapes, breaking change policy.
|
|
154
|
+
- **Versioning and Deprecation Policy**.
|
|
155
|
+
- **Performance Budgets** — latency, throughput, resource use.
|
|
156
|
+
- **Language / Runtime Targets and Dependency Policy**.
|
|
157
|
+
|
|
158
|
+
### Embedded / hardware
|
|
159
|
+
- **Hardware Constraints** — memory, power, form factor.
|
|
160
|
+
- **Deployment and Update Mechanism** — OTA, manual, image-based.
|
|
161
|
+
- **Environmental and Reliability Requirements**.
|
|
162
|
+
|
|
163
|
+
### Small-scope all-inclusive *(use when scope is 1-2 stories' worth and the user wants a single captured artifact — chosen during the Right-skill check in Discovery)*
|
|
164
|
+
- **Stories** — story-level specs listed inline at the end of the doc. Each story: *"As a [persona], I can [action] [under conditions]. Acceptance: [testable criteria]."* Numbered Story-1, Story-2, ... for reference. Pair with very lean §1 Vision, §2 Target User (often just JTBD + one UJ), §3 Glossary (handful of terms), §4 Features (often a single feature), §6 MVP Scope (in/out very tight). The whole doc fits on a page or two and captures intent + implementable stories in one place. If the user doesn't want the captured artifact at all, `bmad-quick-dev` is the better path — this cluster is only for "I want a doc *and* the stories."
|
|
165
|
+
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# PRD Quality Rubric
|
|
2
|
+
|
|
3
|
+
A judgment rubric for the validator subagent. Walk the PRD with these dimensions in mind and write substantive findings — not box-ticking. The goal is a review that tells the user whether this PRD is *good*, not whether it has the right section headers.
|
|
4
|
+
|
|
5
|
+
Most PRDs do not need every dimension scrutinized equally. Calibrate to the agreed stakes, the PRD's shape (consumer product, internal tool, regulatory update, technical capability spec), and what the PRD itself is trying to do. Be specific — cite locations, quote phrases, name what's missing. Abstract criticism is failure of nerve.
|
|
6
|
+
|
|
7
|
+
## How to use this rubric
|
|
8
|
+
|
|
9
|
+
1. Read the full PRD (and addendum.md if present) before writing anything.
|
|
10
|
+
2. For each of the seven dimensions below, form a judgment — *strong / adequate / thin / broken* — backed by specifics from the PRD.
|
|
11
|
+
3. Write findings only where they add information. A `strong` dimension may need no findings; a `broken` one needs concrete, fixable ones.
|
|
12
|
+
4. Severity ranks impact on the PRD's usefulness, not how easy the fix is. A vague Vision statement is *critical* even though it's a one-paragraph fix; a glossary drift might be *low* even though it appears in many places.
|
|
13
|
+
5. The overall verdict is your synthesis — 2–3 sentences that name what holds up and what's at risk. Earn it with the dimension judgments.
|
|
14
|
+
|
|
15
|
+
## Output format
|
|
16
|
+
|
|
17
|
+
Write findings to `{doc_workspace}/review-rubric.md`:
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
# PRD Quality Review — {prd_name}
|
|
21
|
+
|
|
22
|
+
## Overall verdict
|
|
23
|
+
[2–3 sentences. What holds up, what's at risk. Earned by the dimension judgments below.]
|
|
24
|
+
|
|
25
|
+
## Decision-readiness — [strong | adequate | thin | broken]
|
|
26
|
+
[1–3 paragraphs of judgment with specific PRD locations.]
|
|
27
|
+
|
|
28
|
+
### Findings
|
|
29
|
+
- **[critical|high|medium|low]** [Title] (§ location) — [Note]. *Fix:* [suggested fix].
|
|
30
|
+
|
|
31
|
+
## Substance over theater — [verdict]
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
(repeat for each dimension)
|
|
35
|
+
|
|
36
|
+
## Mechanical notes
|
|
37
|
+
[Glossary drift, ID continuity, broken cross-refs, Assumptions Index roundtrip. Lighter weight — these matter for downstream but don't drive the overall verdict.]
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## The seven dimensions
|
|
41
|
+
|
|
42
|
+
### 1. Decision-readiness
|
|
43
|
+
|
|
44
|
+
Can a decision-maker act on this PRD? Are the trade-offs surfaced honestly, or has the PRD smoothed everything to neutral? Would someone pushing back find their objection acknowledged or dodged?
|
|
45
|
+
|
|
46
|
+
Look for:
|
|
47
|
+
- Decisions that are stated as decisions, not buried as "considerations."
|
|
48
|
+
- Trade-offs named with what was given up, not just what was chosen.
|
|
49
|
+
- Open Questions that are actually open — not rhetorical questions with an answer in the next sentence.
|
|
50
|
+
- `[NOTE FOR PM]` callouts at real tensions, not at safe checkpoints.
|
|
51
|
+
|
|
52
|
+
Red flag: a PRD where every choice "balances" everything, every NFR is "important," every persona "values" the product.
|
|
53
|
+
|
|
54
|
+
### 2. Substance over theater
|
|
55
|
+
|
|
56
|
+
Is the content earned, or is it furniture? Distinguish:
|
|
57
|
+
|
|
58
|
+
- **Persona theater** — Personas that don't drive a single decision in the PRD. More than four personas. Personas whose only function is to make the PRD look thorough.
|
|
59
|
+
- **Innovation theater** — claimed novelty that isn't novel. Differentiation sections written because the template had one, not because Discovery surfaced something.
|
|
60
|
+
- **NFR theater** — copied boilerplate ("system must be scalable / secure / reliable") without product-specific thresholds.
|
|
61
|
+
- **Vision theater** — a Vision statement that could swap into any PRD in this category without change.
|
|
62
|
+
|
|
63
|
+
Flag what reads like furniture, even if it's well-written furniture.
|
|
64
|
+
|
|
65
|
+
### 3. Strategic coherence
|
|
66
|
+
|
|
67
|
+
Does the PRD have a thesis? Do the features serve a unified arc, or is it a list of capabilities someone wanted?
|
|
68
|
+
|
|
69
|
+
Look for:
|
|
70
|
+
- A stated thesis the PRD bets on (problem framing, user insight, market move).
|
|
71
|
+
- Feature prioritization that follows from the thesis — not from "what's easy first."
|
|
72
|
+
- Success Metrics that validate the thesis, not metrics that just measure activity (DAU/MAU when the thesis is about engagement quality is a tell).
|
|
73
|
+
- Counter-metrics named when SMs exist.
|
|
74
|
+
- Coherent MVP scope kind — problem-solving, experience, platform, or revenue — with scope logic that matches.
|
|
75
|
+
|
|
76
|
+
Red flag: a PRD that reads as a backlog with section headings.
|
|
77
|
+
|
|
78
|
+
### 4. Done-ness clarity
|
|
79
|
+
|
|
80
|
+
Would an engineer reading this PRD know what "done" looks like for each FR?
|
|
81
|
+
|
|
82
|
+
Look for:
|
|
83
|
+
- FRs with at least one testable consequence per FR — verifiable condition, measurable outcome.
|
|
84
|
+
- "System handles X gracefully," "reasonable performance," "user-friendly" — flag every one.
|
|
85
|
+
- Acceptance criteria implied or explicit. Sometimes the FR's consequences carry this; sometimes the PRD genuinely needs an Acceptance section.
|
|
86
|
+
- For non-functional sections (UX, performance, security): bounds, not adjectives.
|
|
87
|
+
|
|
88
|
+
This is the dimension downstream story creation will lean on hardest. Be unforgiving here.
|
|
89
|
+
|
|
90
|
+
### 5. Scope honesty
|
|
91
|
+
|
|
92
|
+
Are omissions explicit, or is the reader meant to infer them?
|
|
93
|
+
|
|
94
|
+
Look for:
|
|
95
|
+
- A Non-Goals section where it would do real work — and `[NON-GOAL for MVP]` callouts where omissions could be silently assumed.
|
|
96
|
+
- `[ASSUMPTION: …]` tags on inferences the user didn't directly confirm, indexed at the end.
|
|
97
|
+
- `[NOTE FOR PM]` callouts at deferred decisions and unresolved tensions.
|
|
98
|
+
- De-scoping proposed honestly, not done silently.
|
|
99
|
+
|
|
100
|
+
Open-items density: count Open Questions + `[ASSUMPTION]` + `[NOTE FOR PM]` callouts relative to stakes. High counts on a low-stakes PRD is fine; high counts on a green-light-to-build PRD is a blocker.
|
|
101
|
+
|
|
102
|
+
### 6. Downstream usability
|
|
103
|
+
|
|
104
|
+
If this PRD feeds UX, architecture, or story creation, can those workflows source-extract from it cleanly?
|
|
105
|
+
|
|
106
|
+
Look for:
|
|
107
|
+
- Glossary present; every domain noun used identically across FRs, UJs, SM definitions.
|
|
108
|
+
- FR / UJ / SM IDs contiguous, unique, and cross-references that resolve.
|
|
109
|
+
- Each section makes sense pulled out alone — cross-references via Glossary terms, not "see above."
|
|
110
|
+
- UJs each have a named protagonist; no floating UJs.
|
|
111
|
+
|
|
112
|
+
For standalone PRDs (no downstream), this dimension matters less — say so.
|
|
113
|
+
|
|
114
|
+
### 7. Shape fit
|
|
115
|
+
|
|
116
|
+
Has the PRD been forced into a shape that doesn't match the product?
|
|
117
|
+
|
|
118
|
+
- Consumer product / multi-stakeholder B2B / meaningful UX → UJs with named protagonists are load-bearing.
|
|
119
|
+
- Internal tool, single-operator role → capability spec shape; UJs may be overhead; SMs may be operational rather than user-facing.
|
|
120
|
+
- Regulatory or compliance update → constraint traceability is non-negotiable; UJs may be irrelevant.
|
|
121
|
+
- Hobby / solo → rigor light, substance bar still applies.
|
|
122
|
+
- Brownfield → existing-code references must be accurate; new UJs and existing UJs must be distinguished.
|
|
123
|
+
- Chain-top (feeds UX → architecture → stories) → downstream usability matters more; standalone PRDs can be lighter on traceability.
|
|
124
|
+
|
|
125
|
+
Flag PRDs that are over-formalized (UJ density for a single-operator tool) or under-formalized (consumer product with no UJs).
|
|
126
|
+
|
|
127
|
+
## Mechanical notes
|
|
128
|
+
|
|
129
|
+
Cover these as a tail section, not a primary dimension. They matter for downstream but don't drive the verdict on whether the PRD is good.
|
|
130
|
+
|
|
131
|
+
- Glossary drift (case, plural, synonyms across the PRD).
|
|
132
|
+
- ID continuity (gaps, duplicates, unresolved cross-references).
|
|
133
|
+
- Assumptions Index roundtrip (every inline `[ASSUMPTION]` indexed; index entries all appear inline).
|
|
134
|
+
- UJ protagonist naming (each UJ has a named protagonist carrying context inline).
|
|
135
|
+
- Required sections present for the agreed stakes and product type.
|