Hicks Law Menus 标志

Hicks Law Menus

社区
Deibler
hicks-law-menus

Use this skill when designing menus, dropdowns, navigation, command palettes, or any interface where the user picks from a list. Trigger when the menu has more than ~7 items, when navigation feels overwhelming, when designing a cmd-K palette, when picking what goes in a "More" overflow, or when arguing about whether to add another menu item. Sub-aspect of `hicks-law`; read that first if you haven't already.

Add to TypingMind

概览

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

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Deibler/universal-design-principles/tree/main/plugins/cognition-and-learnability-principles/skills/hicks-law-menus
  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/cognition-and-learnability-principles/skills/hicks-law-menus .claude/skills/hicks-law-menus
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

一旦请求与技能匹配,模型就会自动加载 Hicks Law Menus。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Hick's Law in menus and navigation

Menus are the canonical Hick's Law surface — every item adds decision cost, and the structure of the menu determines whether that cost compounds or stays bounded. This skill covers the practical patterns for menus, dropdowns, navigation, and command palettes.

The menu-size ladder

Different menu sizes call for different interaction patterns:

1–4 items     →  inline buttons, tabs, or segmented control (all visible)
5–8 items     →  dropdown menu, sidebar nav (scan-friendly)
9–15 items    →  grouped dropdown with section headings
16–50 items   →  searchable combobox / dropdown with type-to-filter
50+ items     →  command palette (cmd-K) or full-page browser with filters

Picking the wrong rung is the most common Hick's Law failure: a <select> of 200 timezones, a sidebar of 30 flat items, a context menu with every conceivable action.

Top navigation

Top-level navigation should land at 5–7 items in left-to-right scripts. Beyond that, the eye can't hold the structure in working memory while picking.

If your IA naturally has more, group:

Sales | Marketing | Engineering | Finance | HR | Legal | Operations | IT | Facilities

→ regroups as

Departments | Projects | Reports | Settings

Where Departments opens a sub-menu with the 9 specifics.

The trade-off: sub-menus add a click. Worth it when the alternative is a wall of top-level items.

Sidebar navigation

Sidebar nav can hold more items than top nav (scrolling and grouping help), but the same rules apply within each group. Aim for groups of 3–7 items.

Workspace
  Dashboard
  Projects
  Team

Personal
  Profile
  Notifications

Account
  Billing
  Security
  Sign out

Three groups, each with 2–3 items. Total 8 items, but the user reads it as "3 things" then "the right thing within."

Dropdown menus (action menus)

A DropdownMenu triggered by a "more" button on a row, header, or toolbar. Common Hick's Law mistake: dumping every action into one menu.

Better:

  • Surface common actions inline (icon-buttons in the row); reserve the menu for the long tail.
  • Group menu items by purpose (Edit / Share / Move / Delete) with separators.
  • Put destructive actions at the bottom, after a separator (Serial Position Effect: visually distant from common items, also remembered better).
[Edit]
[Duplicate]
[Move to…]
[Share]
─────────
[Archive]
[Delete]    ← red, after separator

The user scans top-to-bottom; the structure aids the choice.

Command palettes (cmd-K)

The command palette is the modern answer to "we have hundreds of commands and can't surface them all." The pattern:

  1. User presses ⌘K (or types /).
  2. A search input appears.
  3. User types; results filter.
  4. User presses Enter on a result.

This collapses Hick's Law — the user no longer scans a long list, they recall a name (or fragment) and the system shows matches. Combined with:

  • Recents at the top (no typing required for recently-used commands).
  • Categorical groups ("Actions / Navigation / Files / Help") so even un-typed exploration is structured.
  • Fuzzy matching so partial recall ("invoic" matches "Create invoice") works.

Command palettes scale to hundreds of items because the interaction has changed.

Mobile menus

Mobile bottom-nav: 3–5 items, no more. The thumb can't reach more than ~5 targets across the bar comfortably, and the screen has no room for labels at higher counts.

If your app needs more entry points than 5, the bottom nav holds 4 primaries plus a "More" tab that opens a sheet with the rest.

Toolbars

Application toolbars (think Word, Figma, Notion's slash-menu) have the same Hick's Law problem at extreme scale. Strategies:

  • Tab the toolbar (Office's ribbon: Home / Insert / Layout / References / Mailings). Each tab shows ~10 actions; total may be 80, but visible at any moment is one tab's worth.
  • Contextual toolbars that show actions relevant to the current selection. The user never sees the irrelevant 90%.
  • Reserve the persistent toolbar for the 5–7 most-used actions across the entire app.

Anti-patterns

  • The "more is more" toolbar. All actions visible all the time. Looks powerful, performs slow.
  • The flat 50-item dropdown. A <select> with no grouping, no search. Hick's Law tax compounded by the lack of within-list navigation.
  • The context menu of doom. Right-click reveals 25 actions, none separated, none grouped, including 3 destructive ones interspersed. Users learn to fear right-click.
  • The "everything's a tab" pattern. A page with 8 tabs across the top. The user has to commit to one to see what's there; restructure as nav or sections.

Heuristics

  1. Count the visible options. On a glance, how many distinct things can the user pick? More than 7? Group, default, or hide the long tail.
  2. The fresh-user time-to-pick. Watch a new user pick from your menu. Time it. >5 seconds suggests Hick's Law cost is too high.
  3. The category test. Can you label every group of items with a single noun? If yes, your grouping is conceptually clean. If you find yourself reaching for "Misc," you have ungrouped items that need a home.

Related sub-skills

  • hicks-law (parent).
  • hicks-law-defaults — for menus where one option dominates probability.
  • hicks-law-pricing — for the menu of plan tiers as a conversion event.
  • recognition-over-recall — the principle behind why command palettes work.
  • chunking — the perceptual basis for grouping menu items.

附带文件

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

常见问题

Hicks Law Menus AI 技能有什么作用?

Use this skill when designing menus, dropdowns, navigation, command palettes, or any interface where the user picks from a list. Trigger when the menu has more than ~7 items, when navigation feels overwhelming, when designing a cmd-K palette, when picking what goes in a "More" overflow, or when arguing about whether to add another menu item. Sub-aspect of `hicks-law`; read that first if you haven't already.

为什么在 TypingMind 中使用 Hicks Law Menus?

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

如何在 TypingMind 中安装 Hicks Law Menus?

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

哪些 AI 模型可以使用 Hicks Law Menus?

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

Hicks Law Menus 可以搭配多少个 AI 模型使用?

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

Hicks Law Menus AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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