hig-platforms — скилл для Claude Code: что делает и как установить
Скилл помогает адаптировать интерфейс приложений под стандарты Apple HIG для iOS, iPadOS, macOS, tvOS, visionOS и watchOS. Пригодится при переносе проектов между платформами экосистемы.
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a claude-codeЧто делает hig-platforms
Скилл добавляет в ассистент правила Apple Human Interface Guidelines для раздельного проектирования под разные операционные системы Apple. Вместо прямого копирования экранов он помогает перевести структуру: например, заменить боковую панель macOS на вкладки таб-бара в iOS или перестроить фокусную навигацию для пульта Siri Remote на tvOS.
Перед началом работы инструмент ищет локальный файл .claude/apple-design-context.md, чтобы учесть уже заданные параметры проекта и не задавать лишних вопросов. Если контекста нет, ассистент уточнит целевые платформы, стек между SwiftUI и UIKit/AppKit, а также сценарий использования — на ходу, за рабочим столом или в пространственной среде visionOS.
В ответах скилл формирует сравнительные таблицы по навигации и элементам ввода, даёт ссылки на разделы HIG и предлагает конкретные API для адаптации.
Какие задачи решает
- адаптировать навигацию приложения с iPhone под экран iPadOS
- выбрать модель взаимодействия для visionOS с учётом жестов и взгляда
- перенести мобильный интерфейс на macOS с поддержкой меню и горячих клавиш
- настроить отображение данных под короткие сессии на watchOS
Примеры запросов агенту
- Как переделать боковую панель из macOS-версии для интерфейса на iPhone?
- Какие особенности навигации и фокуса нужно учесть при портировании приложения на tvOS?
- Помоги спроектировать интерфейс под visionOS с учётом окон и пространственных жестов.
Как установить hig-platforms
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a claude-code2Вручную: положить файлы
~/.claude/skills/hig-platforms/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/hig-platforms/
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a codex2Вручную: положить файлы
.agents/skills/hig-platforms/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a cursor2Вручную: положить файлы
.cursor/skills/hig-platforms/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install raintree-technology/hig-doctor hig-platforms2Вручную: положить файлы
.github/skills/hig-platforms/SKILL.md1Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a gemini-cli2Командой платформы
gemini skills install https://github.com/raintree-technology/hig-doctor --path skills/hig-platformsВручную: положить файлы
.devin/skills/hig-platforms/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add raintree-technology/hig-doctor --skill hig-platforms -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о hig-platforms
Как установить hig-platforms в Claude Code?
Выполните команду npx skills add raintree-technology/hig-doctor --skill hig-platforms -a claude-code в терминале. Файл сохранится по пути ~/.claude/skills/hig-platforms/SKILL.md.
Для чего нужен скилл hig-platforms?
Он предоставляет агенту правила Human Interface Guidelines для проектирования под устройства Apple: iOS, iPadOS, macOS, watchOS, tvOS и visionOS. Инструмент объясняет различия в навигации, способах ввода и компоновке экранов.
Как скилл использует файл apple-design-context.md?
Перед генерацией рекомендаций скилл проверяет наличие пути .claude/apple-design-context.md. Если файл найден, ассистент берёт контекст проекта из него и не задаёт повторных вопросов о стеке или целевой платформе.
Исходный текст
SKILL.md · MIT
--- name: hig-platforms version: 1.0.0 description: >- Apple Human Interface Guidelines for platform-specific design. Use this skill when the user asks about "designing for iOS", "iPad app design", "macOS design", "tvOS", "visionOS", "watchOS", "Apple platform", "which platform", platform differences, platform-specific conventions, or multi-platform app design. Also use when the user says "should I design differently for iPad vs iPhone", "how does my app work on visionOS", "what's different about macOS apps", "porting my app to another platform", "universal app design", or "what input methods does this platform use". Cross-references: hig-foundations for shared design foundations, hig-patterns for interaction patterns, hig-components-layout for navigation structures, hig-components-content for content display. --- # Apple HIG: Platform Design Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered. ## Key Principles 1. **Each platform has a distinct identity.** Do not port designs between platforms. Respect each platform's conventions, interaction models, and user expectations. 2. **iOS: touch-first.** Direct manipulation on a handheld screen. Optimize for one-handed use. Navigation uses tab bars and push/pop stacks. 3. **iPadOS: expanded canvas.** Support Split View, Slide Over, and Stage Manager. Use sidebars and multi-column layouts. Support pointer and keyboard alongside touch. 4. **macOS: pointer and keyboard.** Dense information display is acceptable. Use menu bars, toolbars, and keyboard shortcuts extensively. Windows are resizable with precise control. 5. **tvOS: remote and focus.** Viewed from a distance. Design for the Siri Remote with focus-based navigation. Large text, simple layouts, linear navigation. 6. **visionOS: spatial interaction.** 3D environment using windows, volumes, and spaces. Eye tracking for targeting, indirect gestures for interaction. Respect ergonomic comfort zones. 7. **watchOS: glanceable and brief.** Information consumable at a glance. Brief interactions. Digital Crown, haptics, and complications for timely content. 8. **Games: own paradigm.** Free to define in-game interaction models, but still respect platform conventions for system interactions (notifications, accessibility, controllers). ## Reference Index | Reference | Topic | Key content | |---|---|---| | [designing-for-ios.md](references/designing-for-ios.md) | iOS | Touch, tab bars, navigation stacks, gestures, screen sizes, safe areas | | [designing-for-ipados.md](references/designing-for-ipados.md) | iPadOS | Multitasking, sidebars, pointer, keyboard, Apple Pencil, Stage Manager | | [designing-for-macos.md](references/designing-for-macos.md) | macOS | Menu bars, toolbars, window management, keyboard shortcuts, dense layouts, Dock | | [designing-for-tvos.md](references/designing-for-tvos.md) | tvOS | Focus engine, Siri Remote, lean-back experience, content-forward, parallax | | [designing-for-visionos.md](references/designing-for-visionos.md) | visionOS | Spatial computing, windows/volumes/spaces, eye tracking, hand gestures, depth | | [designing-for-watchos.md](references/designing-for-watchos.md) | watchOS | Glanceable UI, Digital Crown, complications, notifications, haptics | | [designing-for-games.md](references/designing-for-games.md) | Games | Controllers, immersive experiences, platform-specific conventions, accessibility | ## Decision Framework 1. **Identify the primary use context.** On the go (iOS/watchOS), at a desk (macOS), on the couch (tvOS), spatial environment (visionOS)? 2. **Match input to interaction.** Touch for direct manipulation, pointer for precision, gaze+gesture for spatial, Digital Crown for quick scrolling, remote for focus navigation. 3. **Adapt, don't replicate.** A macOS sidebar becomes a tab bar on iPhone. A visionOS volume has no equivalent on watchOS. Translate intent, not implementation. 4. **Leverage platform strengths.** Live Activities on iOS, Desktop Widgets on macOS, complications on watchOS, immersive spaces on visionOS. 5. **Maintain brand consistency** while respecting each platform's visual language and interaction patterns. ## Output Format 1. **Platform-specific recommendations** citing relevant HIG sections. 2. **Platform differences table** comparing navigation, input, layout, and conventions. 3. **Implementation notes** per platform including recommended APIs and adaptation strategies. ## Questions to Ask 1. Which platforms are you targeting? 2. New app or adapting an existing one? If existing, which platform is the base? 3. SwiftUI or UIKit/AppKit? 4. Need to support older OS versions? 5. Primary use context? (On the go, desk, couch, spatial, glanceable?) ## Related Skills - **hig-foundations** -- Shared principles (color, typography, accessibility, layout) across platforms - **hig-patterns** -- Interaction patterns that manifest differently per platform - **hig-components-layout** -- Navigation structures (tab bars, sidebars, split views) that vary by platform - **hig-components-content** -- Content display that adapts across platforms --- *Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*
© raintree-technology · MIT · raintree-technology/hig-doctor