跳转到主要内容

MacOS 设计指南

技能 已验证 活跃

Apple Human Interface Guidelines for Mac。用于构建使用 SwiftUI 或 AppKit 的 macOS 应用、实现菜单栏、工具栏、窗口管理或键盘快捷键时使用。在涉及 Mac UI、桌面应用或 Mac Catalyst 的任务上触发。

目的

为开发人员提供遵循 Apple 人机界面指南构建 macOS 应用程序的全面且可操作的指南,确保原生且用户友好的体验。

功能

  • macOS HIG 的详细规则
  • SwiftUI 和 AppKit 代码示例
  • 菜单栏、窗口和工具栏的指南
  • 键盘快捷键和指针交互最佳实践
  • 可访问性和视觉设计标准

使用场景

  • 使用 SwiftUI 或 AppKit 构建原生 macOS 应用程序
  • 审查 Mac 应用 UI 代码是否符合 HIG
  • 实现标准的 macOS 界面元素和行为
  • 确保 Mac 用户的可访问性和键盘驱动交互

非目标

  • 提供通用的 iOS 或 watchOS HIG
  • 涵盖 Web 或 Android 设计原则
  • 提供超出 Apple 官方 HIG 的意见
  • 取代 IDE 或开发工具本身

实践

  • UI 设计
  • 人机界面指南
  • 可访问性
  • 代码质量

先决条件

  • macOS 开发环境 (Xcode)
  • 熟悉 SwiftUI 或 AppKit

安装

npx skills add ehmo/platform-design-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交about 2 months ago
GitHub 所有者 ehmo (opens in new tab)
星标362
许可证MIT
状态
查看源代码

类似扩展

Design Workflow

100

Anti-AI-generic design guidelines. Use when creating UI prototypes, reviewing designs for generic AI patterns, or setting up a project design system.

技能
spartan-stratos

Macos Design

100

Design and build native-feeling macOS application UIs. Use this skill whenever the user asks to create a desktop app, macOS app, Mac-style interface, Apple-style UI, system utility, or anything that should look and feel like a native Mac application. Also trigger when users mention "native feel", "desktop app design", "Apple design patterns", "sidebar layout", "traffic lights", or want to build tools/utilities that feel like they belong on macOS. This skill covers layout, composition, interaction patterns, animations, light/dark mode, and all the subtle details that make an app feel like Apple built it.

技能
davepoon

Ios Design Guidelines

99

适用于 iPhone 的 Apple 人机界面指南。在为 iOS 构建、审查或重构 SwiftUI/UIKit 界面时使用。在涉及 iPhone UI、iOS 组件、可访问性、动态类型、深色模式或 HIG 合规性的任务上触发。

技能
ehmo

Swift Expert

99

Builds iOS/macOS/watchOS/tvOS applications, implements SwiftUI views and state management, designs protocol-oriented architectures, handles async/await concurrency, implements actors for thread safety, and debugs Swift-specific issues. Use when building iOS/macOS applications with Swift 5.9+, SwiftUI, or async/await concurrency. Invoke for protocol-oriented programming, SwiftUI state management, actors, server-side Swift, UIKit integration, Combine, or Vapor.

技能
jeffallan

Ios Hig Design Guide

98

Build, update, and apply iOS design specifications using Apple Human Interface Guidelines (HIG) source data. Use when a task asks for iOS UI/UX rules, Apple design standards, component behavior, accessibility constraints, interaction patterns, or feature-level design-spec writing grounded in official HIG pages.

技能
davepoon

IPadOS 设计指南

98

Apple iPadOS 的人机界面指南。适用于构建针对 iPad 优化的界面、实现多任务处理、指针支持、键盘快捷键或响应式布局。在处理与 iPad、分栏视图、台前调度、侧边栏导航或触控板支持相关的任务时触发。

技能
ehmo