| name | ui-prompting |
| description | Design-first UI prompting system by Meng To: turn fuzzy ideas into tight specs that produce consistent UI. Covers prompt structure, constraints, variations, typography/spacing rules, and iteration workflow. |
| metadata | {"openclaw":{"emoji":"🎨","source":"https://github.com/MengTo/Skills"}} |
Meng To's 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.
The Meng To 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.
4) Keep a private reference pack
Don't ask the model to "remember" taste. Save references into refs/... and point prompts to the reference style.
Fast iteration checklist
- 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
Tips for AI Agents
- Always ask for the single message of the screen before designing.
- Confirm hierarchy (H1 / sub / CTA) before generating layouts.
- Choose a style lane early: minimal editorial vs playful 3D vs glass UI.