macos
Intent
- 用于 macOS 平台规范问题:当用户要做桌面端菜单栏、工具栏、窗口、多窗口、快捷键、指针行为、Mac Catalyst 或原生桌面交互规则时使用。Prefer
swiftui-expert-skillwhen the task is SwiftUI 实现细节而不是 Mac 平台行为;Combine with it when Mac 平台规则需要落到 SwiftUI 代码实现。
Default operating pattern
- Identify the target platform, form factor, and native system constraints.
- Choose native patterns before inventing custom behavior.
- Translate platform rules into implementable UI, architecture, or code guidance.
- Check accessibility, ergonomics, lifecycle, and integration edges.
- Return a concrete implementation path instead of vague platform advice.
Pack fit
- Included in:
platform-apps - Keep examples generic, privacy-safe, and portable across hosts.
Boundary
- Do not collapse Mac desktop questions into generic web-navigation advice.