К основному содержанию
скилл CX Codex

hig-patterns — скилл для Claude Code: паттерны Apple HIG

Скилл с паттернами взаимодействия из Apple Human Interface Guidelines: онбординг, загрузка, модальные окна, уведомления, поиск. Пригодится, когда проектируешь UX в приложении под Apple.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add raintree-technology/hig-doctor --skill hig-patterns -a claude-code
Открыть на GitHub

Что делает hig-patterns

Скилл описывает, как вести себя интерфейсу в типовых ситуациях: что показывать при запуске, как оформить ожидание загрузки, когда уместно модальное окно, а когда лучше обойтись без него. Внутри — набор принципов и справочник по темам: онбординг, drag and drop, ввод данных, файлы, полноэкранный режим, аудио и видео, тактильная отдача, undo и redo, настройки, поиск, уведомления, аккаунты, печать, отзывы и рейтинги, многозадачность на iPad, тренировки.

Есть таблица выбора паттерна: под цель пользователя подставляется рекомендованный приём и то, чего стоит избегать. Например, для первого запуска — короткий онбординг и постепенное раскрытие функций вместо длинных туториалов и обязательной регистрации. Для подтверждения удаления — поддержка отмены вместо бесконечных «Вы уверены?». Скилл сначала проверяет файл .claude/apple-design-context.md и опирается на уже собранный контекст, а вопросы задаёт только по тому, чего в нём нет.

Ответ строится по шагам: рекомендованный паттерн с обоснованием и ссылкой на нужный файл справочника, пошаговая реализация по экранам и состояниям, различия между платформами. Скилл ссылается на соседние наборы — hig-foundations, hig-platforms, hig-components-layout и hig-components-content, так что для принципов и навигации их придётся поставить отдельно.

Какие задачи решает

  • спроектировать онбординг, который не задерживает вход в приложение
  • выбрать между модальным окном и обычным экраном
  • показать ожидание загрузки без пустого спиннера
  • решить, когда запрашивать разрешения у пользователя
  • сделать удаление обратимым вместо диалога подтверждения

Примеры запросов агенту

  • как должен работать онбординг в моём приложении?
  • мой экран долго грузится — что показать пользователю?
  • стоит ли здесь использовать модальное окно?

Как установить hig-patterns

1Через Skills CLI (Vercel)

npx skills add raintree-technology/hig-doctor --skill hig-patterns -a claude-code

2Вручную: положить файлы

~/.claude/skills/hig-patterns/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/hig-patterns/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о hig-patterns

Как установить hig-patterns в Claude?

Выполните npx skills add raintree-technology/hig-doctor --skill hig-patterns -a claude-code. Скилл появится по пути ~/.claude/skills/hig-patterns/SKILL.md.

Что делает hig-patterns?

Даёт паттерны взаимодействия из Apple Human Interface Guidelines: онбординг, загрузка, модальность, уведомления, поиск, ввод данных, файлы, тактильная отдача. По запросу выдаёт рекомендованный паттерн, пошаговую реализацию и различия между платформами.

Что нужно, чтобы скилл работал?

Он проверяет .claude/apple-design-context.md и использует уже собранный контекст, а недостающее спрашивает. Для принципов и навигации нужны соседние скиллы hig-foundations, hig-platforms, hig-components-layout и hig-components-content.

Исходный текст

SKILL.md · MIT
---
name: hig-patterns
version: 1.0.0
description: >-
  Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about
  "onboarding flow", "user onboarding", "app launch", "loading state", "drag and drop", "search pattern",
  "settings design", "notifications", "modality", "multitasking", "feedback pattern", "haptics",
  "undo redo", "file management", data entry, sharing, collaboration, full screen, audio, video,
  haptic feedback, ratings, printing, help, or account management in Apple apps.
  Also use when the user says "how should onboarding work", "my app takes too long to load",
  "should I use a modal here", "how do I handle errors", "when should I ask for permissions",
  "how to show progress", or "what's the right way to confirm a delete".
  Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics,
  hig-components-layout for navigation, hig-components-content for data display.
---

# Apple HIG: Interaction Patterns

Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.

## Key Principles

1. **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.

2. **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.

3. **Support undo over confirmation dialogs.** Destructive actions should be reversible when possible. Undo is almost always better than "Are you sure?"

4. **Launch quickly.** Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state.

5. **Defer sign-in.** Let users explore before requiring account creation. Support Sign in with Apple and passkeys.

6. **Keep onboarding brief.** Three screens max. Let users skip. Teach through progressive disclosure and contextual hints.

7. **Use progressive disclosure.** Show essentials first, let users drill into details. Don't overwhelm with every option on one screen.

8. **Respect user attention.** Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing.

## Reference Index

| Reference | Topic | Key content |
|---|---|---|
| [charting-data.md](references/charting-data.md) | Charting Data | Data visualization patterns, accessible charts, interactive elements |
| [collaboration-and-sharing.md](references/collaboration-and-sharing.md) | Collaboration & Sharing | Share sheets, activity views, collaborative editing, SharePlay |
| [drag-and-drop.md](references/drag-and-drop.md) | Drag and Drop | Drag sources, drop targets, spring loading, multi-item drag, visual feedback |
| [entering-data.md](references/entering-data.md) | Entering Data | Text fields, pickers, steppers, input validation, keyboard types, autofill |
| [feedback.md](references/feedback.md) | Feedback | Alerts, action sheets, haptic patterns, sound feedback, visual indicators |
| [file-management.md](references/file-management.md) | File Management | Document browser, file providers, iCloud integration, document lifecycle |
| [going-full-screen.md](references/going-full-screen.md) | Going Full Screen | Full-screen transitions, immersive content, exiting full screen |
| [launching.md](references/launching.md) | Launching | Launch screens, state restoration, cold vs warm launch |
| [live-viewing-apps.md](references/live-viewing-apps.md) | Live Viewing Apps | Live content display, real-time updates, Live Activities, Dynamic Island |
| [loading.md](references/loading.md) | Loading | Activity indicators, progress views, skeleton screens, lazy loading, placeholders |
| [managing-accounts.md](references/managing-accounts.md) | Managing Accounts | Sign in with Apple, passkeys, account creation, credential autofill, account deletion |
| [managing-notifications.md](references/managing-notifications.md) | Managing Notifications | Permission requests, grouping, actionable notifications, provisional delivery |
| [modality.md](references/modality.md) | Modality | Sheets, alerts, popovers, full-screen modals, when to use each |
| [multitasking.md](references/multitasking.md) | Multitasking | iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions |
| [offering-help.md](references/offering-help.md) | Offering Help | Contextual tips, onboarding hints, help menus, support links |
| [onboarding.md](references/onboarding.md) | Onboarding | Welcome screens, feature highlights, progressive onboarding, skip options |
| [playing-audio.md](references/playing-audio.md) | Playing Audio | Audio sessions, background audio, Now Playing, audio routing, interruptions |
| [playing-haptics.md](references/playing-haptics.md) | Playing Haptics | Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics |
| [playing-video.md](references/playing-video.md) | Playing Video | Video player controls, picture-in-picture, AirPlay, full-screen video |
| [printing.md](references/printing.md) | Printing | Print dialogs, page setup, AirPrint integration |
| [ratings-and-reviews.md](references/ratings-and-reviews.md) | Ratings & Reviews | SKStoreReviewController, timing, frequency limits, in-app feedback |
| [searching.md](references/searching.md) | Searching | Search bars, suggestions, scoped search, results display, recents |
| [settings.md](references/settings.md) | Settings | In-app vs Settings app, preference organization, toggles, defaults |
| [undo-and-redo.md](references/undo-and-redo.md) | Undo and Redo | Shake to undo, undo/redo stack, multi-level undo |
| [workouts.md](references/workouts.md) | Workouts | Workout sessions, live metrics, Always On display, summaries, HealthKit |

## Pattern Selection Guide

| 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 |

## Output Format

1. **Recommended pattern with rationale**, citing the relevant reference file.
2. **Step-by-step implementation** covering each screen or state.
3. **Platform variations** for targeted platforms.
4. **Common pitfalls** that violate HIG for this pattern.

## Questions to Ask

1. Where in the app does this pattern appear? What comes before and after?
2. Which platforms?
3. Designing from scratch or improving an existing flow?
4. Does this involve sensitive actions? (Destructive operations, payments, permissions)

## Related Skills

- **hig-foundations** -- Accessibility, color, typography, and privacy principles underlying every pattern
- **hig-platforms** -- Platform-specific pattern implementations
- **hig-components-layout** -- Structural components (tab bars, sidebars, split views) for navigation patterns
- **hig-components-content** -- Content display within patterns (charts, collections, search results)

---

*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*

© raintree-technology · MIT · raintree-technology/hig-doctor

Похожие скиллы

Всё по теме «Дизайн» →
hig Prisma-Labs-Dev Локальный справочник Apple Human Interface Guidelines в Markdown для проверки размеров кнопок, Dynamic Type, терминологии и системных компонентов без выхода в сеть. CX Codex +1 786установок ios-hig-design wondelai Скилл помогает проектировать нативные iOS-интерфейсы в соответствии с Human Interface Guidelines Apple. Пригодится, когда вы делаете приложение для iPhone или iPad и хотите, чтобы оно выглядело как родное для платформы. CX Codex +1 8 200установок apple-hig-expert Alireza Rezvani Проверяет интерфейсы iOS, macOS, watchOS и visionOS по Apple HIG. Пригодится для аудита макетов и проектирования нативного UI. 662установок ios-ux-design mosif16 Скилл, который подключает к ИИ-агенту экспертизу по Human Interface Guidelines и SwiftUI: аудит экранов, разбор паттернов, спецификации на доработку. CX Codex +1 543установок apple-ui-designer heyman333 Скилл перерабатывает экраны мобильных приложений под каноны Human Interface Guidelines от Apple. Он приводит типографику, отступы и системные компоненты к нативному виду iOS. CX Codex +1 865установок axiom-design CharlesWiltgen Скилл помогает принимать решения по дизайну приложений Apple: сетки HIG, эффекты Liquid Glass, подбор SF Symbols, шрифты и переключение экранов авторизации. CX Codex +1 1 400установок

Из того же набора14

hig-foundations Скилл с основами Apple Human Interface Guidelines: цвет, типографика, SF Symbols, тёмная тема, доступность. Пригодится, когда интерфейс выглядит чужеродно на Apple-платформах. CX Codex +1 730установок hig-components-layout Скилл помогает спроектировать навигацию и вёрстку для приложений под платформы Apple по правилам Human Interface Guidelines. CX Codex +1 684установок hig-platforms Скилл помогает адаптировать интерфейс приложений под стандарты Apple HIG для iOS, iPadOS, macOS, tvOS, visionOS и watchOS. Пригодится при переносе проектов между платформами экосистемы. CX Codex +1 666установок hig-components-controls Помогает выбрать правильные элементы ввода и переключатели по гайдлайнам Apple HIG. Подсказывает типы клавиатур, состояния контролов и правила доступности. CX Codex +1 655установок hig-components-dialogs Скилл подсказывает правила Apple Human Interface Guidelines для модальных окон, алертов, шторок и полей ввода цифр. Пригодится при проектировании UI под iOS, iPadOS, macOS и visionOS. CX Codex +1 647установок hig-components-menus Скилл помогает проектировать меню и кнопки для интерфейсов Apple по правилам Human Interface Guidelines. Полезен при выборе между pop-up и pull-down кнопками или структурировании тулбаров. CX Codex +1 643установок hig-components-content Подсказывает правила Apple HIG по отображению контента: графикам, сеткам, веб-страницам и карточкам. Помогает выбрать системный компонент под iOS, macOS, tvOS или visionOS. CX Codex +1 641установок hig-components-status Скилл передаёт агенту правила Apple HIG по индикаторам загрузки и строке состояния. Пригодится при вёрстке экранов под iOS и watchOS. CX Codex +1 636установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой