Apple hig expert

From borghei/Claude-Skills · View interactive version

Apple hig expert is an AI agent skill from the GitHub repository borghei/Claude-Skills. Apple Human Interface Guidelines expert across iOS, iPadOS, macOS, watchOS, tvOS, and visionOS. Use when designing or reviewing an Apple-platform app, auditing for HIG compliance, picking native components, or validating accessibility.

How to use this skill

Skill file

Apple Human Interface Guidelines (HIG) Expert

A skill focused on shipping apps that feel native on Apple platforms.

Covers the underlying HIG principles, platform-specific patterns, native

component selection, and accessibility expectations.

This skill is opinionated about native conventions. It's not the

right skill if your goal is to maximize cross-platform UX uniformity over

native fit (see web design guides for that).

When to use this skill

Inputs the advisor expects

Clarify First

What most shapes this skill's output is the target platform and how much of the actual app you can show. Settle the inputs below before producing anything. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Workflows

Workflow 1 — Audit screens for HIG compliance

  1. Describe or reference each screen.
  2. Run hig_compliance_checker.py with the screen inventory.
  3. Address findings by category (navigation, typography, controls, spacing, motion).
python3 apple-hig-expert/scripts/hig_compliance_checker.py \
  --input screens.json --format markdown

Workflow 2 — Pick the right component for a flow

  1. Describe the interaction goal.
  2. Use component_pattern_lookup.py to surface candidate patterns,

trade-offs, and platform-specific guidance.

python3 apple-hig-expert/scripts/component_pattern_lookup.py \
  --platform ios --goal "show options without leaving context" --format markdown

Workflow 3 — Audit accessibility against Apple expectations

  1. Capture screen inventory + accessibility attributes (labels, hints, traits).
  2. Run accessibility_auditor.py to surface gaps.
  3. Use Apple Accessibility Inspector to validate.
python3 apple-hig-expert/scripts/accessibility_auditor.py \
  --input a11y_state.json --format markdown

Decision frameworks

Sheets vs popovers vs full-screen

| Pattern | When to use | Platform |

|---------|-------------|----------|

| Sheet (medium / large) | Modal task with clear escape | iOS, iPadOS, macOS, visionOS |

| Popover | Context-anchored options, brief | iPadOS (compact: replaced with sheet), macOS |

| Full-screen cover | Immersive task, e.g., photo editing | iOS |

| Push (navigation stack) | Hierarchical drill-in | iOS, iPadOS |

| Inspector | Persistent secondary content | macOS, iPadOS |

| Toolbar item | Quick action on current context | All |

Common mistake: popover on compact iPhone (it becomes a sheet automatically;

design for both).

When to use SwiftUI vs UIKit

The trend (2026) is SwiftUI-first for new development; UIKit retains

strength in performance-sensitive lists and complex gesture handling.

Color and dark mode

adapt to light/dark mode automatically

separate light/dark variants

Typography

scale with user accessibility settings

SwiftUI dynamicTypeSize

Common engagements

"Help me adapt our iPhone app for iPad"

  1. Identify navigation: sidebar (NavigationSplitView) vs tabs at iPad sizes
  2. Use Inspector for secondary content
  3. Convert sheets to popovers where appropriate
  4. Adapt to multitasking (split view, slide over)
  5. Add hardware support: Pencil, keyboard shortcuts, pointer interactions

"Our app feels un-Apple-y. What's wrong?"

  1. Check typography — using Dynamic Type styles, not hardcoded sizes?
  2. Check colors — semantic colors, dark mode parity?
  3. Check spacing — multiples of 4 or 8; not custom every-screen
  4. Check controls — using native ones, not custom toggles/buttons?
  5. Check navigation — does back gesture work? Does state persist correctly?

"Make our app accessible"

  1. Every interactive element has a label
  2. Decorative images marked accessibilityHidden
  3. Focus order makes sense for VoiceOver
  4. Custom controls have correct accessibilityTraits
  5. Touch targets ≥44pt × 44pt
  6. Color isn't the only way information is conveyed
  7. Reduced motion respected
  8. Test with VoiceOver, Voice Control, Switch Control, Dynamic Type max

Anti-patterns to avoid

Scope & Limitations

In Scope:

Out of Scope:

Important Caveats:

References

Related skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.