
Design-First UI Prompting
FreeCreate precise UI prompts from design specifications.
Free · Opens the source repo
What Design-First UI Prompting does
The Design-First UI Prompting skill is tailored for developers and designers who want to transform vague ideas into structured, actionable UI specifications. It emphasizes a design-first approach, allowing users to articulate their goals clearly and produce consistent user interfaces. By following a systematic prompt structure, users can define the project’s objectives, target audience, and success criteria, ensuring that every output aligns with the intended design vision.
This skill provides a comprehensive prompt skeleton that covers essential aspects such as layout, typography, color schemes, and constraints. By using this structured format, users can focus on the critical elements of UI design, including grid systems, text hierarchy, and visual styles. The skill also encourages iteration through a defined workflow, allowing for controlled experimentation with design variables while maintaining a coherent aesthetic.
In addition to the prompt structure, the skill outlines best practices for achieving consistency in UI outputs. It introduces concepts like the 2-pass workflow for typography, the importance of constraints, and maintaining a local reference pack to guide the design process. These strategies help mitigate common pitfalls in UI design, such as inconsistent typography or unclear messaging, leading to higher quality outputs.
Ideal for UI/UX designers and developers working on web or app interfaces, this skill streamlines the process of generating design specifications. By employing a design system mindset, users can enhance their productivity and ensure that their designs are both functional and visually appealing.
When to use it
Use this skill when you need to create detailed UI specifications for projects, ensuring clarity and consistency.
When not to use it
This skill may not be suitable for projects requiring freeform or highly creative design approaches without structured guidelines.
What you can build with it
Creating a Landing Page
Use the skill to generate a detailed prompt for a landing page, specifying the layout, typography, and color scheme.
Iterating on UI Designs
Apply the skill's iterative workflow to refine UI elements by changing one design variable at a time.
Establishing Design Constraints
Utilize the constraints feature to ensure that generated designs adhere to specific style guidelines.
How to install Design-First UI Prompting
View source1. Install with the skills CLI
npx skills add mengto/skills/design-first-ui-prompting --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by mengtoDesign-First UI Prompting Skill
This skill is for design-first prompting: turn fuzzy ideas into a tight spec that produces consistent UI.
Core principle
Prompt like a design system, not a wish.
Prompt Structure (copy/paste)
Use this skeleton, then fill the blanks.
GOAL
- What are we making? (e.g., landing page hero / onboarding / dashboard / carousel slide)
- Who is it for? (persona)
- What’s the success criteria? (clarity, conversion, vibe)
FORMAT
- Size/aspect: (e.g., 1080x1350)
- Safe margins: (e.g., 90px)
LAYOUT (wireframe in words)
- Grid: (e.g., Swiss 6-col)
- Placement: (e.g., type-left / image-right)
- Hierarchy: H1 → subhead → body → CTA
TYPE SYSTEM
- Font vibe: (e.g., Söhne / Neue Haas / SF Pro)
- Weights: (H1 700, body 400)
- Leading: (tight for H1, readable for body)
- Tracking: (micro labels wider)
COLOR + MATERIAL
- Background: (hex or description)
- Text: (white/ivory/charcoal)
- One accent only: (cyan/lime/purple)
- Texture: (subtle grain, no plastic HDR)
IMAGERY / UI STYLE
- UI style: (minimal / glass / editorial / playful 3D)
- If photo: lighting + crop + texture rules
- If 3D: materials + lighting + softness
COPY (render EXACTLY)
- Line 1:
- Line 2:
- ...
CONSTRAINTS (change 1–2 things only)
- FONT: ___
- STYLE: ___
- MODE: ___
NEGATIVE PROMPT
- No logos, no watermarks
- No extra text beyond provided lines
- No gibberish typography
Rules that improve consistency
1) Lock one “system”, then iterate with variants
- First output: nail layout + hierarchy + copy.
- Variants: change ONE variable at a time:
- angle / crop
- accent color
- card arrangement
- background tone
2) Treat typography as fragile
If the model keeps misspelling:
- Use 2-pass workflow:
- Generate without text (reserve a clean text-safe area)
- Typeset in Figma
3) Use “constraints cards”
When you want the model to obey a style:
- Add a small “Constraints” panel with explicit values.
- It anchors the output like a mini style guide.
Example:
Constraints
FONT CANELA
STYLE MINIMAL
MODE DARK
4) Keep a local reference pack
Don’t ask the model to “remember” taste.
- Save references into a gitignored local reference folder, such as
refs/... - Point prompts to the reference style
Fast iteration checklist (what to tweak)
- Spacing: margins, leading, baseline rhythm
- Contrast: background vs text
- Hierarchy: one hero line, one support line
- One accent only (don’t rainbow)
- Texture: add grain, remove smoothing
Questions to ask (when user is vague)
- What’s the single message of this screen?
- What’s the hierarchy (H1 / sub / CTA)?
- Which style lane: minimal editorial vs playful 3D vs glass UI?
- Any must-keep constraints (font vibe, color, spacing, grid)?
Frequently asked questions about Design-First UI Prompting
Similar skills
Penpot UI/UX Design
Create professional UI/UX designs in Penpot with ease.
UX Theming
Streamline your VS Code theming process with best practices.
Wireframe
Create low-fidelity UI wireframes in SVG format.
Waitlist Page
Create a clean, focused pre-launch landing page.
Hallmark
Design skill for creating unique, structured UIs.
UI Styling
Create beautiful, accessible user interfaces effortlessly.
