gnurio/refactoring-ui-plugin/01-establish-visual-hierarchy

Claude Code and agent skill by gnurio/refactoring-ui-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Determine what UI element draws attention first, second, third using size, weight, color, and de-emphasis strategies

Install

npx vskill@latest install gnurio/refactoring-ui-plugin/01-establish-visual-hierarchy

SKILL.md

The same SKILL.md was published earlier as gnurio/refactoring-ui-plugin/01-establish-visual-hierarchy.

Skill: Establish Visual Hierarchy

Purpose

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.

Quick Reference

StrategyWhen to Use
Size + WeightPrimary headlines, important CTAs
Color ContrastSecondary content, supporting text
De-emphasizeWhen primary isn't standing out
Weight/Contrast BalanceIcons next to text, borders

Execution Workflow

Step 1: Identify Primary Element
  • What is the single most important thing on this screen?
  • What action should the user take?
  • What information is critical?
Step 2: Assess Current Hierarchy

Check visual weight of each element:

  • Size: Larger = more attention
  • Weight: Bolder = more importance
  • Color: Higher contrast = more prominent
  • Whitespace: More surrounding space = stands out
Step 3: Apply Multi-Factor Hierarchy

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
Step 4: De-emphasize Competitors

If primary element isn't standing out:

  • Reduce contrast of surrounding elements
  • Use softer colors for secondary content
  • Remove unnecessary backgrounds

Decision Criteria

PASS
  • Most important element has highest visual weight
  • Hierarchy uses weight/color, not just size
  • Surrounding elements are subdued
  • Clear visual path: primary → secondary → tertiary
FAIL
  • Relying solely on font size
  • Everything equally emphasized
  • Critical elements buried
  • Decorative elements competing

Common Patterns

Pattern: Marketing Page Hero
H1: 48px, weight 700, dark ← Primary
CTA: 16px, solid brand color ← Secondary
Body: 16px, weight 400, grey ← Tertiary
Pattern: Dashboard Card
Metric: 32px, weight 700 ← Primary
Label: 14px, weight 400, grey ← Secondary
Action: Text link, brand color ← Tertiary

Anti-Patterns

Anti-PatternWhy It FailsFix
Logo larger than headlineBrand over valueReduce logo, increase headline
60px headline, 12px bodySize extremesUse 40px + weight, 16px body
All bold textNothing stands outUse weight hierarchy
Large section titlesContent buriedMake titles smaller than content

References

  • references/size-isnt-everything.md
  • references/emphasize-by-de-emphasizing.md
  • references/ignore-document-hierarchy.md

Examples

See examples/visual-hierarchy/ for before/after cases.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
433
Repository forks
16
7-day trend score
30

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gnurio/refactoring-ui-plugin/01-establish-visual-hierarchy/badge)](https://verified-skill.com/skills/gnurio/refactoring-ui-plugin/01-establish-visual-hierarchy)

Something wrong with this skill or its page? Tell us.