/refactoring-ui-skills:establish-visual-hierarchyfrom refactoring-ui-skills
Evaluates UI designs by ranking elements by visual importance using size, weight, color, and de-emphasis strategies. Helps ensure clear primary-to-tertiary attention flow.
Ships in refactoring-ui-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Determine 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:
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 |
references/size-isnt-everything.mdreferences/emphasize-by-de-emphasizing.mdreferences/ignore-document-hierarchy.mdSee examples/visual-hierarchy/ for before/after cases.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/apply-typography-scaleCreate clear typographic hierarchy using hand-crafted font sizes, weights, and colors/build-color-paletteCreate comprehensive palette with 8-10 greys, 5-10 primary, 5-10 accent shades/apply-consistent-spacingUse systematic spacing with 25% minimum jumps, start with excess whitespace/design-button-hierarchyCreate clear primary/secondary/tertiary action distinctionsnpx claudepluginhub gnurio/refactoring-ui-plugin --plugin refactoring-ui-skillsOther plugins' skills for the same job