Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

visual-emphasis-and-hierarchy视觉重点和层次结构

Agent Skill

用于辅助界面设计、视觉规范、排版、配色、布局和交互体验优化。它适合让 Agent 根据产品场景整理页面结构、生成 UI 方案、检查视觉一致性或改进组件层级。使用时需要结合现有品牌、设计系统和用户任务,不应只堆装饰元素;涉及真实页面改动时,应通过截图或浏览器预览检查文本溢出、对齐和响应式表现。

总安装

734

周安装

30

GitHub Stars

6

下载量

238
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:visual-emphasis-and-hierarchy(视觉重点和层次结构)
来源仓库:https://github.com/dembrandt/dembrandt-skills
仓库路径:skills/visual-emphasis-and-hierarchy
安装命令:
npx skills add https://github.com/dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy

简介

visual-emphasis-and-hierarchy 强化界面重点信息与结构层次,适合改善导航与内容组织逻辑。

  • 适用于研究检索与设计辅助场景,可在 dembrandt-skills 中提供对比度、字号与间距优化建议。
  • 通过 npx skills add 从开源仓库安装,兼容主流 Agent 宿主环境。
  • 使用前应结合用户旅程图调整权重分配,避免过度强调次要元素干扰核心任务流。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Visual Emphasis and Hierarchy

Every screen has a most-important thing. Visual hierarchy is the design work that makes sure the user's eye finds it first — without requiring the user to read everything and decide for themselves.

Emphasis is achieved through size, colour, weight, contrast, and position. These tools work because they are relative: an element looks important because it differs from what surrounds it.

The Hierarchy Ladder

Design every action group and content area with a clear hierarchy:

LevelRoleVisual treatment
PrimaryThe one action the user should most likely takeFilled, brand colour, largest button in the group
SecondaryAn alternative action of moderate importanceOutlined or ghost, neutral colour, same or slightly smaller size
TertiaryRarely needed, destructive, or low-priorityText link or subtle ghost, smaller, visually recessive
DisabledUnavailableLow contrast, no hover state — signals "not yet"

There should be at most one primary action per view or per logical section. Two filled buttons side by side cancel each other out — both feel equally important, so neither guides the user.

Size as Emphasis

A larger button, heading, or element draws the eye before a smaller one. Use size deliberately:

  • The primary CTA is the largest interactive element in its group
  • Page headings are larger than section headings, which are larger than labels
  • A featured product, plan, or option can be physically larger than its peers to signal recommendation

Size differences must be perceptible — a 2px difference reads as inconsistency, not hierarchy. Use your modular scale for type; use meaningful size steps for components.

Colour as Emphasis

Colour is the strongest emphasis signal and therefore the most easily overused.

  • One brand colour for primary actions — used sparingly so it retains its signal
  • Secondary and tertiary actions should be neutral (grey, outlined) so the primary colour stands out
  • Status colours (red, orange, green) should never appear on primary CTAs — they carry their own semantic meaning

Brand Colour as Large Areas

Brand primary colours work well as large background regions — hero sections, feature banners, section dividers. This is different from using brand colour on interactive elements.

The rule: pick one role and commit to it per view.

  • Brand colour as a large area → buttons and links on that section use white or a high-contrast neutral, not the brand colour again
  • Brand colour on interactive elements → backgrounds stay neutral so the colour retains its signal

Used as a bold background, brand colour communicates identity and energy. Used simultaneously on both backgrounds and buttons, it loses all signal — everything blends together.

Contrast and Whitespace as a Focal Point

Emphasis is not just about what you add (colour, size), but also what you remove (distraction).

The "Contrast + Space" Rule: To create a powerful focal point, combine a high-contrast element (or a bold brand colour) with generous whitespace (negative space) around it.

  • Isolation: Whitespace acts as a frame, isolating the primary action or message.
  • Visual Silence: By removing competing elements nearby, you ensure the user's eye has only one logical place to land.
  • Scale: A small high-contrast button in a large empty field can have more "pull" than a giant button in a crowded layout.

Use whitespace deliberately to "push" the user's attention toward the primary goal.

✓ Dark brand-colour hero section + white CTA button
✓ White page + brand-colour primary button
✗ Brand-colour hero section + brand-colour button on top of it

Weight and Contrast

Typography weight communicates importance within text and aids scannability.

  • Bold for meaning, not just emphasis. Avoid bolding individual words in isolation. Instead, bold the meaningful parts of a sentence or a complete phrase that carries the key information. This allows users to scan and understand the core message without reading the whole block.
  • Bold headings and labels. Use weight to distinguish the structure of the information from the information itself.
  • Regular weight for supporting content. Keep descriptions and secondary info in regular weight to provide a "rest area" for the eye.
  • Light or muted colour for metadata. Use low contrast for timestamps, secondary labels, or "fine print".

In data-heavy UIs (tables, dashboards), bold the primary metric or the row's identifying name. The eye should be able to jump from one bold anchor to the next to quickly locate data.

Text Over Imagery

Text legibility is often compromised when placed directly over photographs or complex patterns. To maintain hierarchy and credibility:

  • Subtle Text Shadow: Use a soft, high-blur text-shadow (e.g. 0 2px 4px rgba(0,0,0,0.2)) to lift text off the background. It should be felt rather than seen — if the shadow is obvious, it's too heavy.
  • Image Tints & Gradients: Apply a subtle dark tint or a linear gradient (e.g. from transparent to 40% black) over the image to increase contrast behind the text.
  • Selective Backgrounds: When selecting stock footage, look for images with "negative space" or solid color areas (e.g. a clear sky, a plain wall) where text can sit naturally.
  • Scrims: Use a "scrim" (a semi-transparent gradient overlay) specifically in the area where text sits to preserve the image's vibrant colours while ensuring text is readable.

Position as Emphasis

Users in left-to-right reading cultures scan top-left first. Position reinforces hierarchy:

  • Primary action: bottom-right of a form or dialog (natural end of the reading flow), or top-right of a page header
  • Most important content: top of the page, above the fold
  • Warnings and critical status: top of the affected section, not buried at the bottom
  • Destructive actions (Delete, Remove): visually separated from constructive actions, often at the end of an action group

One Primary Action Per View

The biggest hierarchy mistake is giving everything equal emphasis. When every button is filled, every heading is bold, and every card is highlighted, the user has no signal about where to start.

Rule: In any view, ask "what is the single most likely next action for most users?" Make that one thing visually dominant. Everything else recedes.

Cursor

Every clickable or interactive element must use cursor: pointer. Users rely on the cursor changing to confirm that an element is actionable — without it, buttons and links feel broken or unresponsive.

button, a, [role="button"], [onclick], label { cursor: pointer; }

Never leave interactive elements on the default cursor: auto. The one exception is text inputs, which correctly use cursor: text.

Review Checklist

  • Is there at most one primary (filled, brand-coloured) button per section?
  • Is the primary action framed by enough whitespace to stand out from surrounding content?
  • Are secondary and tertiary actions visually recessive compared to the primary?
  • Is the most important content positioned highest and/or largest?
  • Are size differences between hierarchy levels perceptible, not just 1–2px?
  • Is brand colour used sparingly enough that it retains its emphasis signal?
  • Are destructive actions visually distinct and separated from constructive actions?
  • Do all buttons, links, and interactive elements use cursor: pointer?
  • Does bold text appear only on genuinely important labels, values, or meaningful phrases?
  • Is text overlaid on images easily legible (using shadows, tints, or smart image selection)?

Common Anti-Patterns

Anti-patternProblemFix
Two or more filled primary buttons side by sideBoth feel equally important — no guidanceOne primary, one secondary (outlined)
Brand colour used on backgrounds, headers, AND buttonsColour loses emphasis signalReserve brand colour for one role
All text the same weight on a data-heavy screenNo visual entry point for the eyeBold the key metric or label per group
"Cancel" and "Confirm" buttons the same size and colourUser must read to distinguishPrimary = filled, Cancel = ghost or text link
White text over a bright or busy imageText is illegible or "vibrates"Add a subtle text-shadow, image tint, or select images with solid-color areas
Important warnings placed below the foldUsers miss themSurface critical status at the top of the affected section
Buttons changing size or shifting on interactionFeels unstable and unpolished ("squishy" UI)Maintain rock-solid layout; use color and internal feedback only

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.16%
按下载量换算84

Claude

30.61%
按下载量换算73

Cursor

17.2%
按下载量换算41

Gemini CLI

9.27%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills