image2-prompt-pack

Used when a user asks to convert a PRD, OpenSpec change, or product idea into a structured GPT Image 2 UI prompt pack to generate high-fidelity flat UI reference images; outputs prompt materials, UI type decisions, variants, negative prompts, and a reference selection checklist; does not generate frontend code.

Last repository push
GitHub Stars
145
Forks
9
Issues / PRs
0

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "image2-prompt-pack" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f4f68c463227382b9814583908f60fb45f3ed76bc1dc635ee6ee417949781d3b. Verify the upstream source and version against https://github.com/Jason904/ui-skill-lab before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Used when a user asks to convert a PRD, OpenSpec change, or product idea into a structured GPT Image 2 UI prompt pack to generate high-fidelity flat UI reference images; outputs prompt materials, UI type decisions, variants, negative prompts, and a reference selection checklist; does not generate frontend code.

0 Downloads

Introduction source: third_party · Jason904 · 0.0.1 Reference

SkillPi interpretation

Tasks
Create a structured GPT Image 2 prompt pack from PRD or OpenSpec inputs.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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

Current listing version

0.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Areas to improve

  • description写错位置 Reported severity: Minor

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

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

Highlights

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

Highlights

  • Trigger Conditions 覆盖多种合理用户表达变体
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards95/100

Areas to improve

  • 文档过长 Reported severity: Minor

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

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

Highlights

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

Highlights

  • Source of Truth 层级清晰,优先级明确
  • 引用文件列表完整,支持可靠执行
  • 异常处理机制合理(如 review-required 标记)
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.