Agent skill

Image2 Prompt Pack

by Jason904 in Jason904/ui-skill-lab

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.

MITAuto-check passedProduct & Project Management

Install Image2 Prompt Pack

skills CLI
$ npx skills add Jason904/ui-skill-lab --skill image2-prompt-pack -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Jason904/ui-skill-lab image2-prompt-pack --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Jason904/ui-skill-lab.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/image2-prompt-pack .claude/skills/image2-prompt-pack && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
image2-prompt-pack
GitHub stars
144
Token cost
~1k tokens
SKILL.md length
333 words
Files
16 (incl. references)
Skills in repo
8
Repo updated
First seen
Licence
MIT

At a glance

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.

  • Works in 6 steps: PRD / OpenSpec spec — product goal and… → User visual preference — explicit… → Technical constraints — frontend… → …
  • Asks to convert a PRD
  • SKILL.md covers Trigger Conditions, Required Input, Optional Inputs and Source of Truth, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Image2 Prompt Pack is an agent skill from Jason904/ui-skill-lab. 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.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 17 other files, including reference files (for example `README.md`, `examples/image2-negative-prompt.example.md` and `examples/image2-prompt.example.md`).

It sits in Product & Project Management, covering Image generation and PRD writing. The repository describes itself as: AI-driven UI development skill pipeline — test lab for Codex skills covering PRD-to-pixel workflow. The licence is MIT.

When your agent uses it

  • Asks to convert a PRD
  • OpenSpec change
  • Product idea into a structured GPT Image 2 UI prompt pack for generating high-fidelity flat UI reference images

Example prompts

  • “/image2-prompt-pack”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit a71b4e2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Image2 Prompt Pack loads about 1k tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 87 tokens; SKILL.md has 333 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Jason904/ui-skill-lab at commit a71b4e2, republished under its MIT licence (© Jason904). 333 words, ~1,001 tokens.

Download SKILL.mdSave it as .claude/skills/image2-prompt-pack/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.
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

text
prd.md

Optional Inputs

text
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:

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

or:

text
ui_workflow/01_prompt_pack/

with:

text
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

© Jason904, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 15 other files (references) in skills/image2-prompt-pack of Jason904/ui-skill-lab.

  • SKILL.md
  • README.md
  • examples/image2-negative-prompt.example.md
  • examples/image2-prompt.example.md
  • examples/product-context.example.md
  • examples/reference-selection-checklist.example.md
  • examples/ui-type-decision.example.md
  • examples/variant-briefs.example.md
  • references/external-skill-usage.md
  • references/negative-prompt-rules.md
  • references/output-files.md
  • references/prompt-pack-workflow.md
  • references/prompt-writing-rules.md
  • references/source-strictness-rules.md
  • references/ui-type-decision-rules.md
  • references/variant-rules.md

Open the folder on GitHubat commit a71b4e2

Compare with similar skills

Image2 Prompt Pack next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Image2 Prompt Pack compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Image2 Prompt Pack this skillJason904/ui-skill-lab144—~1kAutomated safety check: PassMIT
Rankupyan-labs/yan-skills213—~5.1kAutomated safety check: NotesMIT
Figma Design Reviewmohitagw15856/pm-claude-skills1.4k—~788Automated safety check: PassMIT
CCPM Project Managementautomazeio/ccpm8.4k—~1.1kAutomated safety check: PassMIT
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Trellis Brainstormanjiemo/SunnyBeach1787 repos~4kAutomated safety check: PassApache-2.0

Similar skills

  • Rankup

    yan-labs/yan-skills

    独立开发者的项目全生命周期管理:需求验证、选词选品、建站或做原生 App、上线接入、SEO/GEO 获客、支付变现、监控迭代与跨会话接力。以下情况使用:用户提到 rankup 或 /rankup(check、review、init;doctor 仅指整理项目 .rankup 记录);当前目录或工作区有…

    213 GitHub stars~5.1k tokensUpdated today
    Marketing & SEOAuto-check: notes
  • Figma Design Review

    mohitagw15856/pm-claude-skills

    Runs a structured PM design review against product requirements.

    1.4k GitHub stars~788 tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.

    8.4k GitHub stars~1.1k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Trellis Brainstorm

    anjiemo/SunnyBeach

    Guides collaborative requirements discovery before implementation.

    178 GitHub starsUsed in 7 repos~4k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed

More from Jason904/ui-skill-lab

All 8 skills in this repo
  • Visual To Spec

    Jason904/ui-skill-lab

    A skill your agent uses when a user provides a reference UI screenshot and asks to extract visual specs, generate design tokens, create a component tree, or produce a frontend implementation…

    144 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • UI UX Pro Max Skill

    Jason904/ui-skill-lab

    A skill your agent uses for UI/UX design intelligence in Codex: planning, building, reviewing, improving, or implementing web/mobile interfaces, landing pages, dashboards, design systems…

    144 GitHub stars~865 tokensUpdated 3 mo ago
    Auto-check passed
  • Design System Governor

    Jason904/ui-skill-lab

    This skill should be used after visual-spec-review passes and before OpenSpec UI update or frontend implementation.

    144 GitHub stars~1.2k tokensUpdated 3 mo ago
    Auto-check passed
  • Spec Compliance Review

    Jason904/ui-skill-lab

    This skill should be used after Codex implements a UI change and before visual acceptance review.

    144 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Visual Acceptance Review

    Jason904/ui-skill-lab

    This skill should be used after spec-compliance-review and before visual-diff-fix.

    144 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Visual Diff Fix

    Jason904/ui-skill-lab

    This skill should be used after visual-acceptance-review has generated fix-tasks.json.

    144 GitHub stars~978 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Image2 Prompt Pack

What does Image2 Prompt Pack do?

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. Image2 Prompt Pack is an agent skill from Jason904/ui-skill-lab. 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.

When should I use Image2 Prompt Pack?

Image2 Prompt Pack fits situations like: asks to convert a PRD; openSpec change; product idea into a structured GPT Image 2 UI prompt pack for generating high-fidelity flat UI reference images.

How do I install Image2 Prompt Pack in Claude Code?

Run `npx skills add Jason904/ui-skill-lab --skill image2-prompt-pack -a claude-code`. Or copy the skill folder (skills/image2-prompt-pack in Jason904/ui-skill-lab) into .claude/skills/image2-prompt-pack in your project. Claude Code loads it when a task matches its description.

How do I install Image2 Prompt Pack in Codex?

Run `npx skills add Jason904/ui-skill-lab --skill image2-prompt-pack -a codex`. Or copy the skill folder (skills/image2-prompt-pack in Jason904/ui-skill-lab) into .agents/skills/image2-prompt-pack in your project. Codex loads it when a task matches its description.

Can I use Image2 Prompt Pack in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Jason904/ui-skill-lab --skill image2-prompt-pack -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/image2-prompt-pack, .gemini/skills/image2-prompt-pack, .github/skills/image2-prompt-pack and .opencode/skills/image2-prompt-pack in your project.

What does Image2 Prompt Pack need to run?

SKILL.md names no scripts, command-line tools or credentials: Image2 Prompt Pack is instructions for the agent only.

Does Image2 Prompt Pack access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Image2 Prompt Pack safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Image2 Prompt Pack use?

Image2 Prompt Pack is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Image2 Prompt Pack use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3k tokens, read only when the agent opens those files.

What are the alternatives to Image2 Prompt Pack?

Skills that share tags, products or a category with Image2 Prompt Pack: Rankup (yan-labs/yan-skills, 213 stars), Figma Design Review (mohitagw15856/pm-claude-skills, 1.4k stars), CCPM Project Management (automazeio/ccpm, 8.4k stars) and Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Image2 Prompt Pack?

Jason904 (a GitHub user) maintains it in Jason904/ui-skill-lab, which has 144 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on June 29, 2026.

Source: Jason904/ui-skill-lab on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.