Gestalt Similarity 标志

Gestalt Similarity

社区
Deibler
gestalt-similarity

Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity. Use when grouping related items in a list, status indicators, dashboard cards, navigation, or any context where you want the user to perceive certain items as a set. Similarity is one of the strongest grouping cues; it works even when proximity says otherwise. Color is the strongest similarity cue, then size, then shape; orientation is weakest.

概览

发布者Deibler
代码仓库universal-design-principles
技能名称gestalt-similarity
星标数
9
复刻数
3
附带文件
1
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 Deibler 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Gestalt Similarity AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Deibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Deibler/universal-design-principles.git /tmp/universal-design-principles
mkdir -p .claude/skills
cp -r /tmp/universal-design-principles/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity .claude/skills/gestalt-similarity
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Gestalt Similarity,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Gestalt Similarity。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Gestalt Similarity 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Gestalt Similarity

Definition. Similarity is the Gestalt principle that elements sharing visual attributes — color, shape, size, orientation, texture — are perceived as belonging together. Two red dots in a sea of blue dots form a group, even when they're not physically close. Three identical icons in a row of varied icons form a set. Items styled the same way "go together" in the user's perception, regardless of their position in the layout.

Similarity is one of the original Gestalt grouping principles, established by Wertheimer in the early 20th century. It's one of the strongest perceptual forces in visual design: the user's brain automatically segments the visual field into groups based on visual similarity, before any conscious analysis. Designs that exploit this segmentation work with the user's perception; designs that fight it work against it.

The hierarchy of similarity cues

Not all similarity is equally strong. Research consistently finds:

Color is the strongest grouping cue. Two items with the same color are perceived as a group even when many other attributes differ. Highlighting selected items with color is one of the most reliable design techniques.

Size is second. Items of the same size group together; different sizes form different groups. This is why heading hierarchy works — large text reads as one set (headings), smaller text as another set (body).

Shape is third. Items with the same shape group together. Round buttons read as a different set than square buttons. Cards of the same proportions feel like one set.

Orientation is weakest. Items oriented the same way group, but the cue is subtle. Useful for distinguishing axes (vertical vs. horizontal) more than for grouping items.

When you want to group items strongly, reach for color. When you want to distinguish groups, reach for color difference. Other similarity cues are reinforcement, not primary.

Why similarity matters

Similarity is doing two jobs at once:

It groups items that should be perceived together. A row of similar buttons reads as a button bar. A column of similarly-styled cards reads as a list. A set of items with the same icon reads as the same kind of thing.

It distinguishes items that should be perceived as different. A "destructive" button styled differently from "constructive" buttons signals its different role. A "primary" action styled differently from "secondary" actions reveals its priority. Status indicators in different colors communicate different states.

The principle is: make similar things look similar, and make different things look different. This sounds obvious and is often violated. Two visually-identical buttons that behave differently mislead the user. Two functionally-equivalent items styled differently fragment the user's perception.

Diagnosing similarity problems

Symptoms of similarity issues:

Users miss related items. They see one item but don't realize there are others "like it" elsewhere on the screen because the visual treatment doesn't link them.

Users confuse different items as the same. They click the destructive button thinking it was the constructive one because both are styled the same way.

A list looks fragmented. Items in the same list have inconsistent visual treatment, so the user can't see them as a coherent set.

Status is ambiguous. Without distinct visual treatment, statuses (active/inactive, success/failure, available/unavailable) blur together.

Sub-skills in this cluster

  • similarity-grouping — Using similarity to group related items: navigation items, status indicators, list items, dashboard cards.
  • similarity-and-contrast — Using deliberate dissimilarity (contrast) to distinguish items: primary vs. secondary actions, error states, emphasis.

Worked examples

Status indicators

A dashboard shows servers with various statuses: green check (healthy), yellow warning (slow), red X (down), gray dash (unknown).

Each status is consistently colored and shaped throughout the product. The color is the primary similarity cue (all greens are healthy), reinforced by shape (always a check) and color (always green). Users can scan a long list and identify all healthy servers at a glance.

A primary vs. secondary button distinction

A form has a primary "Submit" action and secondary "Cancel" and "Save Draft" actions.

The primary button uses a strong color (the brand color), bold weight, larger size. Secondary buttons use a neutral color, regular weight, same size as primary or slightly smaller. The contrast in color and weight makes the primary action immediately distinguishable.

If both buttons were styled the same way, users would have to read the labels to know which was primary. With clear similarity-based contrast, the primary button is recognizable at a glance.

A list with inconsistent styling

A settings page lists toggles for various options. Some toggles are styled with the system component (consistent shape, color, behavior); others are custom-styled with different colors and shapes. The user sees what should be a single list of toggles as a fragmented set of unrelated controls.

The fix: apply the same toggle component (and styling) to all options. Similarity unifies the list.

Highlighting selected items

A list shows multiple items, with two selected. The selected items are highlighted with a colored background (the brand color at 10% opacity). The non-selected items have no background.

The color similarity makes the selected set immediately visible — even if the items are spread across a long list. The user can see at a glance how many are selected.

If "selected" had been indicated with a small icon or subtle border instead, the similarity would be much weaker; users would have to scan to find selected items.

Different shapes for different roles

A toolbar has navigation buttons (square), action buttons (rounded), and link buttons (no background). The shape difference signals the different roles. Within each role, the buttons share the same shape and behave similarly.

This is similarity within roles and contrast between roles. Users learn the convention quickly because the shape is doing the categorization work.

Anti-patterns

Visual similarity without functional similarity. Two buttons that look identical but trigger different kinds of actions (one navigates, one submits a form). The visual mislead is dangerous.

Functional similarity without visual similarity. Two buttons with the same function styled differently because they appear in different parts of the UI. Users don't recognize them as related.

Color overload. Using too many colors so similarity by color loses meaning. Five colors with clear semantic roles (primary, secondary, success, warning, error) is better than fifteen colors used arbitrarily.

Subtle differences that don't communicate. Two button styles where the only difference is a 5% opacity change. Users can't perceive the difference, so the styling isn't doing distinguishing work.

Heavy similarity that masks real differences. When everything in the UI is styled the same way (every card looks the same, every list item looks the same), the user can't distinguish the things that genuinely warrant different treatment.

Heuristic checklist

Before settling on visual treatment, ask: Are similar items styled similarly, and different items styled differently? Mismatches cost user comprehension. Is color (the strongest cue) being used to group the things that most need grouping? If yes, reinforce with secondary cues. Are status indicators visually distinguishable beyond just color (for accessibility)? Pair color with shape or label. Does the design reduce to a recognizable pattern for the user? If users can predict that "this kind of item always looks like X," similarity is doing its job.

Related principles

  • Gestalt grouping principles generally — proximity, similarity, continuity, closure.
  • Proximity — items that are close in space group together; similarity reinforces or sometimes overrides proximity.
  • Color — color is the strongest similarity cue.
  • Hierarchy — similarity is one mechanism by which hierarchy is expressed.
  • Consistency — similarity within a product is what consistency feels like.
  • Signal-to-Noise Ratio — coherent similarity reduces visual noise.

See also

  • references/lineage.md — origins in Gestalt psychology and design.
  • similarity-grouping/ — sub-skill on using similarity to create groups.
  • similarity-and-contrast/ — sub-skill on using contrast to distinguish.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Gestalt Similarity AI 技能有什么作用?

Apply the Gestalt principle of Similarity — elements that share visual attributes (color, shape, size, orientation) are perceived as belonging together, regardless of their physical proximity. Use when grouping related items in a list, status indicators, dashboard cards, navigation, or any context where you want the user to perceive certain items as a set. Similarity is one of the strongest grouping cues; it works even when proximity says otherwise. Color is the strongest similarity cue, then size, then shape; orientation is weakest.

为什么在 TypingMind 中使用 Gestalt Similarity?

因为您只需安装一次,就能搭配任何模型使用。Gestalt Similarity 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Gestalt Similarity?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Deibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/gestalt-similarity。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Gestalt Similarity?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Gestalt Similarity 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Gestalt Similarity 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Gestalt Similarity AI 技能免费吗?

Deibler 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇