Chuyển đến nội dung
Skillpedia
Giao diện (UI/UX)48k · #4814

hig-components-menus

Skill này làm gì

Agent AI này giúp thiết kế menu và nút bấm cho ứng dụng, theo hướng dẫn thiết kế của Apple. Nó gợi ý loại menu và nút nào nên dùng và cách sắp xếp chúng để thân thiện với người dùng và nhất quán về thị giác.

Khi nào nên dùng

  • ✓Khi tạo ứng dụng mới và quyết định cách người dùng tương tác với các lệnh.
  • ✓Khi thiết kế lại giao diện ứng dụng hiện có để trực quan hơn.
  • ✓Khi đảm bảo các nút và menu của ứng dụng tuân theo thực hành thiết kế tốt nhất của Apple.

Liên kết skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-menus/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/hig-components-menus/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để sắp xếp các lệnh trong menu cho một ứng dụng macOS?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Nó phân tích các nguyên tắc thiết kế của Apple cho menu và nút, như làm chúng dễ đoán và dùng kiểu chuẩn. Dựa trên nhu cầu của bạn (ứng dụng chạy trên nền tảng nào và có bao nhiêu lệnh), nó đề xuất lựa chọn tốt nhất và cách triển khai.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

  2. Use standard button styles. System-defined styles communicate affordance and maintain visual consistency. Prefer them over custom designs.

  3. Toolbars for frequent actions. Most commonly used commands in the toolbar. Rarely used actions belong in menus.

  4. Menu bar is the primary command interface on macOS. Every command reachable from the menu bar. Toolbars and context menus supplement, not replace.

  5. 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.

  6. Pop-up buttons for mutually exclusive choices. Select exactly one option from a set.

  7. Pull-down buttons for action lists. No current selection; they offer a set of commands.

  8. Action buttons consolidate related actions behind a single icon in toolbars or title bars.

  9. Disclosure controls for progressive disclosure. Show or hide additional content.

  10. Dock menus: short and focused on the most useful actions when the app is running.

Reference Index

Reference Topic Key content
menus.md General menu design Item ordering, grouping, shortcuts
context-menus.md Context menus Right-click, long press, secondary actions
dock-menus.md Dock menus macOS app-level actions, running state
edit-menus.md Edit menus Undo, copy, paste, standard items
the-menu-bar.md Menu bar macOS primary command interface, structure
toolbars.md Toolbars Frequent actions, customization, placement
buttons.md Buttons System styles, sizing, affordance
action-button.md Action button Grouped secondary actions, toolbar use
pop-up-buttons.md Pop-up buttons Mutually exclusive choice selection
pull-down-buttons.md Pull-down buttons Action lists, no current selection
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.
Câu hỏi thường gặp

“Context menu” là gì?

Đây là menu xuất hiện khi bạn nhấn chuột phải (hoặc nhấn giữ) vào một mục cụ thể, hiển thị các hành động chỉ liên quan đến mục đó.

Khác biệt giữa “pop-up button” và “pull-down button” là gì?

Pop-up button dùng để chọn một tùy chọn trong một tập hợp (chỉ một lựa chọn được chọn). Pull-down button dùng cho danh sách hành động mà không có lựa chọn hiện tại.

“Progressive disclosure” nghĩa là gì?

Đó là hiển thị hoặc ẩn thêm nội dung khi người dùng cần, để giữ giao diện gọn gàng. Các điều khiển mở rộng giúp thực hiện điều này.

Chi tiết

Mô tả gốc của tác giả

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

repo: sickn33/agentic-awesome-skills

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4814
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự