diff --git a/README.md b/README.md index eb21073..8ab4745 100644 --- a/README.md +++ b/README.md @@ -211,7 +211,7 @@ DISCOVERY directives (turn-1 form, turn-2 brand branch, TodoWrite, 5-dim critiq + active SKILL.md (19 skills available) + project metadata (kind, fidelity, speakerNotes, animations, inspiration ids) + skill side files (auto-injected pre-flight: read assets/template.html + references/*.md) - + (deck mode only) DECK_FRAMEWORK_DIRECTIVE (nav / counter / scroll / print) + + (deck kind, no skill seed) DECK_FRAMEWORK_DIRECTIVE (nav / counter / scroll / print) ``` Every layer is composable. Every layer is a file you can edit. Read [`src/prompts/system.ts`](src/prompts/system.ts) and [`src/prompts/discovery.ts`](src/prompts/discovery.ts) to see the actual contract. diff --git a/README.zh-CN.md b/README.zh-CN.md index 763c2ca..e361e8f 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -211,7 +211,7 @@ DISCOVERY 指令 (turn-1 表单、turn-2 品牌分支、TodoWrite、 + 激活的 SKILL.md (19 套备选) + 项目元数据 (kind、fidelity、speakerNotes、animations、灵感 system id) + Skill 副文件 (自动注入 pre-flight:先读 assets/template.html + references/*.md) - + (仅 deck 模式) DECK_FRAMEWORK_DIRECTIVE (nav / counter / scroll / print) + + (deck kind 且无 skill 种子时) DECK_FRAMEWORK_DIRECTIVE (nav / counter / scroll / print) ``` 每一层都可组合。每一层都是一个你能改的文件。看 [`src/prompts/system.ts`](src/prompts/system.ts) 和 [`src/prompts/discovery.ts`](src/prompts/discovery.ts) 就知道真实契约长什么样。 diff --git a/docs/assets/banner.png b/docs/assets/banner.png index 5218331..7d33daf 100644 Binary files a/docs/assets/banner.png and b/docs/assets/banner.png differ diff --git a/docs/assets/design-systems-library.png b/docs/assets/design-systems-library.png index 01fb739..eae7fd6 100644 Binary files a/docs/assets/design-systems-library.png and b/docs/assets/design-systems-library.png differ diff --git a/src/prompts/deck-framework.ts b/src/prompts/deck-framework.ts index 0045c19..e1b8928 100644 --- a/src/prompts/deck-framework.ts +++ b/src/prompts/deck-framework.ts @@ -313,6 +313,22 @@ Decks regress when each turn re-authors the scale-to-fit logic, the keyboard han **You do not write any of that. You do not modify any of that.** Your job is to fill content slots only. +## Workflow — copy framework first, then fill content + +When the user asks for slides, your TodoWrite plan **must** start with "copy the deck framework verbatim" before any content step. The intended order is: + +\`\`\` +1. Bind the active direction's palette + fonts to :root in the framework +2. Copy the canonical skeleton below as index.html (nothing else first) +3. Plan the slide arc and theme rhythm (state aloud before writing) +4. Add per-deck classes inside the second