hig-patterns by raintree-technology/apple-hig-skills
npx skills add https://github.com/raintree-technology/apple-hig-skills --skill hig-patterns提问前请检查 .claude/apple-design-context.md。使用现有上下文,仅询问未涵盖的信息。
最小化模态。 仅在必须吸引注意力、任务必须完成或放弃、或保存更改至关重要时使用模态。优先选择非模态替代方案。
提供清晰的反馈。 每个操作都应产生可见、可听或触觉的响应。不确定等待时使用活动指示器,确定等待时使用进度条,物理确认时使用触觉反馈。
支持撤销而非确认对话框。 破坏性操作应尽可能可逆。撤销几乎总是比“你确定吗?”更好。
快速启动。 显示一个启动屏幕,并无缝过渡到第一个屏幕。不要使用带有徽标的启动画面。恢复之前的状态。
推迟登录。 让用户在需要创建账户前先进行探索。支持“通过 Apple 登录”和通行密钥。
保持引导简洁。 最多三个屏幕。允许用户跳过。通过渐进式呈现和上下文提示进行教学。
使用渐进式呈现。 首先显示基本内容,让用户深入了解细节。不要在一个屏幕上展示所有选项,以免让用户不知所措。
尊重用户注意力。 整合通知,尽量减少干扰,让用户控制提醒。切勿将通知用于营销目的。
| 参考 | 主题 | 关键内容 |
|---|---|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| charting-data.md |
| 图表数据 |
| 数据可视化模式、无障碍图表、交互元素 |
| collaboration-and-sharing.md | 协作与共享 | 共享表单、活动视图、协作编辑、SharePlay |
| drag-and-drop.md | 拖放 | 拖拽源、放置目标、弹簧加载、多项目拖拽、视觉反馈 |
| entering-data.md | 输入数据 | 文本字段、选择器、步进器、输入验证、键盘类型、自动填充 |
| feedback.md | 反馈 | 警告、操作菜单、触觉模式、声音反馈、视觉指示器 |
| file-management.md | 文件管理 | 文档浏览器、文件提供程序、iCloud 集成、文档生命周期 |
| going-full-screen.md | 进入全屏 | 全屏过渡、沉浸式内容、退出全屏 |
| launching.md | 启动 | 启动屏幕、状态恢复、冷启动与热启动 |
| live-viewing-apps.md | 实时查看应用 | 实时内容显示、实时更新、实时活动、灵动岛 |
| loading.md | 加载 | 活动指示器、进度视图、骨架屏、懒加载、占位符 |
| managing-accounts.md | 管理账户 | 通过 Apple 登录、通行密钥、账户创建、凭证自动填充、账户删除 |
| managing-notifications.md | 管理通知 | 权限请求、分组、可操作通知、临时性发送 |
| modality.md | 模态 | 表单、警告、弹出窗口、全屏模态、各自的使用时机 |
| multitasking.md | 多任务处理 | iPad 分屏视图、侧拉、台前调度、响应式布局、尺寸类别过渡 |
| offering-help.md | 提供帮助 | 上下文提示、引导提示、帮助菜单、支持链接 |
| onboarding.md | 引导 | 欢迎屏幕、功能亮点、渐进式引导、跳过选项 |
| playing-audio.md | 播放音频 | 音频会话、后台音频、正在播放、音频路由、中断 |
| playing-haptics.md | 播放触觉反馈 | Core Haptics、UIFeedbackGenerator、触觉模式、自定义触觉反馈 |
| playing-video.md | 播放视频 | 视频播放器控件、画中画、AirPlay、全屏视频 |
| printing.md | 打印 | 打印对话框、页面设置、AirPrint 集成 |
| ratings-and-reviews.md | 评分与评价 | SKStoreReviewController、时机、频率限制、应用内反馈 |
| searching.md | 搜索 | 搜索栏、建议、范围搜索、结果显示、最近搜索 |
| settings.md | 设置 | 应用内设置与系统设置应用、偏好设置组织、开关、默认值 |
| undo-and-redo.md | 撤销与重做 | 摇动撤销、撤销/重做栈、多级撤销 |
| workouts.md | 体能训练 | 体能训练会话、实时指标、始终显示、摘要、HealthKit |
| 用户目标 | 推荐模式 | 避免 |
|---|---|---|
| 首次应用体验 | 简洁引导(最多 3 个屏幕)+ 渐进式呈现 | 冗长的教程、强制注册 |
| 等待内容 | 骨架屏或进度指示器 | 无上下文的阻塞式旋转器 |
| 确认破坏性操作 | 撤销支持 | 过多的“你确定吗?”对话框 |
| 收集用户输入 | 内联验证、智能默认值、自动填充 | 简单输入使用模态表单 |
| 请求权限 | 上下文相关、适时请求并附带解释 | 在启动时请求所有权限 |
| 提供反馈 | 触觉反馈 + 视觉指示器 | 无确认的静默操作 |
| 组织偏好设置 | 常用项使用应用内设置 | 将所有设置隐藏在系统设置应用中 |
Built byRaintree Technology · More developer tools
每周安装量
81
代码仓库
GitHub 星标数
28
首次出现
2026年2月15日
安全审计
安装于
opencode79
github-copilot77
codex76
cursor76
gemini-cli75
amp75
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
Minimize modality. Use modality only when it is critical to get attention, a task must be completed or abandoned, or saving changes is essential. Prefer non-modal alternatives.
Provide clear feedback. Every action should produce visible, audible, or haptic response. Activity indicators for indeterminate waits, progress bars for determinate, haptics for physical confirmation.
Support undo over confirmation dialogs. Destructive actions should be reversible when possible. Undo is almost always better than "Are you sure?"
Launch quickly. Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state.
Defer sign-in. Let users explore before requiring account creation. Support Sign in with Apple and passkeys.
Keep onboarding brief. Three screens max. Let users skip. Teach through progressive disclosure and contextual hints.
Use progressive disclosure. Show essentials first, let users drill into details. Don't overwhelm with every option on one screen.
Respect user attention. Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing.
| Reference | Topic | Key content |
|---|---|---|
| charting-data.md | Charting Data | Data visualization patterns, accessible charts, interactive elements |
| collaboration-and-sharing.md | Collaboration & Sharing | Share sheets, activity views, collaborative editing, SharePlay |
| drag-and-drop.md | Drag and Drop | Drag sources, drop targets, spring loading, multi-item drag, visual feedback |
| entering-data.md | Entering Data | Text fields, pickers, steppers, input validation, keyboard types, autofill |
| feedback.md | Feedback | Alerts, action sheets, haptic patterns, sound feedback, visual indicators |
| User Goal | Recommended Pattern | Avoid |
|---|---|---|
| First app experience | Brief onboarding (max 3 screens) + progressive disclosure | Long tutorials, mandatory sign-up |
| Waiting for content | Skeleton screens or progress indicators | Blocking spinners with no context |
| Confirming destructive action | Undo support | Excessive "Are you sure?" dialogs |
| Collecting user input | Inline validation, smart defaults, autofill | Modal forms for simple inputs |
| Requesting permissions | Contextual, just-in-time with explanation | Requesting all permissions at launch |
| Providing feedback | Haptics + visual indicator | Silent actions with no confirmation |
| Organizing preferences | In-app settings for frequent items | Burying all settings in system Settings app |
Built byRaintree Technology · More developer tools
Weekly Installs
81
Repository
GitHub Stars
28
First Seen
Feb 15, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode79
github-copilot77
codex76
cursor76
gemini-cli75
amp75
前端设计技能指南:避免AI垃圾美学,打造独特生产级界面
46,600 周安装
Mock Generator:自动生成测试模拟对象、桩和夹具,支持Jest/Vitest/Pytest等框架
2 周安装
Express.js API生成器 - TypeScript REST API脚手架工具,快速构建结构化后端
2 周安装
依赖漏洞扫描器 - 一键安全审计 npm/pip/Cargo 项目依赖,修复 CVE 漏洞
2 周安装
Codex配置写作技能 - 提升AI辅助编程与文档编写效率的GitHub工具
2 周安装
OpenAI文档配置工具 - 优化Codex集成与API调用设置
2 周安装
iOS SpriteKit 游戏开发框架配置工具 - 优化游戏开发流程
2 周安装
| file-management.md | File Management | Document browser, file providers, iCloud integration, document lifecycle |
| going-full-screen.md | Going Full Screen | Full-screen transitions, immersive content, exiting full screen |
| launching.md | Launching | Launch screens, state restoration, cold vs warm launch |
| live-viewing-apps.md | Live Viewing Apps | Live content display, real-time updates, Live Activities, Dynamic Island |
| loading.md | Loading | Activity indicators, progress views, skeleton screens, lazy loading, placeholders |
| managing-accounts.md | Managing Accounts | Sign in with Apple, passkeys, account creation, credential autofill, account deletion |
| managing-notifications.md | Managing Notifications | Permission requests, grouping, actionable notifications, provisional delivery |
| modality.md | Modality | Sheets, alerts, popovers, full-screen modals, when to use each |
| multitasking.md | Multitasking | iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions |
| offering-help.md | Offering Help | Contextual tips, onboarding hints, help menus, support links |
| onboarding.md | Onboarding | Welcome screens, feature highlights, progressive onboarding, skip options |
| playing-audio.md | Playing Audio | Audio sessions, background audio, Now Playing, audio routing, interruptions |
| playing-haptics.md | Playing Haptics | Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics |
| playing-video.md | Playing Video | Video player controls, picture-in-picture, AirPlay, full-screen video |
| printing.md | Printing | Print dialogs, page setup, AirPrint integration |
| ratings-and-reviews.md | Ratings & Reviews | SKStoreReviewController, timing, frequency limits, in-app feedback |
| searching.md | Searching | Search bars, suggestions, scoped search, results display, recents |
| settings.md | Settings | In-app vs Settings app, preference organization, toggles, defaults |
| undo-and-redo.md | Undo and Redo | Shake to undo, undo/redo stack, multi-level undo |
| workouts.md | Workouts | Workout sessions, live metrics, Always On display, summaries, HealthKit |