Complete the high-level direction discussion, plot design, and material transformation of the narrative design phase, and produce the cross-skill handoff artifact design-spec.md(tavern-design writes the narrative design section, tavern-ui appends the UI section during the UI development phase, and tavern-cards consumes it).
Applicable Scenarios
| Scenario | Process |
|---|---|
| Create a complete project from scratch | Ask for the project name → create cards/{Project}/ → high-level direction discussion + plot design → produce design-spec.md → user confirmation |
| Transform from existing material | Ask for the project name → first discuss content not covered by the material and the focus of transformation → transform (narrative material produces 故事大纲.yaml) → combine the results to complete design-spec.md → user confirmation |
| Only do narrative design / high-level direction discussion | Same as above, produce design-spec.md and that is enough |
| Modify the narrative direction of an existing character card | Read the existing design-spec.md and creation plan, discuss the modification points, update design-spec.md then return to tavern-cards |
Process
1. Create the project directory
Ask the user for the project name, create the cards/{Project}/ directory. Subsequent design-spec.md and transformation results are saved here.
2. High-level direction discussion
Discuss according to the seven dimensions of references/design-guide.md :
- Project positioning
- Worldview concept
- Character concept
- Interaction and dynamic requirements
- Creation direction
- Opening concept
- SFW / NSFW
For complex plots, additionally discuss exposure timing and control strategies. Faithfully record the user's ideas during the discussion; do not guess or make decisions on the user's behalf.
3. Material transformation (when creating from material)
- First discuss content not covered by the material and the focus of transformation
- Execute the
references/conversion.mdprocess; narrative material producescards/{Project}/故事大纲.yaml, structured material can be directly distilled - Combine the transformation results to complete
design-spec.md
Skip this step when creating from scratch.
4. Produce design-spec.md
Organize the results of the high-level direction discussion into cards/{Project}/design-spec.md. For format suggestions see references/design-guide.md。
5. User confirmation
Show design-spec.md and pause to wait for user confirmation. After the user confirms, inform the user that it can next be handed to tavern-cards for project creation and creation planning.
Sub-agent
When invoked, the Agent harness injects the task; the main agent carries the parameters in the "Input" column of the table below in the task string, and handles the return according to the "Output" column of the table below.
| Sub-agent | Function | Input | Output |
|---|---|---|---|
| conversion-agent | Material transformation sharded processing | Source file path, line range, output path; preceding outline fragment path (if any) | Write to the output path according to the specification, and run scripts/validate-conversion-outline.mjs to self-verify the fragment; additionally return missing_names for the main agent to merge |
For the connection between long-text sharded invocation and merging, see references/conversion.md、references/conversion/outline.md。
Technical detail boundaries
design-spec.md Only record the general direction; technical details such as MVU/EJS, typeLists, avatars, UI modes, variable structures, and entry-level planning are handled by the tavern-cards project creation steps.
Reference materials
This index is the references/ authoritative source for the document list.
references/
├── design-guide.md —— 大方向讨论指导与 design-spec.md 格式
├── conversion.md —— 从材料转化流程(主文档)
└── conversion/
├── outline.md —— 大纲构建指导(长文本处理、分卷、子代理分配)
├── outline-spec.md —— 大纲规范(信息分类、记录原则、行号规范)
├── validation.md —— 转化大纲验证脚本使用说明
├── assessment.md —— 材料类型评估标准
├── source-chapters.md —— source_chapters 标注标准
├── key-info.md —— 关键信息确认流程
└── error-handling.md —— 转化错误处理(材料矛盾、信息缺失、转化失败)
Tool scripts:
scripts/validate-conversion-outline.mjs: validates the YAML structure, chapter references, placeholders, and authenticity of source quotations in the story outline. For usage instructions, seereferences/conversion/validation.md。