Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

hig-platforms

БесплатноБез исполняемых скриптовНе проверен

When the user designs for or ports between iPhone, iPad, Mac, Apple TV, Apple Watch, Apple Vision Pro, or games, or asks how conventions differ across Apple…

raintree-technologyот raintree-technology★ 162 звезды на GitHub

Об этом скилле

Apple HIG: Platform Design

Read .agents/apple-design-context.md (or the older .claude/apple-design-context.md) before asking questions. Use what it records and only ask for what is missing.

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 iOS Touch, tab bars, navigation stacks, gestures, screen sizes, safe areas
designing-for-ipados.md iPadOS Multitasking, sidebars, pointer, keyboard, Apple Pencil, Stage Manager
designing-for-macos.md macOS Menu bars, toolbars, window management, keyboard shortcuts, dense layouts, Dock
designing-for-tvos.md tvOS Focus engine, Siri Remote, lean-back experience, content-forward, parallax
designing-for-visionos.md visionOS Spatial computing, windows/volumes/spaces, eye tracking, hand gestures, depth
designing-for-watchos.md watchOS Glanceable UI, Digital Crown, complications, notifications, haptics
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.

Check existing code

If the project has source code, run npx hig-doctor . (or the hig_audit_file MCP tool on one file) and cite its findings (rule ID, line, HIG link) alongside this guidance. Findings are review evidence, not proof of HIG conformance.

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
Полный SKILL.md на GitHub

Установить hig-platforms в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/designing-for-games.mdreferences/designing-for-ios.mdreferences/designing-for-ipados.mdreferences/designing-for-macos.mdreferences/designing-for-tvos.mdreferences/designing-for-visionos.mdreferences/designing-for-watchos.md

FAQ

Что делает скилл hig-platforms?

When the user designs for or ports between iPhone, iPad, Mac, Apple TV, Apple Watch, Apple Vision Pro, or games, or asks how conventions differ across Apple platforms. Covers each platform's layout, navigation, and input expectations. For shared foundations like color and type, see hig-foundations. For input devices in depth, see hig-inputs.

Как установить скилл hig-platforms?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл hig-platforms запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить hig-platforms с