1实现原理 · 为什么它能做到
仓库本体是纯 prompt/参考文档编排,无一行可执行代码:能力全部来自 SKILL.md 的路由与执行指令 + references/ 五份『运行时手册』的知识分层;像素产出交给宿主内置图像生成工具。
The Skill package contains no scripts, external fonts, API keys, private paths, or downloaded runtime assets. Image-generation quality and photo preservation still depend on the model available in the host environment.
五模式路由 + 默认走最小可完成模式:请求先被映射到 Generate(默认)/ Photo Input(Generate 子流程)/ Reference Analysis / Prompt-only / Analyze + Generate,能安全自作决定就不反问用户。
**Generate Mode — default:** theme, sentence, article, object, mood, photo, or brief → visual metaphor → prompt → generated image → inspection.
知识按需装载:style-system 每个模式必读,其余参考文件只在对应模式读取,避免无关指令稀释执行上下文。
Read `references/style-system.md` for every mode.
照片输入被规程化成『角色分类 + 保留级 + 真实传图』三段:先给每张图分配 edit target / reference image / supporting insert 角色并选 High/Medium/Low 保留级,然后把真实图像而非文字描述传给生成工具。
Pass the actual input image to the built-in image-generation tool. Use `referenced_image_paths` when every target image has a local path. Use `num_last_images_to_include` when at least one target exists only in the conversation, choosing the smallest number that includes every target, up to five. Never use both mechanisms in one call.
Prompt 编译被规程化到近可执行程度:10 项字段顺序 + 四段式正文模板 + 可填空占位符块;并禁止无约束形容词与『不具名抽象构图词』(v0.3.1 的回归修复点)。
Do not recite the field names. Write decisive image directions as four compact paragraphs.
变化引擎提供『同一视觉家族内的语法级变化』:批量输出必须换布局家族/焦点形态/字体分布等语法轴,不许只挪坐标或重复安全默认。
Change visual grammar, not only coordinates. A new recipe should alter at least layout family, focal-element form, and typography mode relative to the preceding visible output.
生成后强制过质检门:出图先按 12+ 条中心检查项自查再交付;失败授权收紧 prompt 重生成一次,二次仍失败必须明说局限而不是把残次品当成功交付。
If one of the central checks fails, revise the prompt and regenerate once.
2核心能力
4风险提醒 风险提醒:蓝色 · 知晓即可
- 输出质量上限完全取决于宿主图像模型 — skill 不含任何生成/检查能力,出图、质检、照片保留全凭宿主内置图像工具与模型(README 自述 'depend on the model available in the host environment');弱模型下『保留人物身份』『不引入图标』等承诺可能落空,SKILL.md 只授权一次收紧重生成。
- 用户媒体会上传宿主图像后端 — Photo Input 模式指示把用户原图经 referenced_image_paths / num_last_images_to_include 传给内置生成工具,照片内容进入宿主配置的图像 API 链路——属宿主既定行为但用户需在宿主侧知情(仓库无自带端点与密钥)。
- 版权/肖像合规责任在使用者 — 防照抄与保留级只是 prompt 纪律,无代码级强制;把受版权图、他人肖像或品牌用作 edit target 的合规风险由使用者和宿主承担。
- 纯 prompt 无自身安全边界 — 无沙箱、无权限声明,一切行为经宿主执行;藏在用户内容里的对抗指令由宿主模型统一处置,非本 skill 可防。样例图/长文本会被模型转述进 prompt,长文字排版不可靠(SKILL.md 自述图像模型会扭曲长文本,需 Keep it short)。
5第二遍独立确认
- [discrepancy] SKILL.md frontmatter name 与任务/仓库名一致性 — frontmatter name 为 gc-minimal-zine-poster-v0-3(callable name,README 明示向后兼容保留 v0.3 名),任务输出名/仓库名为 gc-minimal-zine-poster;指向同一 skill 无歧义,Analysis 按任务名 gc-minimal-zine-poster 入库(skill.name = 任务名,skill.path = 仓库根)。
- [ok] 全仓仅一份 SKILL.md 且位于仓库根 — git ls-files 17 项 + glob 复核:仅根 SKILL.md,无第二份 skill 清单或嵌套 SKILL.md。skill.path 记 '.'。
- [ok] 零脚本/零自有网络/零凭证/零写入 — 文件清单全为 md/yaml/json/jpeg/LICENSE;token 扫描零命中;.gitignore 中 outputs/、generated_images/ 仅预留宿主出图落盘目录,SKILL.md 无任何文件写入指令。
- [ok] 能力声明与源码相符(无夸大) — SKILL.md 逐字含 'Use the built-in image-generation capability.';README 'Image-generation quality and photo preservation still depend on the model available in the host environment.' 明示依赖宿主——生成能力不是仓库自带。
- [ok] 五模式路由 / Load-the-References 机制 — 'Route The Request'、'Load The Relevant References' 两节原文复核命中,五条参考装载指令与 references/ 五个文件一一对应。
- [ok] 照片三角色 + 三保留级 + 真实传图机制 — SKILL.md Photo Input Mode 原文复核:三角色定义、'Choose and record one preservation level' 高/中/低三段、传图二机制(referenced_image_paths / num_last_images_to_include,上限 five)均逐字存在。
- [ok] prompt-compiler 字段顺序/四段式/禁模糊词 — references/prompt-compiler.md 复核:10 项 Field Order、'Four-paragraph Prompt Shape'、'Avoid words such as `somewhere`, `minimal`, `nice`, `artistic`, or `balanced`' 均在。
- [ok] variation-engine 布局族/批量纪律 — 10 个 layout family 列表与 'For a batch of four or more, use at least three layout families.' 原文复核命中。
6结论
7eaa9676cd748aba…ddb0d66b24