MCPInstall

hierarchy

Clarify priority and emphasis by fixing unclear primary actions, competing visual weight, loud section titles, and weak label/value treatment. Use when the user mentions hierarchy, prioritization, too much competition, grayscale confusion, loud headings, or unclear primary actions.

Installs
609
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aladicf/better-web-ui --skill hierarchy
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads hierarchy automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Assess and improve visual hierarchy so the interface communicates priority immediately instead of making users decode it manually.

Use this when the problem is mainly priority and emphasis. If the bigger issue is arbitrary spacing, weak grouping, or monotonous layout rhythm, use arrange.

MANDATORY PREPARATION

Users start this workflow with /hierarchy. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first.


Assess Hierarchy Problems

Analyze where the interface is failing to prioritize clearly:

  1. Run the grayscale test:

    • If color disappeared, would the screen still make sense?
    • Can you identify primary, secondary, and tertiary elements within about 2 seconds?
  2. Scan for competition:

    • Are multiple cards, titles, or buttons equally loud?
    • Are section titles stealing focus from the content they label?
    • Are supporting details too strong relative to the main task?
    • Are heavy icons, bold labels, or dark metadata outweighing the content they are supposed to support?
  3. Check consistency and predictability:

    • Do action colors and button treatments keep the same meaning across the flow?
    • Are similar success, error, or helper messages written with parallel structure?
    • Are icon styles, typography roles, and familiar layout regions consistent enough that users can transfer what they learned?
  4. Check action priority:

    • Is there one obvious primary action?
    • Are secondary actions clear but quieter?
    • Are tertiary actions discoverable without competing?
  5. Check labels and values:

    • Does everything use a rigid label: value pattern even when the value is self-explanatory?
    • Should labels be combined with values or de-emphasized?
  6. Check visual harmony:

    • Is there a clear focal point?
    • Is the page relying on one balance mode everywhere (for example, the same left-right split repeated section after section)?
    • Are text and imagery balanced, or is one accidentally overpowering the other?
  7. Check spacing, proximity, and alignment:

    • Is space within groups smaller than the space between groups?
    • Are labels, inputs, cards, and navigation items grouped tightly enough to read as related?
    • Are shared alignment lines and container widths helping the screen scan cleanly?
    • Does the page support the right scan pattern for the content density (for example, denser F-pattern scanning vs lighter directed Z-pattern scanning)?

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: Hierarchy problems are not cosmetic. If users can't tell what matters, the design is failing at communication.

Plan Hierarchy Fixes

Consult the hierarchy checklist for grayscale tests, label/value handling, action hierarchy, and de-emphasis techniques. Consult the text hierarchy and readability when title restraint, label/value structure, line length, semantic-vs-visual hierarchy, or weight-versus-contrast balancing are part of the problem. Consult the design-system alignment when hierarchy problems are partly caused by inconsistent action styles, icon logic, or drifted component treatments across the product. Consult the spatial design and spacing system references when hierarchy problems are really spacing, grouping, or alignment problems in disguise.

Use the shared references as the canonical source for hierarchy and readability doctrine, then focus this skill on fixing priority and emphasis in the actual interface.

Create a plan around these levers:

  • What should be primary?
  • What should become quieter?
  • Which labels can be removed, combined, or de-emphasized?
  • Which actions need differentiated treatments?
  • Which inconsistencies are teaching the wrong pattern?
  • What balance mode would make the screen feel clearer and more complete?
  • What spacing and alignment changes would make grouping more obvious?
  • What scan path should the layout support?

Improve Hierarchy Systematically

Clarify the Pyramid

  • Establish one clear primary focus
  • Give secondary and tertiary content visibly quieter treatments
  • Use space, weight, contrast, and placement before inventing decorative fixes

Emphasize by De-emphasizing

  • Reduce contrast on competing elements
  • Soften secondary icon or text colors
  • Quiet sidebars, metadata, and labels before making the hero louder

Fix Action Hierarchy

  • Use one clear primary button style
  • Use secondary styles for supportive actions
  • Use link-like or tertiary styles for low-frequency actions
  • Reserve visually dominant destructive styling for confirmation moments, not every delete button

Restructure Labels and Values

  • Remove labels when the value format is already obvious
  • Combine labels and values when that improves scanning
  • Treat labels as supporting content by default
  • In technical contexts, let labels take slightly more emphasis when users are scanning for specs or field names

Quiet Section Titles

  • Treat section titles like labels unless they truly deserve headline treatment
  • Make titles smaller or lower contrast when the content should lead
  • Separate semantic importance from visual size; a structurally important heading can still be visually restrained

Preserve Predictability

  • Keep action colors and button styles semantically stable across similar contexts
  • Keep repeated message patterns and labels parallel so users learn the system faster
  • Keep icon families, layout regions, and familiar navigation structures consistent unless there is a strong workflow reason to change them

Improve Harmony, Not Just Loudness

  • Use symmetry when the section should feel stable and orderly, but avoid repeating the same symmetrical structure everywhere
  • Use asymmetry when the screen needs movement or stronger focal direction, but keep the weight balanced
  • Use centered or radial emphasis when one item truly deserves unmistakable focus
  • Rebalance text and images so neither side accidentally crushes the other

Use Space to Clarify Priority

  • Keep more space around groups than within them
  • Increase space around the primary element when it needs stronger focus
  • Keep text, controls, and media off container edges unless edge tension is intentional
  • Separate different sections enough that users can feel the topic change

Use Proximity and Alignment Deliberately

  • Pull related fields, labels, and support text closer together
  • Increase separation between unrelated groups
  • Top-align larger neighboring blocks when comparison matters
  • Keep major sections aligned to stable container edges so scanning stays effortless
  • Choose centered alignment only when the content is compact enough that it still reads clearly

Support the Intended Scan Pattern

  • Use denser left-to-right, top-to-bottom structure for information-heavy screens
  • Use cleaner directional composition for lighter, CTA-led screens
  • Place anchors like logos, main titles, and primary actions where the eye can find them quickly

Balance Weight and Contrast

  • If icons feel louder than nearby text, soften their contrast before changing everything else
  • If separators are too faint, consider a slightly heavier treatment before making them darker and harsher
  • Use contrast reduction to quiet heavy elements and weight to support subtle low-contrast elements when needed

NEVER:

  • Make every section title feel like a headline
  • Style every action as primary
  • Use color as the only hierarchy tool
  • Leave labels at the same visual weight as the data they describe when the data matters more
  • Randomly change action meaning, icon logic, or layout patterns that users already learned
  • Try to fix weak hierarchy only by adding more decoration

Verify Hierarchy Improvements

  • Grayscale clarity: Does it still work without color?
  • 2-second scan: Can users identify the primary action and key content quickly?
  • Action clarity: Is one action clearly first?
  • Label/value efficiency: Is data easier to scan after restructuring?
  • Reduced competition: Do quieter elements actually recede?

Remember: Great hierarchy makes the right thing feel obvious. If users have to study the screen, the hierarchy still needs work.

FAQ

What does the hierarchy skill do?

Clarify priority and emphasis by fixing unclear primary actions, competing visual weight, loud section titles, and weak label/value treatment. Use when the user mentions hierarchy, prioritization, too much competition, grayscale confusion, loud headings, or unclear primary actions.

How do I install hierarchy?

Run npx skills add https://github.com/aladicf/better-web-ui --skill hierarchy in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/hierarchy/ (personal) or .claude/skills/hierarchy/ (project).

Which AI agents can use hierarchy?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is hierarchy safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains hierarchy?

It is published by aladicf in aladicf/better-web-ui. It has 609 recorded installs.

More from aladicf/better-web-ui

View all →

critique

aladicf/better-web-ui

Evaluate an interface from a UX perspective, assessing hierarchy, information architecture, emotional resonance, cognitive load, and overall quality with quantitative scoring and actionable feedback. Use when the user wants an overall design or UX review—not when the main need is measurable accessibility/performance diagnosis, or final micro-detail polish.

Frontend & Design719 installs

frontend-design

aladicf/better-web-ui

Create distinctive, production-grade frontend interfaces with strong hierarchy, thoughtful systems, and polished implementation that avoid generic AI aesthetics. Use when the user wants to build or redesign web pages, flows, components, or full app surfaces, or when another better-web-ui skill needs shared project design context before other better-web-ui skills.

Frontend & Design680 installs

add-ui

aladicf/better-web-ui

Generate 5 distinct, production-grade UI variations for a requested new or existing section, component, page, flow, or shell, then help the user preview and apply one. Use when the user asks to add or redesign UI like a hero, pricing, navbar, auth flow, dashboard shell, ecommerce surface, or data component.

Frontend & Design640 installs

polish

aladicf/better-web-ui

Perform a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the work is functionally complete and needs finishing touches—not when the hierarchy, structure, tone, or technical foundation still need major changes.

Frontend & Design640 installs

audit

aladicf/better-web-ui

Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants measurable accessibility, performance, responsive, theming, or anti-pattern findings—not when they mainly want an overall UX critique or final visual/detail polish.

Security639 installs

search

aladicf/better-web-ui

Design or improve search experiences, result presentation, and filtering interfaces. Use when the user asks to add search, redesign search results, improve findability, build autocomplete, add filters, or fix zero-results dead ends.

Frontend & Design638 installs

Popular frontend & design skills

View category →

setup-matt-pocock-skills

mattpocock/skills

Configure this repo for the engineering skills: set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.

Frontend & Design1.1M installs

frontend-design

anthropics/skills

Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.

OfficialFrontend & Design1M installs

hyperframes-animation

heygen-com/hyperframes

All animation knowledge for HyperFrames — atomic motion rules, multi-phase scene blueprints, scene transitions, broader motion-design techniques, AND the seven runtime adapters (GSAP default, plus Lottie, Three.js, Anime.js, CSS keyframes, Web Animations API, TypeGPU). Use for any motion or animation task: pick 2-4 rules and compose, or load a blueprint, or look up runtime-specific API (e.g. GSAP eases / Lottie player / Three.js mixer). Also covers auditing an existing composition's choreography (animation map) and 24 named text-animation effects. HyperFrames-native: single paused timeline, seek-safe, deterministic.

prototype

mattpocock/skills

Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.

Frontend & Design999.2K installs

hyperframes-core

heygen-com/hyperframes

The HyperFrames composition contract — build one renderable project. Use for composition structure, the data- timing attributes, class="clip", tracks, sub-compositions, variables, framework-owned media playback, deterministic-render rules, and validation. Read before writing composition HTML.

Frontend & Design930.5K installs

vercel-react-best-practices

vercel-labs/agent-skills

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

OfficialFrontend & Design843.1K installs