ui-design-to-image
Generate or edit UI concept images and frontend raster assets from a scoped design brief, using native imagegen or an explicitly chosen baoyu-image-gen backend.
Skill by full-stack-skills
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/full-stack-skills-ui-design-to-image
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, backend, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ui-design-to-image
What's inside
- Skill name
ui-design-to-image- Description
- Generate or edit UI concept images and frontend raster assets from a scoped design brief, using native imagegen or an explicitly chosen baoyu-image-gen backend. Use for screen mockups, visual variants, hero art and scoped image corrections; exact UI screenshots come from rendering the real frontend.
- License
- Apache-2.0
- Compatibility
- Requires an available image-generation tool or an explicitly configured image-generation skill. API and CLI paths have provider-specific credentials and dependencies; design briefing alone has no image-provider dependency.
- Instructions
- 85 lines in SKILL.md · view on GitHub
Files (7)
- LICENSE.txt
- SKILL.md
- openai.yaml · agents/
- ui-image-prompt.md · assets/
- backends.md · references/
- image-contract.md · references/
- sources.md · references/
SKILL.md (first lines)
# UI Design to Image ## When to use this skill Create UI concept bitmaps, page-direction images, illustrations, hero assets or edits from an existing design contract. This skill owns the image production step, not product behavior, navigation, theme selection, user approval or frontend implementation. For exact screenshots, editable layouts, semantic controls or functioning pages, render the actual HTML/CSS/application through the existing frontend workflow. Do not substitute a generated screenshot for runtime evidence. For an established SVG/icon system, prefer its editable source unless a generated bitmap is explicitly requested. ## How to use this skill ### 1. Resolve the brief Read the existing page/task, feature and navigation contracts, selected theme and continuity brief. Preserve their IDs, versions and authority. A clear standalone visual request may use a compact brief without starting Harness or a specification package. Identify: - intent: new concept, reference-guided concept, image edit, or project raster asset; - target page/Surface or asset role, requested count and destination; - exact visible text, hierarchy, component regions and design tokens; - requested viewport and the provider's actual output dimensions; - reference roles: edit target, approved visual baseline, style reference or supporting insert; - mutable regions, frozen decisions and known limits. Default project viewports, unless the existing contract differs: Mobile 390×884, Tablet 768×1024, Desktop 1280×1024. These are frontend logical viewports, not a claim that an image tool accepts those exact raster sizes. State any size or aspect-ratio approximation; never stretch an image or invent CSS-pixel verification. For inherited or correction work, inspect the actual reference image and verify its approved scope. A screenshot cannot override the product or navigation contract. Missing required references block that edit; do not silently reconstruct them from prose. Use [references/image-contract.md](references/image-contract.md) when a structured handoff or recorded receipt is needed. ### 2. Select an available backend Discover capabilities in the current runtime; a model name, installed skill name or login alone does not prove an image tool is callable. - In Codex, use the available native image-generation tool and current `imagegen` instructions by default. Do not require an OpenAI API key for this path. - A user-selected provider, API, CLI or baoyu workflow routes to the actually available `baoyu-image-gen` or approved imagegen CLI. Resolve its installed directory; read its current instructions and use its maintained scripts. - If native image generation fails or is absent, describe the available alternative. Switch to a paid API, another provider or model only when that route is already authorized or the user chooses it. - For text-only preparation, produce a prompt and brief and label the image as not generated. Do not fabricate an image, receipt or tool invocation. Read [references/backends.md](references/backends.md) for provider setup, credentials, references, batching and fallback boundaries. Do not install dependencies, initialize provider preferences or edit host credentials merely because this skill is selected. ### 3. Prepare and generate Use [assets/ui-image-prompt.md](assets/ui-image-prompt.md) as an optional compact prompt shape. Keep confirmed requirements separate from visual proposals. Include quoted visible text, layout regions, theme, reference identities, change budget and exclusions. Do not add unrelated business functions, branding or promotional watermarks. For edits, describe one scoped change and the invariants. Pass the real edit target through the backend's supported mechanism. References described only in text are not image-conditioned generation. Report that difference. A request for several assets does not force CLI mode: native tools can be called once per requested asset. Use baoyu batch execution when the user chose that backend and prompts are ready. Sequential work is valid; this skill never implies permission to spawn agents or exceed the requested output count. Let one layer own retries. Follow the chosen backend's documented bounded retry behavior; do not wrap it in another automatic retry loop. Authentication, unsupported input and configuration failures need correction, not repeated generation. For a timeout with unknown outcome, inspect existing outputs/request state first; do not submit a second possibly billable generation blindly. ### 4. Inspect and hand off Inspect the returned image for visual hierarchy, required text, navigation identity, approved shell/theme, scoped changes and unintended content. A generated reference edit cannot promise pixel-identical frozen regions: any drift must be reported and reviewed. For project assets, copy the selected output to the requested project location using a versioned name unless replacement was authorized. Preserve original references. Verify file existence and record dimensions and hash when available. Never claim alpha transparency or exact text fidelity without inspecting the actual file. If only inline output or a remote link is available, record that limitation instead of inventing a local path. Compare Mobile/Tablet/Desktop as separately designed layouts when requested, not as three scaled copies. Transparent bitmap requests need actual alpha support; changing provider/model to obtain it requires the corresponding authorization. Exact typography and UI geometry may require a frontend-rendered artifact instead. Inside an existing Harness dispatch, keep its `run_id`, `dispatch_id`, expected stage and input versions. Return the bounded image artifact and provider evidence to the caller. Do not create a second run or directly mark approval. `ui-design-review` owns cross-artifact findings; Harness owns reconciliation, invalidation and promotion. These skills are optional for standalone use: if unavailable, return the brief, artifact and limitations without claiming their checks ran. ## Output contract Return the brief/task identity, selected backend and actual tool, model only if exposed, reference roles and how they were passed, prompt, requested versus observed size, actual artifacts, checks performed, failures/unknowns and next scoped action. Separate four claims: generated, inspected, visually approved and runtime verified. Image generation proves none of the last three by itself. Map evidence to an existing Harness packet only through its documented contract; do not treat the image receipt as a new state machine. ## Best Practices - Follow explicit user backend choices and preserve prior authorization. - Native generation uses host entitlement; API credentials and Codex login are different. - Never put keys in prompts, chat, committed manifests or output receipts. - No unconditional generation at SessionStart or on unrelated edits. - Preserve original assets, approved scope and source provenance. ## References - [Backend selection](references/backends.md): read before choosing a non-native route or handling missing capabilities. - [Image brief and receipt](references/image-contract.md): read for repeatable delivery, traceability or Harness handoffs. - [Prompt shape](assets/ui-image-prompt.md): use only fields relevant to the task. - [Source notes](references/sources.md): maintenance provenance and integration boundaries. ## Keywords UI mockup, design to image, frontend raster asset, reference image, imagegen, baoyu-image-gen, 界面设计图, 页面生图, UI 素材, 局部改图
From full-stack-skills/design-skills, Apache-2.0.
More from full-stack-skills/design-skills
- 0.570score
ui-design-nav
full-stack-skills
Use when menus, tabs, routes, deep links, return behavior, or active states are drifting across pages, especially when fixed navigation and page-local views…
SkillAFreshness: AClaude Code +9 - 0.570score
remotion
full-stack-skills
Best practices and domain knowledge for building videos programmatically with Remotion (videos in React/TypeScript, rendered to MP4).
SkillAFreshness: AClaude Code +9 - 0.570score
ui-design-review
full-stack-skills
Use when product specs, navigation registries, page tasks, prompts, mockups, manifests, or verification evidence may have drifted and a cross-artifact…
SkillAFreshness: AClaude Code +9 - 0.570score
ui-design-spec
full-stack-skills
Use when planning product or feature UI, filling page and interaction gaps, or continuing design tasks.
SkillAFreshness: AClaude Code +9 - 0.570score
ui-design-feature
full-stack-skills
Use when a product feature is underspecified, when UI work is starting before actions/states/permissions/evidence are defined, or when an existing feature…
SkillAFreshness: AClaude Code +9 - 0.567score
ui-design-visual
full-stack-skills
Create HTML UI prototypes and visual artifacts from a scoped specification, theme and continuity brief.
SkillAFreshness: AClaude Code +9 - 0.567score
ui-design-harness
full-stack-skills
Use to execute a selected ui-design-spec workflow or resume an existing design run with persistent progress, specialist dispatch, recovery, retries and…
SkillAFreshness: AClaude Code +9 - 0.567score
ui-design-continuity
full-stack-skills
Define pre-render constraints for first-page design, inheritance from an approved UI baseline, or scoped correction.
SkillAFreshness: AClaude Code +9 - 0.567score
cross-platform-mvp-ui-alignment
full-stack-skills
对齐 Android、Apple 等多平台 MVP 规格、功能状态、设计语言与 Phone/Tablet 成套 UI 资产。适用于已有规格或图稿发生平台分叉、页面覆盖不一致、需要建立共享页面矩阵和可审查视觉基线的产品设计工作;不用于直接实现原生客户端代码。
SkillAFreshness: AClaude Code +9 - 0.567score
product-interface-spec
full-stack-skills
按固定模式整理详细功能设计计划:全产品盘点、功能总表与逐模块详规、导航与逐页结构、用户旅程与逐操作转换、Surface Registry、可交接的计划任务。用于功能清单整理、交互流程梳理、界面结构规划、产品设计计划和已有规格接续;要求功能完整、流程清晰、页面结构明确,避免几个界面拼凑。内置真实成果摘录、贯穿案例、固定…
SkillAFreshness: AClaude Code +9 - 0.567score
ui-design-preview
full-stack-skills
Build runnable local UI previews with synchronized page/theme switching and fixed device viewports.
SkillAFreshness: AClaude Code +9 - 0.565score
adobe-xd
full-stack-skills
Provides comprehensive guidance for Adobe XD including design creation, prototyping, components, and collaboration.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Oct 3, 2026 (25 days ago)
- Last release
- Oct 5, 2026 (23 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from full-stack-skills
- 0.604score
spring-boot
full-stack-skills
Provides comprehensive guidance for Spring Boot development including project creation, auto-configuration, dependency injection, web development, data…
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-data-jpa
full-stack-skills
Provides comprehensive guidance for Spring Data JPA including repositories, entity management, query methods, and database operations.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-ai-alibaba
full-stack-skills
Provides comprehensive guidance for Spring AI Alibaba including Alibaba Cloud AI services integration, model APIs, and AI application development.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-cloud-alibaba
full-stack-skills
Provides comprehensive guidance for Spring Cloud Alibaba including Nacos, Sentinel, RocketMQ, and Alibaba Cloud integration.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-ai
full-stack-skills
Provides comprehensive guidance for Spring AI including AI model integration, prompt templates, vector stores, and AI applications.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
spring-cloud
full-stack-skills
Provides comprehensive guidance for Spring Cloud microservices including service discovery, configuration management, load balancing, circuit breakers, API…
SkillAFreshness: A★ 3Claude Code +9
Cite this page
ui-design-to-image skill. Agent Mart. https://agentmart.dev/skills/full-stack-skills-ui-design-to-image (last updated 2026-10-24)