跳到主要内容
知仓学习社ZHICANG

hig-components-menus

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

不碰外部(只输出文字)无严重或高危命中sickn33/agentic-awesome-skills

它会碰到什么

扫了多少12 个文本文件,152 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Apple HIG: Menus and Buttons

Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.

Key Principles

  1. Menus should be contextual and predictable. Standard items in standard locations. Follow platform conventions for ordering and grouping.
  1. Use standard button styles. System-defined styles communicate affordance and maintain visual consistency. Prefer them over custom designs.
  1. Toolbars for frequent actions. Most commonly used commands in the toolbar. Rarely used actions belong in menus.
  1. Menu bar is the primary command interface on macOS. Every command reachable from the menu bar. Toolbars and context menus supplement, not replace.
  1. Context menus for secondary actions. Right-click or long-press, relevant to the item under the pointer. Never put a command only in a context menu.
  1. Pop-up buttons for mutually exclusive choices. Select exactly one option from a set.
  1. Pull-down buttons for action lists. No current selection; they offer a set of commands.
  1. Action buttons consolidate related actions behind a single icon in toolbars or title bars.
  1. Disclosure controls for progressive disclosure. Show or hide additional content.
  1. Dock menus: short and focused on the most useful actions when the app is running.

Reference Index

| Reference | Topic | Key content |

|---|---|---|

| [menus.md](references/menus.md) | General menu design | Item ordering, grouping, shortcuts |

| [context-menus.md](references/context-menus.md) | Context menus | Right-click, long press, secondary actions |

| [dock-menus.md](references/dock-menus.md) | Dock menus | macOS app-level actions, running state |

| [edit-menus.md](references/edit-menus.md) | Edit menus | Undo, copy, paste, standard items |

| [the-menu-bar.md](references/the-menu-bar.md) | Menu bar | macOS primary command interface, structure |

| [toolbars.md](references/toolbars.md) | Toolbars | Frequent actions, customization, placement |

| [buttons.md](references/buttons.md) | Buttons | System styles, sizing, affordance |

| [action-button.md](references/action-button.md) | Action button | Grouped secondary actions, toolbar use |

| [pop-up-buttons.md](references/pop-up-buttons.md) | Pop-up buttons | Mutually exclusive choice selection |

| [pull-down-buttons.md](references/pull-down-buttons.md) | Pull-down buttons | Action lists, no current selection |

| [disclosure-controls.md](references/disclosure-controls.md) | Disclosure controls | Progressive disclosure, show/hide |

Output Format

  1. Component recommendation -- which menu or button type and why.
  2. Visual hierarchy -- placement, sizing, grouping within the interface.
  3. Platform-specific behavior across iOS, iPadOS, macOS, visionOS.
  4. Keyboard shortcuts (macOS) -- standard and custom shortcuts for menu items and toolbar actions.

Questions to Ask

  1. Which platforms?
  2. Primary or secondary action?
  3. How many actions need to be available?
  4. macOS menu bar app?

Related Skills

  • hig-components-search -- Search fields, page controls alongside toolbars and menus
  • hig-components-controls -- Toggles, pickers, segmented controls complementing buttons
  • hig-components-dialogs -- Alerts, sheets, popovers triggered by menu items or buttons
  • hig-inputs -- Keyboard shortcuts and pointer interactions with menus and toolbars

Built by Raintree Technology · More developer tools

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Example

User request:

> Check for .claude/apple-design-context.md before asking questions.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

同名技能的其他版本

有 3 个不同仓库或目录里都有叫 hig-components-menus 的技能。它们内容并不相同,别混用: