Turn a vague screen request into a short design spec before designing or generating UI - goal, user, primary action, layout and hierarchy, states, accessibility and constraints - and iterate one variable at a time. Use when a screen or UI request is fuzzy, or before asking a model to generate a screen.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Design First Ui Prompting?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/edcs960-design-first-ui-prompting)
---
name: design-first-ui-prompting
description: Turn a vague screen request into a short design spec before designing or generating UI - goal, user, primary action, layout and hierarchy, states, accessibility and constraints - and iterate one variable at a time. Use when a screen or UI request is fuzzy, or before asking a model to generate a screen.
---
# Design-first UI spec
Reviewed DevRoster adapter of MengTo/Skills `agent-skills/ui/design-first-ui-prompting` at commit
`3cc93458c4949c39a04e938ea7892a1d6d3d40bf` (MIT, see LICENSE; changes in ADAPTER.md).
Specify like a design system, not a wish. Fill the skeleton from the requirements, the existing
screens and tokens, and any confirmed design (Figma, Stitch). Leave a line empty rather than
inventing it, and list what is unknown.
## Skeleton
```text
GOAL
- What screen or part is this? Which requirement and screen ID?
- Who uses it, and what is their main task here?
- What does success look like for that task?
LAYOUT (wireframe in words)
- Regions and their order (navigation, main, side, footer)
- Hierarchy: page title -> key information -> primary action -> secondary actions
- One primary action per view
SYSTEM
- Use the project's existing tokens and components (colour, type, spacing, radius, icons).
- If a confirmed design exists, it decides; this spec only fills what it does not show.
- If a design direction was chosen for the project, apply it within the tokens.
CONTENT
- Real labels and messages (exact text where it matters)
- Which values are sample data, marked so nobody takes them for real records
STATES
- Normal, empty, loading, error, disabled, success; what the user sees and can do in each
ACCESSIBILITY AND RESPONSIVE
- Keyboard order and focus, labels for every control, contrast
- What changes at narrow widths (stacking, hidden columns, menus)
CONSTRAINTS
- What must not change (existing ids, flows, components)
- What is out of scope
```
## Iterate
- First pass: settle layout, hierarchy and content.
- Then change one variable at a time (density, emphasis, grouping, accent), so the effect of each
change is visible.
- Keep each pass consistent with the tokens; do not add fonts, colours, effects or dependencies
to make a variant look different.
## Ask when vague
- What is the single job of this screen?
- What is the hierarchy (title, key information, primary action)?
- Which existing screen should it feel like?
- What must stay as it is?
Read-only roles write the spec in their result; they do not edit files.