@xenonbyte/da-vinci-workflow 0.1.5 → 0.1.7

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/CHANGELOG.md ADDED
@@ -0,0 +1,53 @@
1
+ # Changelog
2
+
3
+ ## Unreleased
4
+
5
+ - No unreleased changes yet.
6
+
7
+ ## v0.1.7 - 2026-03-27
8
+
9
+ ### Changed
10
+ - Chinese companion docs are now intentionally limited to `README.zh-CN.md` and `docs/zh-CN/`
11
+ - `.npmrc` and `openspec/` are now local-only and no longer tracked or shipped in the npm package
12
+ - asset validation now checks only shipped repository assets
13
+
14
+ ### Removed
15
+ - Chinese mirror docs for commands, references, examples, and changelog
16
+ - OpenSpec planning artifacts from version control and npm packaging
17
+
18
+ ## v0.1.6 - 2026-03-27
19
+
20
+ ### Added
21
+ - prompt-entry helper routes for `intake`, `prompt`, and `continue` across Codex, Claude, and Gemini
22
+ - `references/prompt-recipes.md` and `docs/prompt-entrypoints.md` to document how those entry routes should be used
23
+ - Chinese companion documents for the repository documentation set
24
+
25
+ ### Changed
26
+ - README, SKILL, workflow examples, mode use cases, and platform adapter documentation now explain when to use prompt-entry helpers
27
+ - installation and asset validation now include the new route files
28
+ - asset validation now covers the full `examples/` and `openspec/` documentation sets, and `openspec/` is now included in the npm package
29
+
30
+ ## v0.1.5 - 2026-03-27
31
+
32
+ ### Fixed
33
+ - `da-vinci status` now validates full installed asset sets for Codex, Claude, and Gemini instead of relying on sentinel files that could miss partial installs
34
+
35
+ ### Changed
36
+ - Claude and Gemini command adapters now use self-contained Da Vinci workflow wording after installation instead of referring to unavailable local skill/reference files
37
+ - README release notes now reflect the current install integrity work and next release priorities
38
+
39
+ ## v0.1.4 - 2026-03-27
40
+
41
+ ### Added
42
+ - redesign-from-code spec partitioning rules for broad UI refreshes
43
+ - redesign-slice guidance for `shared-shell`, `core-pages`, `settings-and-secondary`, `admin-or-restricted`, and `reference-gap-pages`
44
+
45
+ ### Changed
46
+ - `redesign-from-code` now prefers multiple `specs/<slice>/spec.md` files over one oversized `ui-refresh/spec.md` when the refresh spans multiple implementation boundaries
47
+ - `spec checkpoint` now checks whether a redesign spec is too coarse
48
+ - `task checkpoint` now checks whether top-level task groups map cleanly to redesign spec slices
49
+ - `workflow-examples.md` and `mode-use-cases.md` now reflect slice-based spec planning for broad redesign work
50
+
51
+ ### Notes
52
+ - This release keeps `DA-VINCI.md` as the project-level visual contract at the repository root
53
+ - Workflow artifacts remain under `.da-vinci/`, with change-specific artifacts under `.da-vinci/changes/<change-id>/`
package/README.md CHANGED
@@ -25,14 +25,18 @@ This workflow is intended for:
25
25
 
26
26
  ## Current release
27
27
 
28
- Current npm release target:
28
+ Latest published npm package:
29
29
 
30
- - `@xenonbyte/da-vinci-workflow@0.1.5`
30
+ - `@xenonbyte/da-vinci-workflow@0.1.7`
31
31
 
32
32
  Release highlights:
33
33
 
34
+ - prompt-entry helper routes for `intake`, `prompt`, and `continue` are now published across Codex, Claude, and Gemini
35
+ - Chinese companion docs are now intentionally limited to `README.zh-CN.md` and `docs/zh-CN/`
36
+ - asset validation now covers the full shipped documentation set
34
37
  - `da-vinci status` now validates full installed asset sets across Codex, Claude, and Gemini
35
38
  - Claude and Gemini command adapters now use self-contained workflow wording after installation
39
+ - `.npmrc` and `openspec/` are kept local-only and are no longer versioned or shipped in the npm package
36
40
  - Node-first install, uninstall, status, and asset validation commands remain the supported distribution path
37
41
  - repo-local forward-test example for a `greenfield-spec` workflow remains included
38
42
 
@@ -56,6 +60,26 @@ Use when an existing project already has routes, pages, and UI, and the goal is
56
60
 
57
61
  Use when an existing product needs a scoped requirement change, page addition, or page update.
58
62
 
63
+ ## Prompt entry helpers
64
+
65
+ Use these routes when you know you need Da Vinci but do not want to hand-write the first workflow prompt.
66
+
67
+ - `intake`: choose the correct mode and generate the best executable first prompt
68
+ - `prompt`: generate scenario-specific prompts directly
69
+ - `continue`: inspect existing artifacts and generate the best continuation prompt
70
+
71
+ Default intent:
72
+
73
+ - use `intake` for complex existing-project redesigns or whenever the first prompt is hard to phrase
74
+ - use `continue` after `.da-vinci/` artifacts already exist and the workflow needs to resume
75
+ - use `prompt` when the mode is already known and you only want copy-ready prompt text
76
+
77
+ Route discipline:
78
+
79
+ - `intake` and `continue` should usually generate a main `$da-vinci ...` or `/da-vinci ...` prompt
80
+ - they should not default the user into `build`
81
+ - `build` remains a direct expert route for workflows that are already implementation-ready
82
+
59
83
  ## Core workflow
60
84
 
61
85
  Da Vinci runs in this order:
@@ -272,6 +296,14 @@ Preferred:
272
296
  $da-vinci <request>
273
297
  ```
274
298
 
299
+ Entry helpers:
300
+
301
+ ```text
302
+ /prompts:dv-intake
303
+ /prompts:dv-prompt
304
+ /prompts:dv-continue
305
+ ```
306
+
275
307
  ### Claude
276
308
 
277
309
  Preferred:
@@ -280,6 +312,14 @@ Preferred:
280
312
  /da-vinci <request>
281
313
  ```
282
314
 
315
+ Entry helpers:
316
+
317
+ ```text
318
+ /dv:intake
319
+ /dv:prompt
320
+ /dv:continue
321
+ ```
322
+
283
323
  ### Gemini
284
324
 
285
325
  Preferred:
@@ -288,6 +328,14 @@ Preferred:
288
328
  /da-vinci <request>
289
329
  ```
290
330
 
331
+ Entry helpers:
332
+
333
+ ```text
334
+ /dv:intake
335
+ /dv:prompt
336
+ /dv:continue
337
+ ```
338
+
291
339
  ## Repo-local forward test
292
340
 
293
341
  A complete repo-local forward test is available at:
@@ -331,26 +379,48 @@ $da-vinci use redesign-from-code to inventory the existing app, identify current
331
379
  $da-vinci use feature-change to add a billing page, generate the relevant Pencil design delta, and create implementation tasks
332
380
  ```
333
381
 
382
+ ### Prompt intake for a complex redesign
383
+
384
+ ```text
385
+ /dv:intake I need to globally replace the UI of an existing Android project. Existing code is the behavior source of truth. HTML references are in /abs/path/to/mockups.
386
+ ```
387
+
388
+ ### Continue after inventory and spec work
389
+
390
+ ```text
391
+ /dv:continue Continue this redesign-from-code workflow into full-delivery using the existing Da Vinci artifacts.
392
+ ```
393
+
334
394
  ## Workflow examples
335
395
 
336
396
  See:
337
397
 
398
+ - `docs/prompt-entrypoints.md`
338
399
  - `docs/workflow-examples.md`
339
400
  - `docs/mode-use-cases.md`
340
401
 
402
+ ## Chinese documentation
403
+
404
+ Chinese companion documents are included in this repository:
405
+
406
+ - `README.zh-CN.md`
407
+ - `docs/zh-CN/`
408
+
341
409
  ## Repository layout
342
410
 
343
411
  ```text
344
412
  da-vinci/
345
413
  ├── SKILL.md
414
+ ├── README.zh-CN.md
346
415
  ├── agents/
347
416
  │ └── openai.yaml
348
417
  ├── commands/
349
418
  │ ├── claude/
350
419
  │ ├── codex/
351
420
  │ └── gemini/
352
- ├── references/
353
- └── openspec/
421
+ ├── docs/
422
+ └── zh-CN/
423
+ └── references/
354
424
  ```
355
425
 
356
426
  ## Current status
@@ -360,7 +430,6 @@ The repository currently contains:
360
430
  - the Da Vinci skill
361
431
  - three-platform command adapters
362
432
  - workflow references
363
- - OpenSpec planning artifacts for the skill itself
364
433
  - workflow examples
365
434
 
366
435
  Next natural work for the repository:
@@ -0,0 +1,285 @@
1
+ # Da Vinci
2
+
3
+ > 中文配套文档。若与英文原文存在差异,请以 `README.md` 为准。
4
+
5
+ Da Vinci 是一个把产品需求一路推进到结构化规格、Pencil 设计、页面绑定、实现任务和最终代码的交付工作流。
6
+
7
+ 它遵循一个固定契约:
8
+
9
+ - requirements 决定 behavior
10
+ - Pencil 决定 presentation
11
+ - code 同时遵循 requirements 和 Pencil
12
+
13
+ ## Da Vinci 适合什么场景
14
+
15
+ 当一个项目需要同时把这三层对齐时,适合使用 Da Vinci:
16
+
17
+ 1. 需求拆解
18
+ 2. Pencil 支撑的 UI 设计
19
+ 3. 基于需求和设计数据的实现
20
+
21
+ 典型场景:
22
+
23
+ - 0 到 1 的产品交付
24
+ - 从 brainstorming 走向可实施产品
25
+ - 基于现有代码做全局 UI 重设计
26
+ - 在现有产品上做范围明确的 feature-change
27
+
28
+ ## 当前发布状态
29
+
30
+ 最新已发布 npm 包:
31
+
32
+ - `@xenonbyte/da-vinci-workflow@0.1.7`
33
+
34
+ 已发布版本重点:
35
+
36
+ - `intake`、`prompt`、`continue` 三个提示词入口辅助路由已随 Codex、Claude、Gemini 一起发布
37
+ - 中文配套文档现在刻意只保留 `README.zh-CN.md` 和 `docs/zh-CN/`
38
+ - 资产校验现在覆盖完整的随包文档集合
39
+ - `da-vinci status` 会校验 Codex、Claude、Gemini 的完整安装资产
40
+ - Claude 和 Gemini 安装后的命令文案已改为自洽的工作流措辞
41
+ - `.npmrc` 和 `openspec/` 现在只本地保留,不再进入版本管理和 npm 包
42
+ - 安装、卸载、状态、资产校验都通过 Node CLI 提供
43
+ - 仓库内含一个 `greenfield-spec` 的本地 forward test
44
+
45
+ ## 支持的工作流模式
46
+
47
+ Da Vinci V2 支持四种模式:
48
+
49
+ ### `greenfield-spec`
50
+
51
+ 新项目,且需求已经足够清晰,可以直接写 spec。
52
+
53
+ ### `greenfield-brainstorm`
54
+
55
+ 新项目,但输入仍然比较发散,需要先做梳理和收敛。
56
+
57
+ ### `redesign-from-code`
58
+
59
+ 已有项目,代码和行为已存在,目标是做广泛或全局的 UI 重设计。
60
+
61
+ ### `feature-change`
62
+
63
+ 已有项目,只做某个功能、页面、流程的局部修改。
64
+
65
+ ## 提示词入口辅助路由
66
+
67
+ 当你知道自己需要 Da Vinci,但不想自己手写第一条高质量提示词时,可以使用下面三类入口:
68
+
69
+ - `intake`
70
+ - 帮你判断该用哪个 mode,并生成最合适的主入口提示词
71
+ - `prompt`
72
+ - 在场景已知时,直接生成可复制执行的提示词
73
+ - `continue`
74
+ - 项目里已经有 `.da-vinci/` 工件时,帮你判断如何继续
75
+
76
+ 默认建议:
77
+
78
+ - 复杂的存量项目重设计,优先用 `intake`
79
+ - 已有工件后继续推进,优先用 `continue`
80
+ - 已经明确知道场景,只缺提示词文本时,用 `prompt`
81
+
82
+ 重要规则:
83
+
84
+ - `intake` 和 `continue` 通常应该回到主工作流入口,即 `$da-vinci ...` 或 `/da-vinci ...`
85
+ - 它们不应该默认把用户直接导向 `build`
86
+ - `build` 仍然保留,但它是给已经实现就绪的高级直接入口
87
+
88
+ ## 核心工作流顺序
89
+
90
+ Da Vinci 的默认顺序是:
91
+
92
+ 1. 选择 mode
93
+ 2. 生成正确的源工件
94
+ 3. 检测或生成 `DA-VINCI.md`
95
+ 4. 收集设计输入并登记设计源
96
+ 5. 定义或发现页面地图
97
+ 6. 创建或更新 Pencil 设计
98
+ 7. 绑定实现页面到 Pencil 页面
99
+ 8. 通过 MCP 读取 Pencil 设计数据
100
+ 9. 生成实现任务
101
+ 10. 根据 requirements 和 Pencil 数据实现代码
102
+ 11. 校验需求漂移和设计漂移
103
+
104
+ ## 默认工件
105
+
106
+ 根据不同 mode,工作流可能使用这些工件:
107
+
108
+ - `.da-vinci/changes/<change-id>/brainstorm.md`
109
+ - `.da-vinci/project-inventory.md`
110
+ - `DA-VINCI.md`
111
+ - `.da-vinci/changes/<change-id>/design-brief.md`
112
+ - `.da-vinci/design-registry.md`
113
+ - `.da-vinci/page-map.md`
114
+ - `.da-vinci/changes/<change-id>/proposal.md`
115
+ - `.da-vinci/changes/<change-id>/specs/<capability>/spec.md`
116
+ - `.da-vinci/changes/<change-id>/design.md`
117
+ - `.da-vinci/changes/<change-id>/pencil-design.md`
118
+ - `.da-vinci/changes/<change-id>/pencil-bindings.md`
119
+ - `.da-vinci/changes/<change-id>/tasks.md`
120
+ - `.da-vinci/changes/<change-id>/verification.md`
121
+
122
+ 工件含义:
123
+
124
+ - `brainstorm.md`:需求尚未稳定前的原始想法整理
125
+ - `project-inventory.md`:现有代码库里的路由、页面、UI 结构盘点
126
+ - `DA-VINCI.md`:项目级视觉契约
127
+ - `design-brief.md`:设计方向、形态、密度、品牌和限制条件
128
+ - `design-registry.md`:项目级 `.pen` 设计源登记
129
+ - `page-map.md`:页面、职责、状态和共享区域
130
+ - `proposal.md`:范围、目标、非目标和成功标准
131
+ - `spec.md`:行为、状态、边界和验收规则
132
+ - `design.md`:信息架构、页面结构和交互策略
133
+ - `pencil-design.md`:Pencil 页面、屏幕、注释和说明
134
+ - `pencil-bindings.md`:实现页面和 Pencil 页面之间的映射
135
+ - `tasks.md`:任务分组和实施顺序
136
+ - `verification.md`:覆盖度和漂移检查
137
+
138
+ ## 安装
139
+
140
+ 安装 npm 包:
141
+
142
+ ```bash
143
+ npm install -g @xenonbyte/da-vinci-workflow
144
+ ```
145
+
146
+ 安装平台资产:
147
+
148
+ ```bash
149
+ da-vinci install --platform codex,claude,gemini
150
+ ```
151
+
152
+ 常用命令:
153
+
154
+ ```bash
155
+ da-vinci status
156
+ da-vinci validate-assets
157
+ da-vinci uninstall --platform codex,claude,gemini
158
+ ```
159
+
160
+ 安装目标:
161
+
162
+ - Codex prompts:`~/.codex/prompts/`
163
+ - Codex skill:`~/.codex/skills/da-vinci/`
164
+ - Claude commands:`~/.claude/commands/`
165
+ - Gemini commands:`~/.gemini/commands/`
166
+
167
+ ## 平台使用方式
168
+
169
+ ### Codex
170
+
171
+ 主入口:
172
+
173
+ ```text
174
+ $da-vinci <request>
175
+ ```
176
+
177
+ 辅助入口:
178
+
179
+ ```text
180
+ /prompts:dv-intake
181
+ /prompts:dv-prompt
182
+ /prompts:dv-continue
183
+ ```
184
+
185
+ ### Claude
186
+
187
+ 主入口:
188
+
189
+ ```text
190
+ /da-vinci <request>
191
+ ```
192
+
193
+ 辅助入口:
194
+
195
+ ```text
196
+ /dv:intake
197
+ /dv:prompt
198
+ /dv:continue
199
+ ```
200
+
201
+ ### Gemini
202
+
203
+ 主入口:
204
+
205
+ ```text
206
+ /da-vinci <request>
207
+ ```
208
+
209
+ 辅助入口:
210
+
211
+ ```text
212
+ /dv:intake
213
+ /dv:prompt
214
+ /dv:continue
215
+ ```
216
+
217
+ ## 示例请求
218
+
219
+ ### Greenfield spec
220
+
221
+ ```text
222
+ $da-vinci use greenfield-spec to break down a new desktop software project for annotated design delivery
223
+ ```
224
+
225
+ ### Brainstorm synthesis
226
+
227
+ ```text
228
+ $da-vinci use greenfield-brainstorm to turn several product ideas into a page map, Pencil design plan, and implementation tasks
229
+ ```
230
+
231
+ ### Redesign from code
232
+
233
+ ```text
234
+ $da-vinci use redesign-from-code to inventory the existing app, identify current pages, and generate a new Pencil-backed UI plan
235
+ ```
236
+
237
+ ### Feature change
238
+
239
+ ```text
240
+ $da-vinci use feature-change to add a billing page, generate the relevant Pencil design delta, and create implementation tasks
241
+ ```
242
+
243
+ ### 复杂重设计先做 intake
244
+
245
+ ```text
246
+ /dv:intake I need to globally replace the UI of an existing Android project. Existing code is the behavior source of truth. HTML references are in /abs/path/to/mockups.
247
+ ```
248
+
249
+ ### 已有工件后继续推进
250
+
251
+ ```text
252
+ /dv:continue Continue this redesign-from-code workflow into full-delivery using the existing Da Vinci artifacts.
253
+ ```
254
+
255
+ ## 文档导航
256
+
257
+ 英文文档:
258
+
259
+ - `docs/prompt-entrypoints.md`
260
+ - `docs/workflow-examples.md`
261
+ - `docs/mode-use-cases.md`
262
+ - `references/`
263
+
264
+ 中文文档:
265
+
266
+ - `README.zh-CN.md`
267
+ - `docs/zh-CN/`
268
+
269
+ ## 仓库布局
270
+
271
+ ```text
272
+ da-vinci/
273
+ ├── SKILL.md
274
+ ├── README.md
275
+ ├── README.zh-CN.md
276
+ ├── agents/
277
+ │ └── openai.yaml
278
+ ├── commands/
279
+ │ ├── claude/
280
+ │ ├── codex/
281
+ │ └── gemini/
282
+ ├── docs/
283
+ │ └── zh-CN/
284
+ └── references/
285
+ ```
package/SKILL.md CHANGED
@@ -80,7 +80,40 @@ Canonical workflow name is `da-vinci`.
80
80
 
81
81
  - Codex preferred: `$da-vinci <request>`
82
82
  - Claude and Gemini preferred: `/da-vinci <request>` when platform adapters exist
83
- - Explicit action routes may exist later, but natural-language invocation is the default path
83
+ - Explicit action routes also exist for workflow entry help:
84
+ - Codex: `/prompts:dv-intake`, `/prompts:dv-prompt`, `/prompts:dv-continue`
85
+ - Claude and Gemini: `/dv:intake`, `/dv:prompt`, `/dv:continue`
86
+ - Natural-language invocation remains the default path
87
+
88
+ ## Prompt Entry Routes
89
+
90
+ Use these helper actions when the user needs help entering or resuming the workflow:
91
+
92
+ 1. `intake`
93
+ - use when the user describes a project situation but does not know how to phrase the best Da Vinci request
94
+ - output:
95
+ - recommended mode
96
+ - recommended delivery intent
97
+ - one primary executable workflow prompt
98
+ - one more conservative prompt when useful
99
+ - one continuation prompt when the workflow is likely to pause
100
+ - missing inputs that would materially change the result
101
+ - `intake` should usually generate a main workflow prompt, not a `build`-only prompt
102
+
103
+ 2. `prompt`
104
+ - use when the user explicitly asks for a prompt template or scenario-specific prompt
105
+ - generate one or more copy-ready prompts aligned to the stated scenario
106
+ - keep prompts operational, not generic advice
107
+
108
+ 3. `continue`
109
+ - use when workflow artifacts already exist and the user needs to resume
110
+ - inspect the current artifacts first
111
+ - output:
112
+ - detected workflow state
113
+ - gaps or blockers
114
+ - one executable continuation prompt
115
+ - do not restart discovery if the artifacts already provide enough truth
116
+ - do not default to `build` unless the project is clearly implementation-ready
84
117
 
85
118
  ## V2 Mode Selection
86
119
 
@@ -177,6 +210,7 @@ Load only the reference that matches the current step:
177
210
  - Read `references/page-mapping.md` when defining project pages, Pencil pages, and route-to-screen bindings
178
211
  - Read `references/pencil-design-to-code.md` when turning Pencil data into implementation
179
212
  - Read `references/platform-adapters.md` when guiding users on Codex, Claude, or Gemini invocation patterns
213
+ - Read `references/prompt-recipes.md` when generating intake, prompt, or continue helper outputs
180
214
 
181
215
  ## Default Artifacts
182
216
 
@@ -9,6 +9,9 @@ Platform: Claude
9
9
  Default workflow entry: `/da-vinci <request>`
10
10
 
11
11
  Available routes:
12
+ - `/dv:intake` - Turn a rough project situation into the best executable Da Vinci entry prompt.
13
+ - `/dv:prompt` - Generate scenario-specific Da Vinci prompts when the user wants prompt text directly.
14
+ - `/dv:continue` - Generate the best continuation prompt from existing Da Vinci artifacts.
12
15
  - `/dv:breakdown` - Break a product or page request into scope, flows, states, and requirements.
13
16
  - `/dv:design` - Plan or create Pencil-backed page designs from approved requirements.
14
17
  - `/dv:tasks` - Generate implementation tasks from requirements plus Pencil design coverage.
@@ -19,4 +22,6 @@ Notes:
19
22
  - Requirements decide behavior.
20
23
  - Pencil decides presentation.
21
24
  - Code must follow both.
25
+ - Use `intake` when the user needs help phrasing the first workflow request.
26
+ - Use `continue` when `.da-vinci/` artifacts already exist and the workflow must resume.
22
27
  - Keep workflow semantics shared across Codex, Claude, and Gemini.
@@ -0,0 +1,24 @@
1
+ ---
2
+ description: Generate the best continuation prompt from existing Da Vinci artifacts.
3
+ ---
4
+ # Da Vinci Continue
5
+
6
+ Use the Da Vinci workflow for this request.
7
+
8
+ Action: `continue`
9
+
10
+ Focus on:
11
+ - inspect existing workflow artifacts first
12
+ - detect the current workflow phase
13
+ - generate the best executable continuation prompt
14
+
15
+ Output should include:
16
+ - detected workflow state
17
+ - missing or weak artifacts
18
+ - one primary `/da-vinci continue ...` prompt
19
+ - one more conservative continuation prompt when useful
20
+
21
+ Route discipline:
22
+ - do not restart discovery if the current artifacts already contain enough truth
23
+ - do not default the user into `/dv:build` unless the project is clearly implementation-ready
24
+ - continuation prompts should usually target the main workflow entry so Da Vinci can resume the full state machine
@@ -0,0 +1,26 @@
1
+ ---
2
+ description: Turn a rough project situation into the best executable Da Vinci entry prompt.
3
+ ---
4
+ # Da Vinci Intake
5
+
6
+ Use the Da Vinci workflow for this request.
7
+
8
+ Action: `intake`
9
+
10
+ Focus on:
11
+ - understand the project starting point
12
+ - choose the correct workflow mode
13
+ - identify behavior truth, design truth, and delivery intent
14
+ - generate the best executable Da Vinci prompt for the next step
15
+
16
+ Output should include:
17
+ - recommended mode
18
+ - recommended delivery intent
19
+ - one primary executable `/da-vinci ...` prompt
20
+ - one more conservative prompt when useful
21
+ - one follow-up `/da-vinci continue ...` prompt when the workflow is likely to pause
22
+ - missing inputs that would materially change the result
23
+
24
+ Route discipline:
25
+ - do not default the user into `/dv:build`
26
+ - `intake` should usually produce a main workflow prompt, not a build-only prompt
@@ -0,0 +1,24 @@
1
+ ---
2
+ description: Generate scenario-specific Da Vinci prompts for a known workflow need.
3
+ ---
4
+ # Da Vinci Prompt
5
+
6
+ Use the Da Vinci workflow for this request.
7
+
8
+ Action: `prompt`
9
+
10
+ Focus on:
11
+ - generate copy-ready prompts for a known scenario
12
+ - keep the prompt operational and specific to the stated project reality
13
+
14
+ Output should include:
15
+ - one primary executable prompt
16
+ - one more conservative prompt when useful
17
+ - one continuation prompt when the scenario is likely to need a later resume step
18
+
19
+ Prompt quality rules:
20
+ - state behavior truth
21
+ - state design reference truth
22
+ - state delivery intent
23
+ - state conflict handling rules
24
+ - make state, subpage, dialog, and overlay coverage explicit when complexity is high
@@ -10,6 +10,9 @@ Codex usage model:
10
10
  - Explicit routing: `/prompts:da-vinci` and `/prompts:dv-*`
11
11
 
12
12
  Available routes:
13
+ - `/prompts:dv-intake` - Turn a rough project situation into the best executable Da Vinci entry prompt.
14
+ - `/prompts:dv-prompt` - Generate scenario-specific Da Vinci prompts when the user wants prompt text directly.
15
+ - `/prompts:dv-continue` - Generate the best continuation prompt from existing Da Vinci artifacts.
13
16
  - `/prompts:dv-breakdown` - Break a request into requirements, pages, flows, and states.
14
17
  - `/prompts:dv-design` - Plan or create Pencil-backed designs from approved requirements.
15
18
  - `/prompts:dv-tasks` - Generate implementation tasks from requirements plus Pencil.
@@ -18,6 +21,8 @@ Available routes:
18
21
 
19
22
  Important:
20
23
  - Treat `/prompts:*` as action selectors in Codex.
24
+ - Use `intake` when the user does not know how to phrase the first request.
25
+ - Use `continue` when `.da-vinci/` artifacts already exist and the workflow must resume.
21
26
  - If details are still needed after route selection, provide them in the next message.
22
27
  - Requirements decide behavior.
23
28
  - Pencil decides presentation.
@@ -0,0 +1,24 @@
1
+ ---
2
+ description: Da Vinci continuation route for Codex.
3
+ ---
4
+ # Da Vinci Continue
5
+
6
+ Use the `da-vinci` skill for this request.
7
+
8
+ Action: `continue`
9
+
10
+ Goal:
11
+ - inspect existing workflow artifacts first
12
+ - detect the current workflow phase
13
+ - generate the best executable continuation prompt
14
+
15
+ Output should include:
16
+ - detected workflow state
17
+ - missing or weak artifacts
18
+ - one primary `$da-vinci continue ...` prompt
19
+ - one more conservative continuation prompt when useful
20
+
21
+ Route discipline:
22
+ - do not restart discovery if the current artifacts already contain enough truth
23
+ - do not default the user into `/prompts:dv-build` unless the project is clearly implementation-ready
24
+ - continuation prompts should usually target the main workflow entry so Da Vinci can resume the full state machine