hig — скилл для Claude Code: что делает и как установить
Локальный справочник Apple Human Interface Guidelines в Markdown для проверки размеров кнопок, Dynamic Type, терминологии и системных компонентов без выхода в сеть.
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a claude-codeЧто делает hig
Скилл предоставляет локальную базу знаний по Apple Human Interface Guidelines в формате Markdown. Все файлы оптимизированы для поиска через grep. Внутри лежат разделы по вёрстке, безопасным зонам и системным компонентам.
Справочник отвечает только за факты и требования App Review. Эстетику интерфейса он не задаёт. Здесь собраны точные системные правила: области нажатия в 44pt, поведение Dynamic Type, стили кнопок и параметры тактильного отклика.
Если нужного раздела нет на диске, скилл ищет его в зеркале sosumi.ai. Это экономит контекст модели.
Какие задачи решает
- Найти минимальный размер области нажатия для интерактивных элементов в iOS
- Проверить правила масштабирования текста с поддержкой Dynamic Type
- Сверить ограничения безопасных зон возле выреза экрана и Dynamic Island
- Выбрать стандартный стиль системной кнопки из встроенных вариантов UIKit
- Подобрать подходящий тип тактильной отдачи для уведомлений или нажатий
Примеры запросов агенту
- Проверь по HIG минимальный размер таргет-зоны для кнопки закрытия модального окна.
- Покажи доступные системные стили кнопок в iOS и когда использовать Bordered Prominent.
- Какие типы тактильного отклика предусмотрены Apple для уведомлений об успехе и ошибках?
Как установить hig
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a claude-code2Вручную: положить файлы
~/.claude/skills/hig/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hig/
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a codex2Вручную: положить файлы
.agents/skills/hig/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a cursor2Вручную: положить файлы
.cursor/skills/hig/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Prisma-Labs-Dev/apple-skills hig2Вручную: положить файлы
.github/skills/hig/SKILL.md1Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a gemini-cli2Командой платформы
gemini skills install https://github.com/Prisma-Labs-Dev/apple-skills --path skills/higВручную: положить файлы
.devin/skills/hig/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hig
Как установить hig в Claude Code?
Выполните команду npx skills add Prisma-Labs-Dev/apple-skills --skill hig -a claude-code в терминале. Файлы скилла будут скопированы в директорию ~/.claude/skills/hig/.
Что делает скилл hig?
Он выполняет поиск фактов по локальной копии Apple Human Interface Guidelines. Скилл помогает узнать требования доступности, терминологию платформ, поведение safe area и системные стили компонентов.
Подходит ли этот скилл для выбора визуального дизайна экранов?
Нет, он предназначен строго для фактических справок и ограничений платформы. Гайдлайны описывают возможности системы и правила App Review, а не художественный стиль вашего приложения.
Исходный текст
SKILL.md · MIT
--- name: hig user-invocable: true description: "Fact lookup: Apple Human Interface Guidelines corpus (greppable markdown). Query on demand for accessibility and ergonomic minimums (hit-target sizes, Dynamic Type), platform terminology, system component capabilities, and App-Review-relevant conventions. Not design direction." context: fork agent: Explore --- # Human Interface Guidelines Reference Local greppable copy of Apple's Human Interface Guidelines — an on-demand fact lookup, not design direction. Use it to answer factual questions: what a system component can do, what Apple calls something, accessibility and ergonomic minimums (44pt hit targets, Dynamic Type behavior, contrast), and conventions App Review actually checks. **Visual design in our repos is the designing model's own taste.** Consult the HIG for facts, never for aesthetics — it describes what the system provides and requires, not what your screen should look like. ## Downloaded Reference Files All key HIG documentation is available locally (grep-friendly): ### Getting Started | File | Content | Size | |------|---------|------| | [hig-index.md](hig-index.md) | Full HIG table of contents | 11KB | | [designing-for-ios.md](designing-for-ios.md) | iOS design principles | 5KB | ### Foundations | File | Content | Size | |------|---------|------| | [app-icons.md](app-icons.md) | App icon design guidelines | 14KB | | [color.md](color.md) | Color usage and system colors | 17KB | | [typography.md](typography.md) | Fonts, text styles, Dynamic Type | 17KB | | [layout.md](layout.md) | Layout principles, safe areas | 21KB | | [materials.md](materials.md) | Materials, blur effects, vibrancy | 14KB | | [motion.md](motion.md) | Animation principles | 9KB | | [accessibility.md](accessibility.md) | Accessibility best practices | 19KB | | [sf-symbols.md](sf-symbols.md) | SF Symbols usage | 21KB | ### Patterns | File | Content | Size | |------|---------|------| | [onboarding.md](onboarding.md) | Onboarding flows | 6KB | | [modality.md](modality.md) | Modal presentations | 7KB | | [launching.md](launching.md) | App launch experience | 6KB | | [feedback.md](feedback.md) | User feedback patterns | 5KB | | [playing-haptics.md](playing-haptics.md) | Haptic feedback | 10KB | | [searching.md](searching.md) | Search patterns | 7KB | | [settings.md](settings.md) | Settings patterns | 7KB | ### Components - Navigation | File | Content | Size | |------|---------|------| | [tab-bars.md](tab-bars.md) | Tab bar design | 11KB | | [navigation-bars.md](navigation-bars.md) | Navigation bar patterns | 17KB | | [toolbars.md](toolbars.md) | Toolbar design | 17KB | | [sidebars.md](sidebars.md) | Sidebar patterns | 8KB | ### Components - Presentation | File | Content | Size | |------|---------|------| | [sheets.md](sheets.md) | Sheet presentations | 11KB | | [alerts.md](alerts.md) | Alert dialogs | 10KB | | [action-sheets.md](action-sheets.md) | Action sheets | 4KB | | [menus.md](menus.md) | Menu design | 14KB | ### Components - Controls | File | Content | Size | |------|---------|------| | [buttons.md](buttons.md) | Button styles and usage | 17KB | | [lists-and-tables.md](lists-and-tables.md) | List and table patterns | 9KB | | [toggles.md](toggles.md) | Toggle/switch design | 9KB | | [pickers.md](pickers.md) | Picker controls | 6KB | | [sliders.md](sliders.md) | Slider controls | 6KB | | [steppers.md](steppers.md) | Stepper controls | 2KB | | [text-fields.md](text-fields.md) | Text input fields | 6KB | ### Searching the Docs ```bash # Find color guidance grep -i "semantic" color.md # Find button styles grep -i "bordered" buttons.md # Find haptic patterns grep -i "notification" playing-haptics.md # Browse the full HIG index grep -i "navigation" hig-index.md ``` ## Fetching More Docs 1. Search this skill's local `.md` files first. 2. If the topic is not here, check the other installed Apple skills you have available by their names, descriptions, or `SKILL.md` frontmatter, then grep their local files. This is faster and uses less context than fetching new docs from the internet. 3. If no installed skill has the page, use the relevant Human Interface Guidelines path with the `sosumi.ai` Markdown mirror. For example, `/design/human-interface-guidelines/buttons` maps to `https://sosumi.ai/design/human-interface-guidelines/buttons`. ### Common HIG Doc Paths | Topic | URL Path | |-------|----------| | Full Index | `human-interface-guidelines` | | iOS Design | `human-interface-guidelines/designing-for-ios` | | iPadOS Design | `human-interface-guidelines/designing-for-ipados` | | macOS Design | `human-interface-guidelines/designing-for-macos` | | App Icons | `human-interface-guidelines/app-icons` | | Color | `human-interface-guidelines/color` | | Typography | `human-interface-guidelines/typography` | | Layout | `human-interface-guidelines/layout` | | Accessibility | `human-interface-guidelines/accessibility` | | SF Symbols | `human-interface-guidelines/sf-symbols` | | Buttons | `human-interface-guidelines/buttons` | | Tab Bars | `human-interface-guidelines/tab-bars` | | Navigation Bars | `human-interface-guidelines/navigation-bars` | | Sheets | `human-interface-guidelines/sheets` | | Alerts | `human-interface-guidelines/alerts` | ## Quick Facts ### System Button Styles (iOS) What the system provides out of the box: - **Plain** - Text only, minimal visual weight - **Gray** - Gray background - **Tinted** - Tinted background with accent color - **Filled** - Solid background - **Bordered** - Outlined with border - **Bordered Prominent** - Filled background, high prominence ### Haptic Feedback Types - **Selection** - Light tap for selection changes - **Impact** - Light/medium/heavy/rigid/soft for collisions - **Notification** - Success/warning/error for outcomes ### Safe Areas (ergonomic facts) - Content outside safe areas can be clipped by the notch/Dynamic Island, home indicator, or rounded corners - Interactive elements outside safe areas may be unreachable or intercepted by system gestures - Backgrounds can extend edge-to-edge without those risks ## Sources ### Apple Documentation - [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/) - [Design Resources](https://developer.apple.com/design/resources/) ### WWDC Sessions - [Design for Liquid Glass - WWDC25](https://developer.apple.com/videos/play/wwdc2025/10156/) - [What's new in UIKit - WWDC25](https://developer.apple.com/videos/play/wwdc2025/10144/)
© Prisma-Labs-Dev · MIT · Prisma-Labs-Dev/apple-skills