02-apply-typography-sc…
Create clear typographic hierarchy using hand-crafted font sizes, weights, and colors
Determine what UI element draws attention first, second, third using size, weight, color, and de-emphasis strategies
$ npx -y skills add gnurio/refactoring-ui-plugin --skill 01-establish-visual-hierarchy --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/01-establish-visual-hierarchyContext preview
The summary Claude sees to decide when to auto-load this skill.
Determine what UI element draws attention first, second, third using size, weight, color, and de-emphasis strategies
name: establish-visual-hierarchy
description: Determine what UI element draws attention first, second, third using size, weight, color, and de-emphasis strategies
domain: ui-design
skill-type: evaluative
version: 1.0.0
author: refactoring-ui-expert
prerequisites: []
dependencies: []
input:
- design_description: string
- element_list: array of {element, importance}
output:
- assessment: PASS | FAIL
- ranked_elements: array
- recommendations: array of stringsDetermine what UI element should draw attention first, second, third. Visual hierarchy controls the order in which users process information using size, weight, color, and de-emphasis strategies.
| Strategy | When to Use | |----------|-------------| | **Size + Weight** | Primary headlines, important CTAs | | **Color Contrast** | Secondary content, supporting text | | **De-emphasize** | When primary isn't standing out | | **Weight/Contrast Balance** | Icons next to text, borders |
Check visual weight of each element:
Don't rely on size alone: 1. Use **weight** (600-700) for emphasis 2. Use **color** (grey scale) to de-emphasize 3. Keep sizes reasonable
If primary element isn't standing out:
H1: 48px, weight 700, dark ← Primary CTA: 16px, solid brand color ← Secondary Body: 16px, weight 400, grey ← Tertiary
Metric: 32px, weight 700 ← Primary Label: 14px, weight 400, grey ← Secondary Action: Text link, brand color ← Tertiary
| Anti-Pattern | Why It Fails | Fix | |--------------|--------------|-----| | Logo larger than headline | Brand over value | Reduce logo, increase headline | | 60px headline, 12px body | Size extremes | Use 40px + weight, 16px body | | All bold text | Nothing stands out | Use weight hierarchy | | Large section titles | Content buried | Make titles smaller than content |
See `examples/visual-hierarchy/` for before/after cases.
Ten structured AI skills for evaluating and improving UI designs — covering visual hierarchy, typography, color, spacing, buttons, clutter, empty states, shadows, contrast, and grouping.
Create clear typographic hierarchy using hand-crafted font sizes, weights, and colors
Create comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades
Use systematic spacing with 25% minimum jumps, start with excess whitespace
Create clear primary/secondary/tertiary action distinctions
Remove unnecessary borders, backgrounds, shadows, decorations