标准 3+1 deck:必须先逐页写 output/<deck-name>/page-content-pack.json,每页使用稳定 id 和下列完整 PageContentPack 结构;再运行 npm --prefix <skill-root>/project run goal:scaffold -- --title <title> --goal <goal> --theme <themePack> --pages <n> --layout-variants 3 --content-plan output/<deck-name>/page-content-pack.json --seed <randomSeed> --chunk-size 5 --out output/<deck-name>/goal.json。schema v2 的 3 个模板方案和 v4 定制方案必须由该 content plan 生成;没有 --content-plan 时不要使用 --layout-variants 3。
{
"pages": [{
"id": "page-1",
"presentation": {
"pageIntent": "cover",
"coreMessage": "本页唯一核心结论",
"title": {"full": "完整标题", "short": "短标题"},
"summary": {"full": "完整摘要", "short": "短摘要"},
"items": [{"id": "fact-1", "label": "指标名称", "detail": {"full": "完整说明", "short": "短说明"}, "value": 42, "displayValue": "42", "unit": "%", "required": true, "priority": "high"}],
"chartData": [{"id": "fact-1", "label": "指标名称", "value": 42, "displayValue": "42", "unit": "%"}],
"media": [{"src": "assets/example.png", "kind": "image", "type": "image/png", "alt": "图片说明"}]
}
}]
}
{
"schemaVersion": 2,
"title": "美国 AI 融资调研",
"goal": "面向投资团队汇报 2024-2026 年美国 AI 大额融资结构、资本流向和后续判断",
"audience": "投资团队 / 产业研究团队",
"owner": "研究团队",
"randomSeed": "ai-funding-20260609-a7k",
"pageCount": 1,
"themePack": "theme01",
"variantOutputMode": "comparison",
"slides": [
{
"id": "s1",
"content": {
"section": "融资调研",
"title": "美国 AI 融资调研",
"titleTop": "美国 AI",
"titleBottom": "融资调研",
"summary": "2024-2026 年大额融资结构、资本流向与后续判断",
"year": "2026",
"points": ["融资结构", "资本流向", "后续判断"]
},
"selectedVariant": "v1",
"variants": [
{"id": "v1", "kind": "template", "layout": "theme01_page001", "props": {}, "contentMap": {"kicker": "section", "titleTop": "titleTop", "titleBottom": "titleBottom", "lead": "summary"}},
{"id": "v2", "kind": "template", "layout": "theme01_page002", "props": {}, "contentMap": {"enKicker": "section", "titleTop": "titleTop", "titleBottom": "titleBottom", "subtitle": "summary"}},
{"id": "v3", "kind": "template", "layout": "theme01_page003", "props": {}, "contentMap": {"kicker": "section", "titleTop": "titleTop", "titleBottom": "titleBottom", "bigNumber": "year"}},
{
"id": "v4",
"kind": "bespoke",
"adjustable": false,
"composition": {
"designIntent": {
"objective": "快速建立调研范围",
"audience": "投资团队",
"narrativeRole": "封面定调",
"emphasis": "研究对象与决策价值",
"rationale": "用单一标题中心和三项范围提示缩短理解路径"
},
"background": "dark",
"elements": [
{"id": "title", "type": "text", "grid": {"column": 1, "row": 1, "width": 10, "height": 2}, "role": "title", "text": ""},
{"id": "scope", "type": "list", "grid": {"column": 1, "row": 4, "width": 7, "height": 3}, "items": []}
]
},
"contentMap": {"elements[0].text": "title", "elements[1].items": "points"}
}
]
}
]
}