Skip to content
Back to skills

Design Screen

ASecurity

Design or redesign one screen or component of a product UI: hierarchy, layout, type, colour, every state, responsive and keyboard behaviour, built from the project''s existing tokens and components. Returns a working prototype and a short spec. Use for "design this screen", "redesign the settings page", "make a component for", "this page looks messy", "mock up the dashboard".

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 5, 2026
ai-agentsgo

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add kinzarra/vibetrack --skill design-screen --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design Screen?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design Screen
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kinzarra-design-screen/badge)](https://www.skillsdirectory.com/skills/kinzarra-design-screen)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: design-screen
description: 'Design or redesign one screen or component of a product UI: hierarchy, layout, type, colour, every state, responsive and keyboard behaviour, built from the project''s existing tokens and components. Returns a working prototype and a short spec. Use for "design this screen", "redesign the settings page", "make a component for", "this page looks messy", "mock up the dashboard".'
---

# Design a screen

The result is one screen that works in every state, delivered as a prototype someone can open and a spec an engineer can build from. A picture of the happy path is not a design.

## 1. Understand before drawing

- **The job**: write one sentence: "On this screen a <who> wants to <do what> so that <outcome>." If the task does not say, read the product, its routes and its copy, then state your assumption in the spec.
- **What exists**: open the running product in the browser when one is available and take a screenshot of the current screen and its two neighbours. Read the screen's code and the components it uses.
- **The system**: find the project's tokens and components (CSS variables, theme file, tokens JSON, a component folder, a UI library config). List what you will reuse. A new colour, size or component needs a reason written in the spec.
- **Content inventory**: every piece of data, label, action and message on the screen, with its realistic shortest and longest value (a 2-character name and a 60-character name, 0 rows and 5,000 rows, a price of 0 and of 1,234,567.89).

## 2. Hierarchy

1. Rank the inventory: what must be seen in the first 3 seconds, what is used often, what is rare. Rare items go behind a menu, a disclosure or another screen.
2. **One primary action per screen.** It gets the only filled accent button. Secondary actions are outlined or text buttons. A destructive action is never the primary and sits apart from it.
3. Group by meaning: related items are closer to each other than to anything else (inside a group 4 to 8 px, between groups 16 to 24 px, between sections 32 to 64 px).
4. Squint test: blur the screenshot or zoom to 25%. The page title, the primary action and the main content should still be found. If three things compete, demote two.

## 3. Layout, type, colour

- **Grid**: 12 columns on desktop, 8 on tablet, 4 on mobile; gutters 16 to 24 px; content max width 1200 to 1440 px. Text columns 45 to 75 characters per line.
- **Spacing scale**: use the project's. If none exists: 4, 8, 12, 16, 24, 32, 48, 64 px. No value outside the scale.
- **Type scale**: use the project's. If none: 12, 14, 16, 20, 24, 32, 40 px; body 16 px (14 px only in dense tables); line height 1.5 for body, 1.2 to 1.3 for headings; at most 2 families and 3 weights; at most 4 sizes on one screen. Numbers in tables use tabular figures and align right.
- **Colour roles**, not colour values: background, surface, border, text, muted text, accent, success, warning, danger. Accent covers at most about 10% of the screen.
- **Contrast**: body text 4.5:1 or more, large text (24 px, or 18.66 px bold) 3:1, borders of inputs, icons and focus rings 3:1 against what is next to them. Compute the ratio and write it in the spec. State is never shown by colour alone: add an icon, text or shape.
- **Alignment**: every element sits on a shared edge. Left-align text; centre only short single blocks.

## 4. Every state

Design each one that applies, as a real view in the prototype:

| State | What it must show |
|---|---|
| Empty (first use) | what goes here, why it is useful, the one action that fills it |
| Empty (no results) | the query or filter that gave nothing, a way to clear it |
| Loading | a skeleton in the final layout for waits over 300 ms; no layout jump when data arrives |
| Partial | some data arrived, some failed: show what there is and mark the gap |
| Error | what happened in plain words, what was kept, the action to recover; no codes alone |
| Long content | wrapping or truncation with the full value reachable; 1,000 rows (paging or virtual list) |
| Disabled | why it is disabled, in text next to the control or in a hint |
| Success | confirmation where the user is looking, and the next step |
| Offline or no permission | when the product can reach that state |

Interactive elements have default, hover, focus, active, disabled and, where relevant, selected and loading.

## 5. Responsive, keyboard, focus

- Check at 320, 375, 768, 1024, 1440 px wide. No horizontal scroll at 320 px. Say what stacks, what collapses, what hides, and what replaces a wide table (cards, priority columns, horizontal scroll inside the table only).
- Touch targets 44 x 44 px, never under 24 x 24 px, with 8 px between them.
- Tab order follows the reading order. Every action works with the keyboard: Tab, Shift+Tab, Enter, Space, Escape to close, arrows inside menus, tabs and lists.
- Focus is visible: a ring at least 2 px thick with 3:1 contrast. A dialog traps focus and returns it to the trigger when closed.
- Use native elements (`button`, `a`, `input`, `label`, `dialog`) before custom ones. Every input has a visible label.

## 6. Check before handing in

Open the prototype in the browser when one is available, at 375 and 1440 px, and walk every state. Take screenshots. Check: one primary action, all values on the scales, contrast numbers, longest content does not break the layout, keyboard-only pass, text zoom 200%, no placeholder text or lorem ipsum.

## Output

Under `design/<screen-slug>/` in the task's repository, unless the task or the project's structure says otherwise:

- `prototype.html` (with its CSS; opens from the file system with no build step, uses the project's token values, has a switcher or separate sections for every state), **or** the screen implemented in the project's own stack and components when the task asks for code.
- `spec.md`, one to two pages: the job sentence, hierarchy and the primary action, layout and breakpoints, the state table as designed, tokens and components reused, anything new and why, contrast pairs with ratios, keyboard map, open questions.
- `screenshots/` when a browser was available: before, after, each state, mobile and desktop.

Do not commit, push or deploy unless the task says so. If the product cannot be run, or data needed for a state is unknown, say exactly what is missing and design from the code with the assumption written down.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.