[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-f3ec22ed-aec3-4712-92a4-5a153390b6c6":3,"$ftvKy236z4OVzfWctsRjh8myMzqWYc5GxRPuoUfxwG40":42},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":33},"f3ec22ed-aec3-4712-92a4-5a153390b6c6","hig-components-menus","检查提问前是否已查看.claude\u002Fapple-design-context.md。使用现有上下文，只询问尚未涵盖的信息。","cat_coding_backend","mod_coding","sickn33,coding","---\nname: hig-components-menus\ndescription: \"Check for .claude\u002Fapple-design-context.md before asking questions. Use existing context and only ask for information not already covered.\"\nrisk: unknown\nsource: community\ndate_added: '2026-02-27'\n---\n\n# Apple HIG: Menus and Buttons\n\nCheck for `.claude\u002Fapple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Menus should be contextual and predictable.** Standard items in standard locations. Follow platform conventions for ordering and grouping.\n\n2. **Use standard button styles.** System-defined styles communicate affordance and maintain visual consistency. Prefer them over custom designs.\n\n3. **Toolbars for frequent actions.** Most commonly used commands in the toolbar. Rarely used actions belong in menus.\n\n4. **Menu bar is the primary command interface on macOS.** Every command reachable from the menu bar. Toolbars and context menus supplement, not replace.\n\n5. **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.\n\n6. **Pop-up buttons for mutually exclusive choices.** Select exactly one option from a set.\n\n7. **Pull-down buttons for action lists.** No current selection; they offer a set of commands.\n\n8. **Action buttons consolidate related actions** behind a single icon in toolbars or title bars.\n\n9. **Disclosure controls for progressive disclosure.** Show or hide additional content.\n\n10. **Dock menus: short and focused** on the most useful actions when the app is running.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [menus.md](references\u002Fmenus.md) | General menu design | Item ordering, grouping, shortcuts |\n| [context-menus.md](references\u002Fcontext-menus.md) | Context menus | Right-click, long press, secondary actions |\n| [dock-menus.md](references\u002Fdock-menus.md) | Dock menus | macOS app-level actions, running state |\n| [edit-menus.md](references\u002Fedit-menus.md) | Edit menus | Undo, copy, paste, standard items |\n| [the-menu-bar.md](references\u002Fthe-menu-bar.md) | Menu bar | macOS primary command interface, structure |\n| [toolbars.md](references\u002Ftoolbars.md) | Toolbars | Frequent actions, customization, placement |\n| [buttons.md](references\u002Fbuttons.md) | Buttons | System styles, sizing, affordance |\n| [action-button.md](references\u002Faction-button.md) | Action button | Grouped secondary actions, toolbar use |\n| [pop-up-buttons.md](references\u002Fpop-up-buttons.md) | Pop-up buttons | Mutually exclusive choice selection |\n| [pull-down-buttons.md](references\u002Fpull-down-buttons.md) | Pull-down buttons | Action lists, no current selection |\n| [disclosure-controls.md](references\u002Fdisclosure-controls.md) | Disclosure controls | Progressive disclosure, show\u002Fhide |\n\n## Output Format\n\n1. **Component recommendation** -- which menu or button type and why.\n2. **Visual hierarchy** -- placement, sizing, grouping within the interface.\n3. **Platform-specific behavior** across iOS, iPadOS, macOS, visionOS.\n4. **Keyboard shortcuts** (macOS) -- standard and custom shortcuts for menu items and toolbar actions.\n\n## Questions to Ask\n\n1. Which platforms?\n2. Primary or secondary action?\n3. How many actions need to be available?\n4. macOS menu bar app?\n\n## Related Skills\n\n- **hig-components-search** -- Search fields, page controls alongside toolbars and menus\n- **hig-components-controls** -- Toggles, pickers, segmented controls complementing buttons\n- **hig-components-dialogs** -- Alerts, sheets, popovers triggered by menu items or buttons\n- **hig-inputs** -- Keyboard shortcuts and pointer interactions with menus and toolbars\n\n---\n\n*Built by [Raintree Technology](https:\u002F\u002Fraintree.technology) · [More developer tools](https:\u002F\u002Fraintree.technology)*\n\n## When to Use\nThis skill is applicable to execute the workflow or actions described in the overview.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,248,1056,"2026-05-16 13:21:56",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"编程开发","coding","mdi-code-braces","代码生成、调试、审查，提升开发效率",2,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":25,"skillCount":32,"createdAt":26},"后端开发","backend","mdi-server","API、数据库、服务端架构",296,[34],{"id":35,"skillId":4,"version":36,"fileName":37,"fileSize":38,"filePath":39,"fileHash":40,"manifest":41,"createdAt":19},"e78b8185-c749-4d56-8440-c8c8bdb3da57","1.0.0","hig-components-menus.zip",50900,"uploads\u002Fskills\u002Ff3ec22ed-aec3-4712-92a4-5a153390b6c6\u002Fhig-components-menus.zip","435d0abac054b54da0ccd81ffefd9c8e4db8a1fd8e58ea6c9aacad76352f1fd8","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":4254},{\"path\":\"references\u002Faction-button.md\",\"isDirectory\":false,\"size\":6360},{\"path\":\"references\u002Fbuttons.md\",\"isDirectory\":false,\"size\":26120},{\"path\":\"references\u002Fcontext-menus.md\",\"isDirectory\":false,\"size\":10871},{\"path\":\"references\u002Fdisclosure-controls.md\",\"isDirectory\":false,\"size\":6593},{\"path\":\"references\u002Fdock-menus.md\",\"isDirectory\":false,\"size\":2994},{\"path\":\"references\u002Fedit-menus.md\",\"isDirectory\":false,\"size\":7964},{\"path\":\"references\u002Fmenus.md\",\"isDirectory\":false,\"size\":20061},{\"path\":\"references\u002Fpop-up-buttons.md\",\"isDirectory\":false,\"size\":4919},{\"path\":\"references\u002Fpull-down-buttons.md\",\"isDirectory\":false,\"size\":6603},{\"path\":\"references\u002Fthe-menu-bar.md\",\"isDirectory\":false,\"size\":31839},{\"path\":\"references\u002Ftoolbars.md\",\"isDirectory\":false,\"size\":27187}]",{"code":43,"message":44,"data":45},200,"success",{"items":46,"stats":47,"page":50},[],{"averageRating":48,"totalRatings":48,"ratingCounts":49},0,[48,48,48,48,48],{"limit":51,"offset":48,"hasMore":52,"nextOffset":51,"ratedOnly":16},15,false]