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
59
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aladicf/better-react-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

Read frontend-design and follow its Context Gathering Protocol. Reuse available context and ask only about consequential gaps.


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-react-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-react-web-ui. It has 59 recorded installs.

More from aladicf/better-react-web-ui

View all →

frontend-design

aladicf/better-react-web-ui

Create distinctive React and Tailwind interfaces with strong hierarchy and polished implementation. Use when building or redesigning pages, flows, or components, or when another better-react-web-ui skill needs shared design guidance. Pair with add-ui for direct implementation or requested alternatives.

polish

aladicf/better-react-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.

add-ui

aladicf/better-react-web-ui

Create or redesign React and Tailwind sections, pages, flows, shells, and components. Use when the user wants new UI or a redesign. Implement one requested or selected direction directly, or generate distinct alternatives when the user asks to compare options.

data-viz

aladicf/better-react-web-ui

Design charts, metrics, and data tables that help users interpret and compare data. Use when the user asks to visualize data, choose chart types, improve dashboard analytics, or make data presentation accessible. Dashboard navigation and shell layout alone belong to add-ui or arrange.

setup

aladicf/better-react-web-ui

Gather and persist audience, brand, UX goals, React framework, Tailwind setup, and component defaults for future design work. Use when the user asks to establish or update reusable project design guidance. A request to build UI can proceed with existing context without running setup.

arrange

aladicf/better-react-web-ui

Improve layout composition, spacing systems, grouping, and visual rhythm. Use when the user mentions weak layout structure, arbitrary spacing, weak grouping, crowded composition, or layout monotony rather than priority/emphasis problems.

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