Skip to main content
skill CX Codex

visual-hierarchy — Claude Code skill: what it does, how to install

This skill sets the order in which interface elements attract attention through size, weight, colour, spacing, and position. Use it when composing new screens.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add Owl-Listener/designer-skills --skill visual-hierarchy -a claude-code
Open on GitHub

What visual-hierarchy does

The skill helps define how users read an interface. It uses size, text and stroke weight, colour and contrast, whitespace, position, and density. Larger elements attract attention first; contrast can mark CTAs, statuses, and other emphasis points.

It describes four hierarchy levels, from the page title and primary action to supporting text and fine print. The skill also covers hero sections, cards, forms, and navigation, plus a squint test and the rule of one primary action per view. It is meant for composing new work. To judge an existing screen, use critique-visual-hierarchy from visual-critique.

For Claude Code, installation creates ~/.claude/skills/visual-hierarchy/SKILL.md. Check the setup command before running it: the Claude Code method repeats the add command.

What it helps with

  • set the reading order for interface elements
  • make the primary CTA stand out
  • separate headings, core content, and metadata
  • shape hierarchy for cards, forms, or navigation
  • check whether a screen scans clearly

Example prompts for the agent

  • Apply visual-hierarchy to this new profile screen and define the attention order.
  • Compose the page with one primary CTA, secondary headings, and supporting text using visual-hierarchy.
  • Review this layout through size, contrast, spacing, and position with visual-hierarchy.

How to install visual-hierarchy

1Skills CLI (Vercel)

npx skills add Owl-Listener/designer-skills --skill visual-hierarchy -a claude-code

2Manually: put the files in place

~/.claude/skills/visual-hierarchy/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/visual-hierarchy/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about visual-hierarchy

How do I install visual-hierarchy in Claude Code?

Run these steps in order: npx skills add Owl-Listener/designer-skills --skill visual-hierarchy -a claude-code, then run the same command again: npx skills add Owl-Listener/designer-skills --skill visual-hierarchy -a claude-code. The skill file is ~/.claude/skills/visual-hierarchy/SKILL.md.

What does visual-hierarchy do?

It guides attention through an interface with size, weight, colour, contrast, spacing, position, and density. The guidance covers four hierarchy levels and common layouts.

Can visual-hierarchy review an existing screen?

The skill is for composing new work. Use critique-visual-hierarchy from visual-critique to judge an existing screen.

Source text

SKILL.md · MIT
---
name: visual-hierarchy
description: Establish hierarchy through size, weight, colour, spacing, and position so the eye lands in the intended order. Use when composing new work. For judging an existing screen, use `critique-visual-hierarchy` (visual-critique).
---
# Visual Hierarchy
You are an expert in creating clear visual hierarchy that guides users through interfaces.
## What You Do
You establish visual hierarchy ensuring users see the most important content first and can scan efficiently.
## Hierarchy Tools
### Size
Larger elements draw attention first. Use size differences of at least 1.5x for clear distinction.
### Weight
Bold text, thicker strokes, and filled icons carry more visual weight than light variants.
### Color and Contrast
High contrast attracts attention. Use color strategically for CTAs, status, and emphasis.
### Spacing
More whitespace around an element increases its perceived importance.
### Position
Top-left (in LTR layouts) gets seen first. Above the fold matters. F-pattern and Z-pattern scanning.
### Density
Isolated elements stand out. Grouped elements are scanned as a unit.
## Hierarchy Levels
1. **Primary**: Page title, primary CTA — seen first
2. **Secondary**: Section headings, key content — scanned next
3. **Tertiary**: Supporting text, metadata — read on demand
4. **Quaternary**: Fine print, timestamps — available but not prominent
## Common Patterns
- Hero sections: large type + image + single CTA
- Card layouts: image > title > description > action
- Forms: label > input > helper text > error
- Navigation: current state > available > disabled
## Best Practices
- Squint test: blur your eyes — hierarchy should still be clear
- One primary action per view
- Don't compete for attention — choose what matters most
- Use hierarchy to tell a story through the page
- Test with real users doing real tasks

© Owl-Listener · MIT · Owl-Listener/designer-skills

Similar skills

Everything for Design →

From the same set109

presentation-deck The skill lays out a design presentation around one audience and one decision, from hook to the ask. Handy before an internal design review. CX Codex +1 3,100installs typography-scale Builds a modular type scale with sizes, weights and line heights. Useful when you are setting up a design system from scratch. CX Codex +1 2,600installs color-system This skill walks an agent through building a product palette: tonal scales, semantic roles and WCAG contrast checks. Useful when colours are defined from scratch. CX Codex +1 2,500installs illustration-style Define an illustration style guide covering visual language, colour usage, and component placement rules. Useful when standardising graphics or commissioning art. CX Codex +1 2,500installs data-visualization Guides your agent through picking a chart type and setting axes, labels and accessible colors so the result reads without a legend. CX Codex +1 2,400installs layout-grid This skill defines a responsive page grid: columns, gutters, margins and breakpoint behaviour. Handy when you are setting up page structure from scratch. CX Codex +1 2,400installs icon-system Sets design specifications for icon systems, covering grids, size tiers, naming rules, and accessibility. Ideal for standardising iconography in design systems. CX Codex +1 2,400installs user-flow-diagram Draws screen-level flow diagrams with entry points, decision branches and error paths. Useful when a feature needs step-by-step specs. CX Codex +1 2,400installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor