design-protocol 1.0.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.
Files changed (72) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +225 -0
  3. package/agents/dp-researcher.md +239 -0
  4. package/agents/dp-verifier.md +207 -0
  5. package/bin/install.js +464 -0
  6. package/commands/dp-back.md +221 -0
  7. package/commands/dp-discuss.md +257 -0
  8. package/commands/dp-execute.md +513 -0
  9. package/commands/dp-journey.md +85 -0
  10. package/commands/dp-progress.md +178 -0
  11. package/commands/dp-roadmap.md +83 -0
  12. package/commands/dp-skip.md +186 -0
  13. package/commands/dp-start.md +510 -0
  14. package/commands/dp-storytell.md +94 -0
  15. package/commands/dp-verify.md +207 -0
  16. package/package.json +59 -0
  17. package/skills/dp-color/SKILL.md +214 -0
  18. package/skills/dp-color/export_tokens.py +297 -0
  19. package/skills/dp-color/references/apca-contrast.md +87 -0
  20. package/skills/dp-color/references/hue-emotions.md +109 -0
  21. package/skills/dp-color/references/oklch-gamut.md +79 -0
  22. package/skills/dp-color/references/pitfalls.md +171 -0
  23. package/skills/dp-color/references/scale-patterns.md +206 -0
  24. package/skills/dp-color/references/tool-workflows.md +200 -0
  25. package/skills/dp-discovery/SKILL.md +480 -0
  26. package/skills/dp-eng_review/SKILL.md +471 -0
  27. package/skills/dp-eng_review/references/code-review-checklist.md +385 -0
  28. package/skills/dp-eng_review/references/react-patterns.md +512 -0
  29. package/skills/dp-eng_review/references/shadcn-patterns.md +510 -0
  30. package/skills/dp-eng_review/references/tailwind-conventions.md +351 -0
  31. package/skills/dp-journey/SKILL.md +682 -0
  32. package/skills/dp-journey/references/journey-types.md +97 -0
  33. package/skills/dp-journey/references/map-structures.md +177 -0
  34. package/skills/dp-journey/references/omnichannel-patterns.md +208 -0
  35. package/skills/dp-journey/references/research-methods.md +125 -0
  36. package/skills/dp-prd/SKILL.md +201 -0
  37. package/skills/dp-prd/references/claude-code-spec.md +107 -0
  38. package/skills/dp-prd/references/interview-questions.md +158 -0
  39. package/skills/dp-prd/references/section-templates.md +231 -0
  40. package/skills/dp-research/SKILL.md +540 -0
  41. package/skills/dp-research/references/facilitation-guide.md +291 -0
  42. package/skills/dp-research/references/interview-guide-template.md +190 -0
  43. package/skills/dp-research/references/method-selection.md +195 -0
  44. package/skills/dp-research/references/question-writing.md +244 -0
  45. package/skills/dp-research/references/research-report-template.md +363 -0
  46. package/skills/dp-research/references/synthesis-methods.md +289 -0
  47. package/skills/dp-research/references/usability-test-template.md +260 -0
  48. package/skills/dp-roadmap/SKILL.md +648 -0
  49. package/skills/dp-roadmap/references/prioritization-frameworks.md +312 -0
  50. package/skills/dp-roadmap/references/roadmap-structures.md +179 -0
  51. package/skills/dp-roadmap/references/roadmap-workshops.md +264 -0
  52. package/skills/dp-roadmap/references/theme-development.md +168 -0
  53. package/skills/dp-storytell/SKILL.md +645 -0
  54. package/skills/dp-storytell/references/audience-playbooks.md +260 -0
  55. package/skills/dp-storytell/references/content-type-templates.md +310 -0
  56. package/skills/dp-storytell/references/delivery-tactics.md +228 -0
  57. package/skills/dp-storytell/references/narrative-frameworks.md +259 -0
  58. package/skills/dp-ui/SKILL.md +503 -0
  59. package/skills/dp-ui/references/b2b-enterprise-patterns.md +319 -0
  60. package/skills/dp-ui/references/data-visualization.md +304 -0
  61. package/skills/dp-ui/references/visual-design-principles.md +237 -0
  62. package/skills/dp-ux/SKILL.md +414 -0
  63. package/skills/dp-ux/references/accessibility-checklist.md +128 -0
  64. package/skills/dp-ux/references/product-excellence.md +149 -0
  65. package/skills/dp-ux/references/usability-principles.md +140 -0
  66. package/skills/dp-ux/references/ux-patterns.md +221 -0
  67. package/templates/config.json +55 -0
  68. package/templates/context.md +96 -0
  69. package/templates/project.md +83 -0
  70. package/templates/requirements.md +137 -0
  71. package/templates/roadmap.md +168 -0
  72. package/templates/state.md +107 -0
@@ -0,0 +1,510 @@
1
+ ---
2
+ name: dp-start
3
+ description: Initialize a new DP (Design Protocol) design project with structured workflow. Creates .design/ directory with project config, roadmap, requirements, and state tracking.
4
+ ---
5
+
6
+ # /dp:start — Initialize Design Project
7
+
8
+ You are initializing a new DP 2.0 design workflow. This creates the `.design/` directory structure and captures initial project context.
9
+
10
+ ## Workflow
11
+
12
+ ### Step 1: Check for Existing Project
13
+
14
+ First, check if `.design/` already exists:
15
+
16
+ ```bash
17
+ ls .design/config.json 2>/dev/null
18
+ ```
19
+
20
+ **If exists:** Warn user and ask if they want to:
21
+ 1. Continue existing project (show `/dp:progress`)
22
+ 2. Archive and start fresh
23
+
24
+ **If not exists:** Proceed with initialization.
25
+
26
+ ### Step 2: Gather Project Information
27
+
28
+ Ask the user these questions to populate the project files:
29
+
30
+ **Project Basics:**
31
+ 1. "What's the project or feature name?"
32
+ 2. "In one sentence, what problem are we solving and for whom?"
33
+
34
+ **Users:**
35
+ 3. "Who is the primary user? (role, not demographics)"
36
+ 4. "What are they trying to accomplish?"
37
+
38
+ **Constraints:**
39
+ 5. "Any known constraints? (technical, timeline, brand, etc.)"
40
+
41
+ **Settings:**
42
+ 6. "How thorough should discovery be?
43
+ - **Quick** (1-2 rounds) — You have good clarity already
44
+ - **Standard** (2-4 rounds) — Typical feature work [default]
45
+ - **Thorough** (4-6 rounds) — High-stakes or unclear requirements"
46
+
47
+ 7. "Is this B2B/enterprise? (affects UI patterns)"
48
+
49
+ ### Step 3: Create Directory Structure
50
+
51
+ Create the `.design/` directory with all files:
52
+
53
+ ```
54
+ .design/
55
+ ├── config.json
56
+ ├── PROJECT.md
57
+ ├── ROADMAP.md
58
+ ├── REQUIREMENTS.md
59
+ ├── STATE.md
60
+ └── phases/
61
+ └── (created as phases complete)
62
+ ```
63
+
64
+ ### Step 4: Populate Files
65
+
66
+ **config.json:**
67
+ - Set `project_name` from answer #1
68
+ - Set `created` to current timestamp
69
+ - Set `settings.depth` based on answer #6
70
+ - Set `phases.ui.include_b2b` based on answer #7
71
+ - Set `workflow.current_phase` to 1
72
+ - Set `workflow.workflow_status` to "ready"
73
+
74
+ **PROJECT.md:**
75
+ - Set project name and vision from answers #1, #2
76
+ - Set primary user from answers #3, #4
77
+ - Set constraints from answer #5
78
+
79
+ **ROADMAP.md:**
80
+ - Set project name
81
+ - Set created date
82
+
83
+ **REQUIREMENTS.md:**
84
+ - Set project name
85
+ - Leave requirements empty (populated during discovery)
86
+
87
+ **STATE.md:**
88
+ - Set Phase to "1 of 4 (Discovery)"
89
+ - Set Status to "ready"
90
+ - Set Progress bar to 0%
91
+ - Set last activity to initialization
92
+
93
+ ### Step 5: Confirm and Offer Next Steps
94
+
95
+ After creating files, display:
96
+
97
+ ```
98
+ ✓ DP project initialized: [project_name]
99
+
100
+ Created:
101
+ .design/config.json — Workflow settings
102
+ .design/PROJECT.md — Design vision & constraints
103
+ .design/ROADMAP.md — Phase goals & success criteria
104
+ .design/REQUIREMENTS.md — Trackable requirements
105
+ .design/STATE.md — Session state
106
+
107
+ Current Position:
108
+ Phase: 1 of 4 (Discovery)
109
+ Status: Ready
110
+ Progress: [░░░░░░░░░░] 0%
111
+
112
+ Next Steps:
113
+ 1. /dp:discuss — Capture any known context before discovery
114
+ 2. /dp:discovery — Start discovery interrogation
115
+
116
+ Ready to begin discovery?
117
+ ```
118
+
119
+ ## File Templates
120
+
121
+ Use these inline templates as the base for each file, replacing placeholders with gathered information.
122
+
123
+ ### config.json
124
+
125
+ ```json
126
+ {
127
+ "version": "2.1",
128
+ "created": "",
129
+ "project_name": "",
130
+ "workflow": {
131
+ "current_phase": 0,
132
+ "phases_completed": [],
133
+ "workflow_status": "not_started",
134
+ "executions": {
135
+ "wireframe": {
136
+ "completed": false,
137
+ "timestamp": null,
138
+ "output_dir": null
139
+ },
140
+ "polished": {
141
+ "completed": false,
142
+ "timestamp": null,
143
+ "output_dir": null
144
+ }
145
+ }
146
+ },
147
+ "settings": {
148
+ "depth": "standard",
149
+ "challenge_mode": "heavy"
150
+ },
151
+ "phases": {
152
+ "discovery": {
153
+ "enabled": true,
154
+ "challenge_mode": "heavy",
155
+ "depth": "standard"
156
+ },
157
+ "ux": {
158
+ "enabled": true,
159
+ "include_accessibility": true,
160
+ "include_all_states": true
161
+ },
162
+ "ui": {
163
+ "enabled": true,
164
+ "include_b2b": false,
165
+ "include_data_viz": false,
166
+ "grid_system": "8px"
167
+ },
168
+ "review": {
169
+ "enabled": true,
170
+ "severity_threshold": "moderate",
171
+ "include_spec_alignment": true
172
+ }
173
+ },
174
+ "optional_phases": {
175
+ "research": {
176
+ "enabled": false,
177
+ "methods": []
178
+ }
179
+ }
180
+ }
181
+ ```
182
+
183
+ ### PROJECT.md
184
+
185
+ ```markdown
186
+ # Design Project: [PROJECT_NAME]
187
+
188
+ > Created: [DATE]
189
+ > Status: [not_started | in_progress | complete]
190
+
191
+ ## Design Vision
192
+
193
+ **One-liner:** [What is this and why does it matter?]
194
+
195
+ **Core Value Proposition:**
196
+ > What unique value does this design deliver to users?
197
+
198
+ ## Target Users
199
+
200
+ ### Primary User
201
+ | Attribute | Description |
202
+ |-----------|-------------|
203
+ | Role | |
204
+ | Goals | |
205
+ | Pain Points | |
206
+ | Expertise Level | |
207
+ | Usage Context | |
208
+
209
+ ### Secondary Users
210
+ | Role | Relationship to Primary | Key Needs |
211
+ |------|------------------------|-----------|
212
+ | | | |
213
+
214
+ ## Design Principles
215
+
216
+ > What principles guide design decisions for this project?
217
+
218
+ 1. **[Principle 1]** — [Brief explanation]
219
+ 2. **[Principle 2]** — [Brief explanation]
220
+ 3. **[Principle 3]** — [Brief explanation]
221
+
222
+ ## Constraints
223
+
224
+ ### Technical Constraints
225
+ -
226
+
227
+ ### Brand/Visual Constraints
228
+ -
229
+
230
+ ### Timeline Constraints
231
+ -
232
+
233
+ ### Business Constraints
234
+ -
235
+
236
+ ## Success Criteria
237
+
238
+ | Metric | Current | Target | How Measured |
239
+ |--------|---------|--------|--------------|
240
+ | | | | |
241
+
242
+ ## Key Decisions
243
+
244
+ > Log major design decisions here as they're made
245
+
246
+ | Date | Phase | Decision | Rationale | Decided By |
247
+ |------|-------|----------|-----------|------------|
248
+ | | | | | |
249
+
250
+ ## References
251
+
252
+ - [Link to existing designs]
253
+ - [Link to brand guidelines]
254
+ - [Link to competitor examples]
255
+ - [Link to inspiration]
256
+
257
+ ---
258
+
259
+ ## Scope
260
+
261
+ ### In Scope
262
+ -
263
+
264
+ ### Out of Scope
265
+ -
266
+
267
+ ### Future Considerations
268
+ -
269
+ ```
270
+
271
+ ### ROADMAP.md
272
+
273
+ ```markdown
274
+ # Design Roadmap: [PROJECT_NAME]
275
+
276
+ > Created: [DATE]
277
+ > Target Completion: [DATE]
278
+
279
+ ## Overview
280
+
281
+ Discovery ──► UX ──► UI ──► Review
282
+
283
+ └──► Research (optional branch)
284
+
285
+ ---
286
+
287
+ ## Phase 1: Discovery
288
+
289
+ **Goal:** Transform vague requirements into a bulletproof design brief
290
+ **Skill:** `/dp:discovery`
291
+
292
+ **Success Criteria:**
293
+ - [ ] Problem is clearly articulated
294
+ - [ ] Primary user is well-defined
295
+ - [ ] Requirements are prioritized
296
+ - [ ] Constraints are documented
297
+ - [ ] Success metrics are measurable
298
+
299
+ ---
300
+
301
+ ## Phase 2: UX
302
+
303
+ **Goal:** Apply usability principles to create intuitive user flows and interactions
304
+ **Skill:** `/dp:ux`
305
+
306
+ **Success Criteria:**
307
+ - [ ] User flow is complete end-to-end
308
+ - [ ] All interactive states are defined
309
+ - [ ] Accessibility requirements documented
310
+ - [ ] Usability principles applied with rationale
311
+
312
+ ---
313
+
314
+ ## Phase 3: UI
315
+
316
+ **Goal:** Apply visual design principles to create polished, professional interface specs
317
+ **Skill:** `/dp:ui`
318
+
319
+ **Success Criteria:**
320
+ - [ ] Visual hierarchy is clear (squint test)
321
+ - [ ] 8px grid system applied
322
+ - [ ] Design tokens specified
323
+ - [ ] Components are fully specified
324
+
325
+ ---
326
+
327
+ ## Phase 4: Review
328
+
329
+ **Goal:** Audit implementation for quality, accessibility, and spec alignment
330
+ **Skill:** `/dp:eng_review`
331
+
332
+ **Success Criteria:**
333
+ - [ ] No critical accessibility issues
334
+ - [ ] Quality score meets threshold
335
+ - [ ] Spec alignment verified
336
+ - [ ] All issues have recommended fixes
337
+
338
+ ---
339
+
340
+ ## Milestones
341
+
342
+ | Milestone | Phase | Deliverable | Target Date |
343
+ |-----------|-------|-------------|-------------|
344
+ | Brief Complete | Discovery | DISCOVERY.md | |
345
+ | Flows Complete | UX | UX-DECISIONS.md | |
346
+ | Spec Complete | UI | UI-SPEC.md | |
347
+ | Ready to Ship | Review | REVIEW.md + Score | |
348
+ ```
349
+
350
+ ### REQUIREMENTS.md
351
+
352
+ ```markdown
353
+ # Design Requirements: [PROJECT_NAME]
354
+
355
+ > Created: [DATE]
356
+ > Last Updated: [DATE]
357
+
358
+ ## Requirements Overview
359
+
360
+ | Category | Total | Complete | Verified |
361
+ |----------|-------|----------|----------|
362
+ | Usability | 0 | 0 | 0 |
363
+ | Accessibility | 0 | 0 | 0 |
364
+ | Visual | 0 | 0 | 0 |
365
+ | Technical | 0 | 0 | 0 |
366
+ | **Total** | **0** | **0** | **0** |
367
+
368
+ ---
369
+
370
+ ## Usability Requirements
371
+
372
+ | ID | Requirement | Priority | Phase | Status | Verified |
373
+ |----|-------------|----------|-------|--------|----------|
374
+ | UX-01 | | must | | pending | |
375
+
376
+ ---
377
+
378
+ ## Accessibility Requirements
379
+
380
+ | ID | Requirement | WCAG | Priority | Phase | Status | Verified |
381
+ |----|-------------|------|----------|-------|--------|----------|
382
+ | A11Y-01 | All images have alt text | 1.1.1 | must | ui | pending | |
383
+ | A11Y-02 | All interactive elements keyboard accessible | 2.1.1 | must | ux | pending | |
384
+ | A11Y-03 | Color is not only indicator | 1.4.1 | must | ui | pending | |
385
+ | A11Y-04 | Focus states visible | 2.4.7 | must | ui | pending | |
386
+ | A11Y-05 | Touch targets ≥44x44px | 2.5.5 | should | ui | pending | |
387
+ | A11Y-06 | Form inputs have labels | 1.3.1 | must | ux | pending | |
388
+
389
+ ---
390
+
391
+ ## Visual Requirements
392
+
393
+ | ID | Requirement | Priority | Phase | Status | Verified |
394
+ |----|-------------|----------|-------|--------|----------|
395
+ | VIS-01 | Follows 8px grid system | must | ui | pending | |
396
+ | VIS-02 | Clear visual hierarchy | must | ui | pending | |
397
+ | VIS-03 | Consistent spacing | must | ui | pending | |
398
+ | VIS-04 | Design tokens used | should | ui | pending | |
399
+
400
+ ---
401
+
402
+ ## Technical Requirements
403
+
404
+ | ID | Requirement | Priority | Phase | Status | Verified |
405
+ |----|-------------|----------|-------|--------|----------|
406
+ | TECH-01 | | must | | pending | |
407
+
408
+ ---
409
+
410
+ ## State Coverage Requirements
411
+
412
+ | Component | Default | Hover | Focus | Active | Disabled | Loading | Error | Empty | Success |
413
+ |-----------|---------|-------|-------|--------|----------|---------|-------|-------|---------|
414
+ | | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ | ▢ |
415
+
416
+ **Legend:** ▢ = not specified, ◐ = partial, ● = complete
417
+ ```
418
+
419
+ ### STATE.md
420
+
421
+ ```markdown
422
+ # DP Workflow State
423
+
424
+ > Last Updated: [TIMESTAMP]
425
+
426
+ ## Current Position
427
+
428
+ Phase: [0-4] of 4 ([phase_name])
429
+ Status: [not_started | ready | in_progress | completed | blocked]
430
+ Progress: [░░░░░░░░░░] 0%
431
+
432
+ ## Phase Status
433
+
434
+ | # | Phase | Status | Completed | Output |
435
+ |---|-------|--------|-----------|--------|
436
+ | 1 | Discovery | pending | — | DISCOVERY.md |
437
+ | 2 | UX | pending | — | UX-DECISIONS.md |
438
+ | 2a | Execute | pending | — | Wireframe components |
439
+ | 3 | UI | pending | — | UI-SPEC.md |
440
+ | 3a | Execute | pending | — | Polished components |
441
+ | 4 | Review | pending | — | REVIEW.md |
442
+
443
+ ## Session Continuity
444
+
445
+ ### Last Activity
446
+ - **Date:** [TIMESTAMP]
447
+ - **Action:** [What was done]
448
+ - **Phase:** [Which phase]
449
+
450
+ ### Where We Left Off
451
+ > Specific next action or decision point
452
+
453
+ ## Next Actions
454
+
455
+ 1. [ ]
456
+ 2. [ ]
457
+ 3. [ ]
458
+
459
+ ---
460
+
461
+ ## Quick Commands
462
+
463
+ - `/dp:progress` — View this state summary
464
+ - `/dp:execute` — Generate implementation
465
+ - `/dp:discuss` — Capture decisions before running a phase
466
+ - `/dp:skip` — Skip current phase
467
+ - `/dp:back` — Go back to previous phase
468
+ - `/dp:verify` — Check deliverables
469
+ ```
470
+
471
+ ## State Validation
472
+
473
+ After writing `config.json`, verify it by reading it back and checking:
474
+
475
+ 1. **JSON is valid** — `JSON.parse()` succeeds
476
+ 2. **Required fields present:**
477
+ - `version` (string)
478
+ - `project_name` (non-empty string)
479
+ - `created` (ISO 8601 timestamp)
480
+ - `workflow.current_phase` (number, 0-4)
481
+ - `workflow.phases_completed` (array)
482
+ - `workflow.workflow_status` (one of: `not_started`, `ready`, `in_progress`, `blocked`, `complete`, `gaps`)
483
+ - `phases.discovery`, `phases.ux`, `phases.ui`, `phases.review` (objects with `enabled` boolean)
484
+ 3. **Values are consistent:**
485
+ - `current_phase` matches `workflow_status` (phase 0 = `ready`, not `complete`)
486
+ - `phases_completed` is empty for a fresh project
487
+
488
+ If validation fails, fix the issue immediately before showing the success message.
489
+
490
+ ## Error Handling
491
+
492
+ - If user cancels mid-flow, don't create partial directory
493
+ - If file write fails, report error and clean up `.design/` entirely
494
+ - If a single file fails, report which file and why
495
+
496
+ ## Integration Notes
497
+
498
+ - This command creates the foundation for all other DP commands
499
+ - Skills detect `.design/config.json` to switch to workflow mode
500
+ - STATE.md is the source of truth for current position
501
+
502
+ ---
503
+
504
+ ## Workflow Navigation
505
+
506
+ | | |
507
+ |---|---|
508
+ | **This command** | `/dp:start` — Initialize design project |
509
+ | **Next step** | `/dp:discuss` — Capture known context, then `/dp:discovery` — Start discovery |
510
+ | **Check status** | `/dp:progress` — View workflow status |
@@ -0,0 +1,94 @@
1
+ ---
2
+ name: dp-storytell
3
+ description: Transform design phase output into a ready-to-deliver presentation outline for a specific audience. Cross-phase skill — can be invoked after any DP phase.
4
+ ---
5
+
6
+ # /dp:storytell — Build a Presentation
7
+
8
+ You are running the storytelling skill. Invoke the `dp-storytell` skill immediately.
9
+
10
+ ## What this command does
11
+
12
+ Packages design work (from any DP phase or pasted content) into a structured narrative for a specific audience. Produces a complete presentation outline with opening hook, narrative arc, evidence package, Q&A prep, and delivery notes.
13
+
14
+ ## Workflow
15
+
16
+ ### Step 1 — Detect workflow mode
17
+
18
+ ```bash
19
+ ls .design/config.json 2>/dev/null
20
+ ```
21
+
22
+ If found → workflow mode. Ask which phase output to build the story from:
23
+ - Discovery (`.design/phases/DISCOVERY.md`)
24
+ - PRD (`.design/phases/PRD.md`)
25
+ - Journey map (`.design/phases/JOURNEY-MAP.md`)
26
+ - Roadmap (`.design/phases/ROADMAP.md`)
27
+ - Research findings (anything under `.design/research/` — e.g., `RESEARCH-PLAN.md`, `FINDINGS-*.md`)
28
+ - UX decisions (`.design/phases/UX-DECISIONS.md`)
29
+ - UI spec (`.design/phases/UI-SPEC.md`)
30
+ - Engineering review (`.design/phases/REVIEW.md`)
31
+ - Full workflow (all artifacts)
32
+
33
+ If not found → standalone mode. Ask the user to describe or paste the content.
34
+
35
+ ### Step 2 — Gather framing
36
+
37
+ Ask:
38
+ - **Audience**: executive / peer / engineering / product / customer
39
+ - **Content type**: proposal / review / research readout / one-pager / demo / postmortem
40
+ - **Delivery mode**: live presentation / deck to read / memo / demo
41
+ - **Duration**: 5 / 15 / 30 / 60 min
42
+ - **Stakeholder starting position**: supportive / neutral / skeptical / hostile
43
+ - **Worst-case objection**: (to pre-empt in Q&A prep)
44
+
45
+ ### Step 3 — Invoke the skill
46
+
47
+ The `dp-storytell` skill drives:
48
+ - Narrative framework selection (SCR, NABC, Minto, STAR, 3-Act, Story Spine, etc.)
49
+ - Beat-by-beat outline construction
50
+ - Evidence package assembly from source artifacts
51
+ - Q&A preparation
52
+ - SUCCESs check (Simple, Unexpected, Concrete, Credible, Emotional, Story)
53
+
54
+ ### Step 4 — Write output
55
+
56
+ **Workflow mode:** writes `.design/phases/PRESENTATION-[topic].md` and updates config.json (array — multiple presentations allowed).
57
+
58
+ **Standalone mode:** outputs inline; offers to save.
59
+
60
+ ### Step 5 — Handoff
61
+
62
+ After completion, suggest:
63
+ - Review and edit the narrative arc
64
+ - Build deck/prototype/memo from the outline
65
+ - Rehearse with a trusted reviewer
66
+ - Run `/dp:storytell` again for a different audience (same source) if needed
67
+
68
+ ## When to use this command
69
+
70
+ - Pitching new design work to leadership
71
+ - Design reviews with cross-functional teams
72
+ - Research findings readouts
73
+ - Executive one-pagers
74
+ - Prototype demos (internal or external)
75
+ - Postmortems / retrospectives
76
+ - Preparing responses to design critique
77
+
78
+ ## When NOT to use this command
79
+
80
+ - Writing requirements → `/dp:prd`
81
+ - Making design decisions → `/dp:ux`, `/dp:ui`
82
+ - Sprint / standup updates — too tactical for narrative structure
83
+
84
+ ## Workflow Navigation
85
+
86
+ | | |
87
+ |---|---|
88
+ | **Cross-phase** | Invokable from any DP phase |
89
+ | **Input** | Any phase artifact (or pasted content) |
90
+ | **This** | `/dp:storytell` — build a presentation |
91
+ | **Output** | PRESENTATION-[topic].md — beat-by-beat outline + Q&A prep |
92
+ | **Related** | `/dp:research` — add evidence if thin |
93
+ | | `/dp:verify` — typical predecessor |
94
+ | | `/dp:progress` — see other presentations |