关于 apple-hig-skills
apple-hig-skills 收录 14 个编码 Apple 人机界面指南的 Agent 技能,供面向 Apple 平台的设计师和开发者使用。内容按平台、组件、输入方式、模式和技术划分,并提供共享项目上下文技能。
主要功能
- 01覆盖五种 Apple 平台
- 02组件专属设计指南
- 03输入方式与交互模式
- 04无障碍和技术指南
- 05共享项目平台上下文
适用场景
- 01核对平台专属界面行为
- 02查找 UI 组件设计指南
- 03检查输入与无障碍考量
- 04记录项目目标平台以辅助指导
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ podo/ design-agent-skills --skill apple-hig-skills安装后在 Claude Code 中输入/apple-hig-skills确认已加载。
附带文件stub.yaml
详细介绍
apple-hig-skills
目录条目占位页 — 完整软件包:raintree-technology/hig-doctor(由
apple-hig-skills更名而来)
决策树
-
是否已安装完整技能? 此软件包会安装 14 个技能(
hig-foundations、hig-platforms、hig-components-controls、hig-components-layout、hig-components-menus、hig-components-dialogs、hig-components-status、hig-components-search、hig-components-system、hig-components-content、hig-inputs、hig-patterns、hig-technologies、hig-project-context);先检查第一个。- 全局:
f=~/.agents/skills/hig-foundations/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" - 项目:
f=.agents/skills/hig-foundations/SKILL.md; [ -f "$f" ] && ! grep -q "^das:" "$f" && echo "installed" || echo "pointer" installed→ 技能已作为hig-foundations安装;调用它并继续pointer→ 转到第 2 步
- 全局:
-
检测范围,然后安装:
[ -e ~/.agents/skills/apple-hig-skills ] && echo "global" || echo "project"全局:
npx skills add raintree-technology/hig-doctor --skill hig-foundations hig-platforms hig-components-controls hig-components-layout hig-components-menus hig-components-dialogs hig-components-status hig-components-search hig-components-system hig-components-content hig-inputs hig-patterns hig-technologies hig-project-context -g -y项目:
npx skills add raintree-technology/hig-doctor --skill hig-foundations hig-platforms hig-components-controls hig-components-layout hig-components-menus hig-components-dialogs hig-components-status hig-components-search hig-components-system hig-components-content hig-inputs hig-patterns hig-technologies hig-project-context -yClaude Code: 发送以
!开头的命令作为聊天消息,即可在不离开对话的情况下运行。
Claude Code 插件方式:
/plugin marketplace add raintree-technology/hig-doctor
/plugin install apple-hig-skills@apple-hig-skills
注意
- 许可证: MIT(工具;Apple 参考内容已注明出处,详见上游 THIRD_PARTY_NOTICES.md)
安装后调用
按平台或组件类别调用:
hig-foundations— 颜色、字体排印、布局、材质hig-platforms— iOS、macOS、visionOS、watchOS、tvOS 的具体内容hig-components-controls— 按钮、切换开关、滑块hig-components-layout— 导航栏、标签栏、工具栏hig-components-menus— 上下文菜单、操作表、选择器hig-components-dialogs— 警告框、确认框、工作表hig-components-status— 进度指示器和状态 UIhig-components-search— 搜索字段和导航相关组件hig-components-system— 小组件、Live Activities、通知、App Clipshig-components-content— 内容展示组件hig-inputs— 手势、Pencil、键盘、控制器、指针hig-patterns— 加载、引导、模态hig-technologies— Siri、Apple Pay、HealthKit、VoiceOver 和其他集成hig-project-context— 将目标平台记录到共享上下文文件中,供其他技能读取
触发短语:“Apple HIG”、“iOS 设计”、“macOS 设计”、“visionOS”
功能
将 Apple《人机界面指南》编码为结构化 Agent 技能。涵盖所有 Apple 平台(iOS、macOS、visionOS、watchOS、tvOS),包括特定平台的组件行为、导航模式、字体排印比例、无障碍要求和 HIG 指南。hig-project-context 会在项目中写入 .claude/apple-design-context.md,让其他技能无需重复提问即可提供针对性建议。来自 apple.raintree.technology 背后的团队。
不适用场景
- 源代码合规性扫描和 CI 门禁 — 请使用
hig-doctor占位条目;它会从同一代码库安装上游的hig-doctor-audit技能(审计 CLI 和 MCP 服务也位于该代码库中) - 需要 SwiftUI 实现模式而非 HIG 指南 — 请使用
swiftui-design-skill或swiftui-patterns - Material Design 或跨平台指南 — 请使用
material-3-skill或platform-design-skills