|
42 | 42 | "design-assets 只提供视觉输入,不替代 UI Content、Design Spec 或 OpenSpec artifacts。" |
43 | 43 | ], |
44 | 44 | "files": [] |
| 45 | + }, |
| 46 | + { |
| 47 | + "id": "design-assets-002", |
| 48 | + "name": "scan-assets-before-generating-banner", |
| 49 | + "scenario": "asset-intent-scan", |
| 50 | + "prompt": "这张首页参考图里有一个带大标题、价格标签、CTA 按钮和右侧插画的 hero banner。帮我判断哪些素材需要生成,并准备后续生成提示词。", |
| 51 | + "context": { |
| 52 | + "files": [], |
| 53 | + "assumptions": [ |
| 54 | + "下游是 App/Web/小程序界面实现,不是最终投放海报。" |
| 55 | + ] |
| 56 | + }, |
| 57 | + "expected_output": "应先做 Asset Intent Scan,区分 banner 背景、插画、装饰层、UI 文案、按钮和图标;默认不把标题、价格、CTA 文案生成进图片,而是预留可编辑文字区。", |
| 58 | + "expected_outputs": [ |
| 59 | + "输出素材识别或素材决策表。", |
| 60 | + "明确 generation_decision、asset_boundary 和 text_policy。", |
| 61 | + "将 banner 文案、按钮和价格标签判定为可编辑 UI/运营文案。" |
| 62 | + ], |
| 63 | + "must_ask": [], |
| 64 | + "must_include": [ |
| 65 | + "Asset Intent Scan", |
| 66 | + "text_policy", |
| 67 | + "asset_boundary", |
| 68 | + "editable-text-zone" |
| 69 | + ], |
| 70 | + "must_not": [ |
| 71 | + "不得直接把整张 banner 作为带文字位图生成。", |
| 72 | + "不得把通用按钮、价格标签或 CTA 文案当作图片素材生成。", |
| 73 | + "不得跳过素材识别直接输出 Image2 prompt。" |
| 74 | + ], |
| 75 | + "quality_checks": [ |
| 76 | + "先判断哪些元素需要生成,再写生成提示词。", |
| 77 | + "Banner 默认只生成背景、插画和装饰层,文字保持可编辑。", |
| 78 | + "识别图标库、CSS/SVG、既有品牌资产和 image-object handoff 的边界。" |
| 79 | + ], |
| 80 | + "fact_source_constraints": [ |
| 81 | + "素材清单和 prompt 是设计资产输入,不替代 UI Content 或前端实现事实。" |
| 82 | + ], |
| 83 | + "files": [] |
| 84 | + }, |
| 85 | + { |
| 86 | + "id": "design-assets-003", |
| 87 | + "name": "controlled-local-improvement-prompt", |
| 88 | + "scenario": "local-image-improvement", |
| 89 | + "prompt": "基于这张已选参考图,把 hero 右侧背景补得更丰富一点,保持布局和文字区不变,不要生成新文案。", |
| 90 | + "context": { |
| 91 | + "files": [], |
| 92 | + "assumptions": [ |
| 93 | + "用户要的是松散范围的视觉增强,不是精确抠图、mask 修边或背景修补。" |
| 94 | + ] |
| 95 | + }, |
| 96 | + "expected_output": "应先理解用户意图,整理受控局部内容优化 prompt,明确 scope、preserve、modify、avoid 和 text_policy;可驱动 Image2 生成候选,但应标注没有 mask/bbox 时属于松散范围候选。", |
| 97 | + "expected_outputs": [ |
| 98 | + "提炼用户意图摘要。", |
| 99 | + "明确只优化 hero 右侧背景或氛围层。", |
| 100 | + "保留布局、文字区、品牌和未授权区域。", |
| 101 | + "说明需要精确 mask 时应交给 image-object。" |
| 102 | + ], |
| 103 | + "must_ask": [], |
| 104 | + "must_include": [ |
| 105 | + "用户意图摘要", |
| 106 | + "局部范围", |
| 107 | + "必须保持", |
| 108 | + "text_policy", |
| 109 | + "Image2" |
| 110 | + ], |
| 111 | + "must_not": [ |
| 112 | + "不得要求模型重设计整张图。", |
| 113 | + "不得新增文字、Logo、水印或 CTA 文案。", |
| 114 | + "不得把精确对象边缘修复留在 design-assets 中执行。" |
| 115 | + ], |
| 116 | + "quality_checks": [ |
| 117 | + "把局部优化和 image-object handoff 分流清楚。", |
| 118 | + "Prompt 先写保留项,再写修改项和禁止项。", |
| 119 | + "输出新候选,不覆盖源图。" |
| 120 | + ], |
| 121 | + "fact_source_constraints": [ |
| 122 | + "局部优化候选必须记录来源、scope 和风险;不是最终实现事实。" |
| 123 | + ], |
| 124 | + "files": [] |
45 | 125 | } |
46 | 126 | ] |
47 | 127 | } |
0 commit comments