Claude Skill

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

LLM Mart · 0 points · 0 views 1 listing impressions 0 install-command copies
Download raintree-technology-hig-doctor-skills_hig-platforms-4e5025b.zip · 9 KB

Install

skills CLI npx skills add https://github.com/raintree-technology/hig-doctor/tree/main/skills/hig-platforms
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install raintree-technology-hig-doctor@llmmart
Git git clone https://github.com/raintree-technology/hig-doctor.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole raintree-technology/hig-doctor collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

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
Files (hig-doctor)
  • references
    • designing-for-games.md 2.2 KB
      Loading…
    • designing-for-ios.md 2.3 KB
      Loading…
    • designing-for-ipados.md 1.9 KB
      Loading…
    • designing-for-macos.md 2.1 KB
      Loading…
    • designing-for-tvos.md 2 KB
      Loading…
    • designing-for-visionos.md 2.2 KB
      Loading…
    • designing-for-watchos.md 2.7 KB
      Loading…
  • SKILL.md 5 KB
    ---
    name: hig-platforms
    description: >-
      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.
    license: MIT. Apple HIG content is © Apple Inc.
    metadata:
      version: "1.1.0"
      hig-snapshot: "2025-02-02"
    ---
    
    # 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](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.
    
    ## 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
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.