Ux Menus 标志

Ux Menus

组织
Uxcel-Lab
ux-menus

设计或评审 UI 菜单,为操作集合选择合适的菜单类型(下拉、级联、上下文、单选/多选、搜索、内嵌),并遵循菜单项排序、分组、标签和状态方面的最佳实践。当用户要求设计或评审菜单、下拉菜单、上下文菜单/右键菜单、溢出(⋮)菜单,或询问如何将操作整理到菜单中时触发。

Add to TypingMind

概览

发布者Uxcel-Lab
代码仓库product-skills
技能名称ux-menus
星标数
35
复刻数
8
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Uxcel-Lab/product-skills.git /tmp/product-skills
mkdir -p .claude/skills
cp -r /tmp/product-skills/ux/components/menus .claude/skills/ux-menus
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Menus Skill

How this skill behaves (read first)

This is a generative skill. The default failure modes: catch-all dropdowns (unrelated actions dumped into one menu), deep ambiguous nesting (cascading levels users get lost in), and unordered item lists (no prioritization, no grouping, jargon labels). A menu is a curated, ordered set of related actions — when it stops being that, the fix is changing the flow, not adding levels. This skill gates:

  1. Establish the action set — what actions, how related, how many, selection or command?
  2. Apply the always-true core — type from structure, priority ordering, grouping, labels, states.
  3. Surface the context-dependent decisions (cascading, contextual, search-in-menu, shortcuts) with trade-offs.

Then it hands off to ux-heuristics-audit, ux-accessibility-audit, ux-aesthetics-audit, and ux-microcopy-audit for validation.

Scope & composition (per docs/orchestration-policy.md §9): this skill owns menu structure and anatomy. Peers that own a sub-part (defer — each handles its sub-part if reached): ux-navigation owns where menus live in the overall navigation system (hamburger placement, mega menus, top bar vs. sidebar), and ux-selection-controls owns the choice between menus vs. radio/checkboxes for form selection.


Step 0 — Establish the action set

Ask if not known; state the assumption if proceeding without an answer:

  • Commands or selection? Triggering actions (Copy, Delete) vs. choosing values (filter options) — selection menus need selection indicators and single/multi-select decisions; command menus need verbs and possibly shortcuts.
  • How many items, how related? A menu only earns its place if the items belong together. Unrelated actions → split or rethink the flow. Very long lists → search menu or a different control.
  • Is there sub-structure? Real parent-child categories may justify cascading — but if children multiply, change the user flow instead.
  • Platform — contextual (right-click) menus are desktop-native; multiselect menus are hard on mobile; hover states need touch equivalents.

The always-apply core (correct for almost every case)

Pick the type from the structure of the choice

  • Basic dropdown — one pick from a simple list; closes on selection.
  • Single-select — mutually exclusive options with a clear selection indicator (checkmark, bold, overlay). Don't use it to launch modals or dynamic controls.
  • Multiselect — checkboxes/tags for combinable options; selected items always visible and removable in the menu input — never force backtracking to deselect.
  • Search menu — long lists (countries, languages): auto-suggest filtering as users type.
  • Contextual menu — frequent actions for the clicked element (right-click/long-press), appearing at the pointer, options varying by target.
  • Inline / overflow (⋮) menu — per-row actions in tables and lists (Edit, Delete, Download) without leaving the view.
  • Cascading menu — only for genuinely categorized actions (New → document types); see the gated table.

Order and group — this is where menus are won

  • Most-used items at the top. Don't hide critical options behind extra levels when space exists; working memory holds ~5–9 items, so the primary list carries the important actions, the rest go a level down or out.
  • Dividers cluster related items — pale lines, not separate menus; grouping makes the list scannable without clutter.
  • Scrolling is a smell: a scroll bar is mandatory if you scroll, but beyond a couple of wheel-turns of options, add search or change the flow.

Labels and icons

  • Labels say what happens — short, conventional ("Paste," not "Insert"), no jargon or wordplay; truncate unavoidable long labels with tooltip access; a wrapped label is a label that needs rewriting. Test labels (card sorting) — what's clear to you confuses users.
  • Leading icons before labels (LTR) — familiar, universal icons only (scissors = Cut); unfamiliar icons slow users down more than no icon.
  • Familiar selection marks — checkmark or ×; nothing inventive.

States and behavior

  • Hover/focus feedback on every item (subtle overlay, elevation, or border) and visible states for selected/disabled.
  • Predictable open/close: opens on tap/click, closes on outside click. No surprises.
  • Items ≥48×48px with comfortable padding — legibility and motor-impairment access.
  • Elevation (~8dp) separates the menu from the page — it should read as a floating, actionable surface.

The context-dependent decisions (surface, don't auto-apply)

DecisionApply whenAvoid / adapt whenDefault recommendation
Cascading menuTrue parent-child action categories; desktop, with room to unfoldMany/deep children (cumbersome, overwhelming); mobile; tight layouts — check unfold space with mockupsOne child level max; if it grows, restructure the flow
Contextual (right-click) menuDesktop power workflows; element-specific frequent actionsAs the only access to a function (undiscoverable); touch-first productsContext menu as accelerator; every action also reachable visibly
Search inside the menuLong lists where scrolling is tediousShort lists (overhead)Add when the list exceeds a couple of scroll-turns
Keyboard shortcuts shown in the menuProductivity tools with repeat actions (copy/cut/paste)Inventing non-standard shortcuts; shortcut-only accessStandard shortcuts on the most common commands, displayed in the menu
Multiselect patternHotkey+click, checkboxes, or tag collection — pick by audience and platformHotkey-based multiselect on mobile or for casual audiencesCheckboxes/tags; selections visible and removable in place
Icon-only inline menus (⋮)Dense tables needing per-row actionsBurying the row's single most important action in the overflowPrimary row action visible; secondary actions in ⋮

Validate the result (orchestration)

Hand-offs name each lens by its installable skill name. Invoke one only if that skill is installed; if it isn't, this skill's own core already carries these rules — proceed without it rather than blocking.

After generating or revising, hand the result to the audit lenses rather than declaring it done. These are candidate lenses — posture is set by docs/orchestration-policy.md, or route the whole thing through ux-design-review. Here, heuristics and microcopy are Tier A (auto-run); accessibility, aesthetics, information-architecture, and mobile-responsiveness are Tier B (offered) — under an existing design system aesthetics is suppressed and accessibility narrows to usage; mobile-responsiveness applies only on mobile. If the user invoked this skill for one specific thing, respect that scope.

  • ux-heuristics-audit (Tier A) — recognition over recall (visible critical options), consistency of behavior, user control (easy deselection, predictable dismissal).
  • ux-accessibility-audit (Tier B — offer; narrow under a design system) — keyboard navigation through items, 48px targets, contrast of labels and dividers, non-hover access to everything.
  • ux-aesthetics-audit (Tier B — offer; suppress under a design system) — spacing, elevation, grouping rhythm; whether the menu reads as one clean surface.
  • ux-microcopy-audit (Tier A) — label clarity, conventional verbs, truncation choices.
  • ux-information-architecture-audit (Tier B — offer) — whether the menu's grouping, depth, and label system match user mental models and carry information scent; this skill structures the menu surface, IA owns the category model behind it.
  • ux-mobile-responsiveness-audit (Tier B — offer; applies only on mobile) — when the context is mobile: touch targets, no hover-dependence, multiselect pattern fit.

If the audits surface a conflict (e.g., completeness vs. scannability), resolve back toward the primary task: the user opens a menu to act fast — every item competes for the same scan.


Common do/don't patterns

❌ Don't✅ Do
One dropdown holding every miscellaneous actionRelated actions only; restructure when it stops being a set
Three levels of cascading childrenOne child level; if it grows, change the flow
Alphabetical order regardless of useMost-used first; secondary items a level down
Flat list of 14 ungrouped itemsDividers clustering related actions
"Insert" when everyone says "Paste"Conventional, tested labels
Decorative or clever icons per itemUniversal icons only — or no icon
Right-click as the only way to deleteContextual menu as accelerator, visible path exists
Deselecting requires reopening and huntingSelected items shown and removable in place
Menu stays open on outside clickStandard open/close behavior
32px cramped rows≥48px items with breathing room
Ship without checkingHand off to heuristics + accessibility + aesthetics + microcopy

Source lessons (Uxcel)

常见问题

Ux Menus AI 技能有什么作用?

设计或评审 UI 菜单,为操作集合选择合适的菜单类型(下拉、级联、上下文、单选/多选、搜索、内嵌),并遵循菜单项排序、分组、标签和状态方面的最佳实践。当用户要求设计或评审菜单、下拉菜单、上下文菜单/右键菜单、溢出(⋮)菜单,或询问如何将操作整理到菜单中时触发。

为什么在 TypingMind 中使用 Ux Menus?

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

如何在 TypingMind 中安装 Ux Menus?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Uxcel-Lab/product-skills/tree/main/ux/components/menus。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ux Menus?

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

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

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

Ux Menus AI 技能免费吗?

是的。Uxcel-Lab 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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