/harness-claude:design-visual-hierarchyfrom harness-claude
Directs attention through size, color, contrast, position, isolation, and motion to establish clear visual hierarchy in layouts.
Claude never picks this skill on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /harness-claude:design-visual-hierarchy still runs it.
What the skill costs in Claude's context, stage by stage
No description Claude Code can read, so Claude's list leaves it out: only you can start it.
SKILL.md joins the conversation and stays.
Directing attention through size, color, contrast, position, isolation, and motion — the system that tells the eye where to go first, second, and third
Establish exactly one dominant element per viewport. Every page needs a clear entry point — the single element the eye hits first. If two elements compete for dominance, the viewer hesitates and the layout feels chaotic:
Use the seven hierarchy tools in combination. Each tool adds visual weight. The more tools you stack on an element, the more dominant it becomes:
| Tool | How It Adds Weight | Example |
|---|---|---|
| Size | Larger = heavier. The most powerful single tool. | Stripe hero: 56px headline vs. 18px body text |
| Color | Saturated, warm, or brand colors draw attention. | Vercel: blue "Deploy" CTA against monochrome page |
| Contrast | High contrast foreground/background draws the eye. | Apple: white text on black hero, gray text for meta |
| Position | Top-left (LTR) and center draw first attention. | Dashboards: key metrics in top-left quadrant |
| Isolation | An element surrounded by whitespace draws attention. | Apple: single product floating in vast empty space |
| Texture/Detail | Complex, detailed elements attract over simple ones. | Airbnb: photo-rich listing vs. plain text sidebar |
| Motion | Moving elements override all static hierarchy. | Stripe: animated gradient draws eye before reading |
Decision procedure: For your primary element, apply 3-4 tools (large + high contrast + prime position + isolation). For secondary elements, apply 1-2 tools. For tertiary elements, apply none — they should be visually quiet.
Design in three tiers: primary, secondary, tertiary. Every element on the page belongs to exactly one tier:
Stripe's pricing page demonstrates this clearly:
Validate hierarchy with the squint test and blur test. These are non-negotiable quality checks:
Understand F-pattern and Z-pattern scanning. Eye-tracking research shows consistent scanning patterns:
Use contrast ratios as a hierarchy system. Beyond accessibility, contrast is a precision tool for establishing reading priority:
Apple uses this exact system: primary labels at ~17:1, secondary at ~7:1, tertiary at ~4.5:1, and disabled/placeholder at ~2.5:1.
Visual weight is not a single property but a composite. An element's weight is roughly:
weight = size_factor + contrast_factor + saturation_factor + isolation_factor + position_factor
Where each factor is 0-3:
A primary element should score 10-15. A secondary element should score 5-9. A tertiary element should score 0-4. If two elements score within 2 points of each other, they will compete for attention.
Within a single component, hierarchy applies to states:
Material Design's state layers demonstrate this: hover adds 8% opacity overlay, focus adds 12%, pressed adds 12%, dragged adds 16%.
Competing focal points. Two elements of equal visual weight fight for attention — a large image AND a large headline at the same size, color, and contrast. The viewer oscillates between them. Fix: make one clearly dominant. Stripe never lets an image compete with a headline — images are always muted, desaturated, or smaller than the text.
Flat hierarchy. Everything the same size, weight, and color. Common in engineering-driven layouts where every piece of data feels equally important. The result: nothing stands out, so the user must read everything sequentially. Fix: force-rank every element into primary/secondary/tertiary before placing it.
Decoration over content. Ornamental backgrounds, gradient borders, animated patterns, or decorative icons that carry more visual weight than the actual content. The eye goes to the decoration first. Fix: the squint test — if decorative elements are more visible than content elements, reduce their weight (lower opacity, desaturate, shrink).
Motion abuse. Animations and transitions that are so prominent they override all static hierarchy. A subtle entrance animation is secondary; a looping animation is primary. If a background animation draws more attention than the headline, it is competing with — not supporting — the hierarchy. Vercel uses motion sparingly: a gradient shift on hover, never a persistent loop.
Stripe Homepage (3-Tier Hierarchy):
Apple Product Comparison Page:
Vercel Dashboard:
This is a knowledge skill. When activated, its content is injected into the system prompt to guide layout and emphasis decisions. It does not execute code or modify files. Use alongside design-typographic-hierarchy for text-specific hierarchy, design-contrast-ratio for contrast-based emphasis, and design-whitespace for isolation-based emphasis.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub intense-visions/harness-engineering --plugin harness-claudeRead when SKILL.md points to them.
793 skills in this plugin
/a11y-aria-patternsARIA Patterns> Apply ARIA roles, states, and properties correctly to enhance assistive technology support for custom widgets/a11y-color-contrastColor Contrast and Color Independence> Ensure sufficient color contrast ratios and never use color as the sole means of conveying information/a11y-form-patternsAccessible Form Patterns> Build accessible forms with proper labeling, grouped controls, inline validation, and clear error communicationOther plugins' skills for the same job