image2-prompt-pack

在用户要求将 PRD、OpenSpec 变更或产品创意转化为结构化的 GPT Image 2 UI 提示包以生成高保真平面 UI 参考图时使用,输出提示材料、UI 类型决策、变体、负面提示及参考选择清单;不生成前端代码。

仓库最近推送
GitHub Stars
145
Forks
9
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "image2-prompt-pack":https://skillpi.com/zh/skills/deepskill-f4f68c463227382b9814583908f60fb45f3ed76bc1dc635ee6ee417949781d3b。安装前核对上游来源和版本:https://github.com/Jason904/ui-skill-lab。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

在用户要求将 PRD、OpenSpec 变更或产品创意转化为结构化的 GPT Image 2 UI 提示包以生成高保真平面 UI 参考图时使用,输出提示材料、UI 类型决策、变体、负面提示及参考选择清单;不生成前端代码。

0 下载

介绍来源: third_party · Jason904 · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: image2-prompt-pack
description: |
  This skill should be used when the user asks to convert a PRD,
  OpenSpec change, or product idea into a structured GPT Image 2 UI
  prompt pack for generating high-fidelity flat UI reference images.
  It produces prompt materials, UI type decisions, variants, negative
  prompts, and reference selection checklists, not frontend code.

argument-hint: "[prd-file-or-change-name]"

Version: 2.0.0

image2-prompt-pack

Create a structured GPT Image 2 prompt pack from PRD or OpenSpec inputs.

This skill prepares materials for generating a UI reference image. It does not implement UI, extract visual specs from screenshots, or build the final design system.

Trigger Conditions

Use this skill when the user asks to:

  • generate GPT Image 2 prompts from a PRD
  • create UI image prompt materials
  • convert OpenSpec change into reference image prompts
  • prepare prompt pack for UI screenshot generation
  • generate variants for a UI reference image
  • standardize image generation inputs before visual-to-spec

Required Input

prd.md

Optional Inputs

openspec/changes/<change>/proposal.md
openspec/changes/<change>/specs/**/spec.md
openspec/changes/<change>/design.md
openspec/changes/<change>/tasks.md
brand.md
visual-preferences.md
technical-constraints.md
ui-ux-pro-max output
frontend-design output

Source of Truth

  1. PRD / OpenSpec spec — product goal and user-visible behavior
  2. User visual preference — explicit direction from the user
  3. Technical constraints — frontend feasibility and platform constraints
  4. ui-ux-pro-max — weak design/UX reference only
  5. frontend-design — anti-generic reference only
  6. Skill inference — fallback, must be labeled

Main Workflow

  1. Read PRD and optional OpenSpec files.
  2. Extract product context.
  3. Extract page objective.
  4. Decide UI Type and Layout Paradigm.
  5. Identify required business modules.
  6. Generate visual direction.
  7. Generate layout requirements.
  8. Generate component requirements.
  9. Generate style token seed.
  10. Generate main GPT Image 2 prompt.
  11. Generate negative prompt.
  12. Generate 3-4 variant briefs.
  13. Generate reference selection checklist.
  14. Generate prompt pack summary.

Hard Rules

  • Do not write frontend code.
  • Do not generate final tokens.json.
  • Do not replace visual-to-spec.
  • Do not default every product to dashboard.
  • Always create ui-type-decision.md.
  • Always create reference-selection-checklist.md.
  • Always create image2-negative-prompt.md.
  • Always make the UI image frontend-implementable.
  • Always specify flat UI screenshot unless the chosen UI type explicitly requires scene-led image generation.
  • Do not produce marketing poster prompts unless the PRD is truly for a landing/marketing page.
  • Do not produce 3D device mockups.
  • Do not allow ui-ux-pro-max to override PRD or user constraints.
  • If UI type is uncertain, mark it review-required.

Output

Write to:

openspec/changes/<change>/ui/01_prompt_pack/

or:

ui_workflow/01_prompt_pack/

with:

product-context.md
page-objective.md
ui-type-decision.md
visual-direction.md
layout-requirements.md
component-requirements.md
style-tokens-seed.md
image2-prompt.md
image2-negative-prompt.md
variant-briefs.md
reference-selection-checklist.md
prompt-pack-summary.md

Supporting Files

Read these references directly:

  • references/prompt-pack-workflow.md
  • references/ui-type-decision-rules.md
  • references/output-files.md
  • references/prompt-writing-rules.md
  • references/negative-prompt-rules.md
  • references/variant-rules.md
  • references/external-skill-usage.md
  • references/source-strictness-rules.md

Examples:

  • examples/product-context.example.md
  • examples/ui-type-decision.example.md
  • examples/image2-prompt.example.md
  • examples/image2-negative-prompt.example.md
  • examples/variant-briefs.example.md
  • examples/reference-selection-checklist.example.md

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值78/100

待提升项

  • description写错位置 原报告严重程度:轻微

    顶层 frontmatter 中 description 为空,实质描述内容位于 skill_body 内部。

    改进建议:建议将 description 内容移至顶层 frontmatter 的 description 字段,以符合规范。

亮点

  • 解决将 PRD/OpenSpec 转化为标准化 GPT Image 2 UI 提示包的明确需求
  • 适用于产品经理、设计师等角色,提升 UI 参考图生成效率
触发精准92/100

亮点

  • Trigger Conditions 覆盖多种合理用户表达变体
  • 边界清晰,不易与其他 Skill 重叠
结构规范95/100

待提升项

  • 文档过长 原报告严重程度:轻微

    skill_body 内容较为详尽,可能影响快速浏览。

    改进建议:建议适当精简或增加目录结构以提升可读性。

亮点

  • Main Workflow 步骤清晰完整(14步)
  • Hard Rules 明确出口条件与约束
  • 提供完整示例文件列表
执行可靠88/100

亮点

  • Source of Truth 层级清晰,优先级明确
  • 引用文件列表完整,支持可靠执行
  • 异常处理机制合理(如 review-required 标记)
证据可验 (前四项均值)88/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。