{
  "calls": [
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid skill: expected kebab-case identifier",
        "type": "result"
      },
      "tool": "hig_lookup"
    },
    {
      "arguments": {
        "skill": {}
      },
      "kind": "wrong_type",
      "param": "skill",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Invalid skill: expected kebab-case identifier",
        "type": "result"
      },
      "tool": "hig_lookup"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: query must be a non-empty string",
        "type": "result"
      },
      "tool": "hig_search"
    },
    {
      "arguments": {
        "query": {}
      },
      "kind": "wrong_type",
      "param": "query",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: query must be a non-empty string",
        "type": "result"
      },
      "tool": "hig_search"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: directory must be an absolute path",
        "type": "result"
      },
      "tool": "hig_audit"
    },
    {
      "arguments": {
        "directory": {}
      },
      "kind": "wrong_type",
      "param": "directory",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: directory must be an absolute path",
        "type": "result"
      },
      "tool": "hig_audit"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: file must be an absolute path",
        "type": "result"
      },
      "tool": "hig_audit_file"
    },
    {
      "arguments": {
        "file": {}
      },
      "kind": "wrong_type",
      "param": "file",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: file must be an absolute path",
        "type": "result"
      },
      "tool": "hig_audit_file"
    },
    {
      "arguments": {},
      "kind": "missing_required",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: rule_id must be a string",
        "type": "result"
      },
      "tool": "hig_explain_finding"
    },
    {
      "arguments": {
        "rule_id": {}
      },
      "kind": "wrong_type",
      "param": "rule_id",
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: rule_id must be a string",
        "type": "result"
      },
      "tool": "hig_explain_finding"
    },
    {
      "arguments": {},
      "kind": "unknown_tool",
      "param": null,
      "reply": {
        "cut": false,
        "is_error": true,
        "text": "Error: Unknown tool: didrun_unknown_tool",
        "type": "result"
      },
      "tool": "didrun_unknown_tool"
    }
  ],
  "decoys": {
    "env": [
      "AWS_ACCESS_KEY_ID",
      "AWS_SECRET_ACCESS_KEY"
    ],
    "files": [
      "/home/lab/.ssh/id_ed25519",
      "/home/lab/.aws/credentials"
    ],
    "token": "1d5459c54a6f4067bbcc5b927c7c7312"
  },
  "end": "completed",
  "era": "initialize",
  "files": {
    "decoys_read": [],
    "observed": true,
    "written": [
      "/home/lab/.npm/_logs/2026-11-23T05_33_45_346Z-debug-0.log"
    ]
  },
  "format": "didrun.use_report.v1",
  "hit_time_limit": false,
  "leaks": [],
  "network": {
    "at_start": [],
    "during_calls": [],
    "observed": true
  },
  "probe_tools_listed": 6,
  "survived": true,
  "tools_listed": 6,
  "works": {
    "agent_model": "codex/gpt-6.1-terra",
    "attempts": [
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available skills and reference topics\n\nThe skill-list response was truncated after `hig-components-system`. I retrieved the remaining skills below through search and individual lookups, but **cannot verify that the resulting list is exhaustive**. Topic names are shown as lookup identifiers.\n\n- **`hig-components-content`** — activity-views, charts, collections, color-wells, image-views, image-wells, lockups, web-views.\n- **`hig-components-controls`** — combo-boxes, controls, gauges, labels, pickers, rating-indicators, segmented-controls, sliders, steppers, text-fields, text-views, toggles, token-fields, virtual-keyboards.\n- **`hig-components-dialogs`** — action-sheets, alerts, digit-entry-views, popovers, sheets.\n- **`hig-components-layout`** — boxes, column-views, lists-and-tables, ornaments, outline-views, panels, scroll-views, sidebars, split-views, tab-bars, tab-views, windows.\n- **`hig-components-menus`** — action-button, buttons, context-menus, disclosure-controls, dock-menus, edit-menus, menus, pop-up-buttons, pull-down-buttons, the-menu-bar, toolbars.\n- **`hig-components-search`** — page-controls, path-controls, search-fields.\n- **`hig-components-status`** — activity-rings, progress-indicators, status-bars.\n- **`hig-components-system`** — widgets, live-activities, notifications, complications, home-screen-quick-actions, top-shelf, app-clips, watch-faces, app-shortcuts.\n- **`hig-foundations`** — accessibility, app-icons, branding, color, dark-mode, icons, images, immersive-experiences, inclusion, layout, materials, motion, privacy, right-to-left, sf-symbols, spatial-layout, typography, writing.\n- **`hig-inputs`** — gestures, apple-pencil-and-scribble, keyboards, game-controls, pointing-devices, digital-crown, eyes, spatial-interactions, focus-and-selection, remotes, gyro-and-accelerometer, nearby-interactions, camera-control.\n- **`hig-patterns`** — charting-data, collaboration-and-sharing, drag-and-drop, entering-data, feedback, file-management, going-full-screen, launching, live-viewing-apps, loading, managing-accounts, managing-notifications, modality, multitasking, offering-help, onboarding, playing-audio, playing-haptics, playing-video, printing, ratings-and-reviews, searching, settings, undo-and-redo, workouts.\n- **`hig-platforms`** — designing-for-ios, designing-for-ipados, designing-for-macos, designing-for-tvos, designing-for-visionos, designing-for-watchos, designing-for-games.\n- **`hig-technologies`** — siri, apple-pay, tap-to-pay-on-iphone, in-app-purchase, healthkit, carekit, researchkit, homekit, augmented-reality, machine-learning, generative-ai, icloud, sign-in-with-apple, id-verifier, shareplay, airplay, carplay, game-center, voiceover, wallet, nfc, maps, mac-catalyst, live-photos, imessage-apps-and-stickers, shazamkit, always-on, photo-editing.\n- **`hig-project-context`** — a project-context setup skill; its overview does not list separate reference topics.\n\n## Detailed color guidance\n\nI looked up `hig-foundations` → `color`. The tool returned a structured index of the guidance, rather than the full page with its examples and illustrations:\n\n- **Use color consistently.** Don’t give the same color different meanings in the same app.\n- **Test adaptations and environments.** Check colors in light, dark, and increased-contrast contexts, under different lighting, and on different devices. Consider how artwork and translucency affect neighboring colors.\n- **Make color inclusive.** Don’t rely on color alone to distinguish objects, indicate interactivity, or communicate essential information. Avoid combinations that make content hard to perceive, and consider cultural interpretations.\n- **Use system colors appropriately.** Don’t hard-code their values or redefine the semantic meanings of dynamic system colors. If people can choose colors, prefer system-provided color controls when available.\n- **Use color sparingly on Liquid Glass.** Apply it sparingly to the material and to text or symbols on it; avoid similar-colored control labels against colorful backgrounds, and consider where color appears in the content layer.\n- **Manage color across displays.** Apply color profiles to images, use wide color to enhance the experience on compatible displays, and provide color-space-specific variations when needed.\n- **Account for platform context.** The reference describes primary, secondary, and tertiary background levels on iOS and iPadOS; recommends a coordinated, limited palette and non-color focus cues on tvOS; sparing color and balanced brightness on visionOS; and useful background color plus tinted complication support on watchOS.\n\nSource: [Apple HIG — Color](https://developer.apple.com/design/human-interface-guidelines/color). The tool identifies its reference snapshot as **2025-02-02**.",
        "round": 1,
        "steps": [
          {
            "arguments": {},
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"source\": \"https://developer.apple.com/design/human-interface-guidelines/\",\n  \"skills\": [\n    {\n      \"skill\": \"hig-components-content\",\n      \"description\": \"Apple Human Interface Guidelines for content display components. Use this skill when the user asks about \\\"charts component\\\", \\\"collection view\\\", \\\"image view\\\", \\\"web view\\\", \\\"color well\\\", \\\"image well\\\", \\\"activity view\\\", \\\"lockup\\\", \\\"data visualization\\\", \\\"content display\\\", displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says \\\"how should I display charts\\\", \\\"what's the best way to show images\\\", \\\"should I use a web view\\\", \\\"how do I build a grid of items\\\", \\\"what component shows media\\\", or \\\"how do I present a share sheet\\\". Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.\",\n      \"topics\": [\n        \"activity-views\",\n        \"charts\",\n        \"collections\",\n        \"color-wells\",\n        \"image-views\",\n        \"image-wells\",\n        \"lockups\",\n        \"web-views\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-controls\",\n      \"description\": \"Apple HIG guidance for selection and input controls including pickers, toggles, sliders, steppers, segmented controls, combo boxes, text fields, text views, labels, token fields, virtual keyboards, rating indicators, and gauges. Use this skill when the user says \\\"picker or segmented control,\\\" \\\"how should my form look,\\\" \\\"what keyboard type should I use,\\\" \\\"toggle vs checkbox,\\\" or asks about picker design, toggle, switch, slider, stepper, text field, text input, segmented control, combo box, label, token field, virtual keyboard, rating indicator, gauge, form design, input validation, or control state management. Cross-references: hig-components-menus, hig-components-dialogs, hig-components-search.\",\n      \"topics\": [\n        \"combo-boxes\",\n        \"controls\",\n        \"gauges\",\n        \"labels\",\n        \"pickers\",\n        \"rating-indicators\",\n        \"segmented-controls\",\n        \"sliders\",\n        \"steppers\",\n        \"text-fields\",\n        \"text-views\",\n        \"toggles\",\n        \"token-fields\",\n        \"virtual-keyboards\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-dialogs\",\n      \"description\": \"Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views. Use this skill when the user says \\\"should I use an alert or a sheet,\\\" \\\"how do I show a confirmation dialog,\\\" \\\"when should I use a popover,\\\" \\\"my modals are annoying users,\\\" or asks about alert design, action sheet, popover, sheet, modal, dialog, digit entry, confirmation dialog, warning dialog, modal presentation, non-modal content, destructive action confirmation, or overlay UI patterns. Cross-references: hig-components-menus, hig-components-controls, hig-components-search, hig-patterns.\",\n      \"topics\": [\n        \"action-sheets\",\n        \"alerts\",\n        \"digit-entry-views\",\n        \"popovers\",\n        \"sheets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-layout\",\n      \"description\": \"Apple Human Interface Guidelines for layout and navigation components. Use this skill when the user asks about \\\"sidebar\\\", \\\"split view\\\", \\\"tab bar\\\", \\\"tab view\\\", \\\"scroll view\\\", \\\"window design\\\", \\\"panel\\\", \\\"list view\\\", \\\"table view\\\", \\\"column view\\\", \\\"outline view\\\", \\\"navigation structure\\\", \\\"app layout\\\", \\\"boxes\\\", \\\"ornaments\\\", or organizing content hierarchically in Apple apps. Also use when the user says \\\"how should I organize my app\\\", \\\"what navigation pattern should I use\\\", \\\"my layout breaks on iPad\\\", \\\"how do I build a sidebar\\\", \\\"should I use tabs or a sidebar\\\", or \\\"my app doesn't adapt to different screen sizes\\\". Cross-references: hig-foundations for layout/spacing principles, hig-platforms for platform-specific navigation, hig-patterns for multitasking and full-screen, hig-components-content for content display.\",\n      \"topics\": [\n        \"boxes\",\n        \"column-views\",\n        \"lists-and-tables\",\n        \"ornaments\",\n        \"outline-views\",\n        \"panels\",\n        \"scroll-views\",\n        \"sidebars\",\n        \"split-views\",\n        \"tab-bars\",\n        \"tab-views\",\n        \"windows\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-menus\",\n      \"description\": \"Apple HIG guidance for menu and button components including menus, context menus, dock menus, edit menus, the menu bar, toolbars, action buttons, pop-up buttons, pull-down buttons, disclosure controls, and standard buttons. Use this skill when the user says \\\"how should my buttons look,\\\" \\\"what goes in the menu bar,\\\" \\\"should I use a context menu or action sheet,\\\" \\\"how do I design a toolbar,\\\" or asks about button design, menu design, context menu, toolbar, menu bar, action button, pop-up button, pull-down button, disclosure control, dock menu, edit menu, or any menu/button component layout and behavior. Cross-references: hig-components-search, hig-components-controls, hig-components-dialogs.\",\n      \"topics\": [\n        \"action-button\",\n        \"buttons\",\n        \"context-menus\",\n        \"disclosure-controls\",\n        \"dock-menus\",\n        \"edit-menus\",\n        \"menus\",\n        \"pop-up-buttons\",\n        \"pull-down-buttons\",\n        \"the-menu-bar\",\n        \"toolbars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-search\",\n      \"description\": \"Apple HIG guidance for navigation-related components including search fields, page controls, and path controls. Use this skill when the user says \\\"how should search work in my app,\\\" \\\"I need a breadcrumb,\\\" \\\"how do I paginate content,\\\" or asks about search field, search bar, page control, path control, breadcrumb, navigation component, search UX, search suggestions, search scopes, paginated content navigation, or file path hierarchy display. Cross-references: hig-components-menus, hig-components-controls, hig-components-dialogs, hig-patterns.\",\n      \"topics\": [\n        \"page-controls\",\n        \"path-controls\",\n        \"search-fields\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-status\",\n      \"description\": \"Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings. Use this skill when asked about: \\\"progress indicator\\\", \\\"progress bar\\\", \\\"loading spinner\\\", \\\"status bar\\\", \\\"activity ring\\\", \\\"progress display\\\", determinate vs indeterminate progress, loading states, or fitness tracking rings. Also use when the user says \\\"how do I show loading state,\\\" \\\"should I use a spinner or progress bar,\\\" \\\"what goes in the status bar,\\\" or asks about activity indicators. Cross-references: hig-components-system for widgets and complications, hig-inputs for gesture-driven progress controls, hig-technologies for HealthKit and activity ring data integration.\",\n      \"topics\": [\n        \"activity-rings\",\n        \"progress-indicators\",\n        \"status-bars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-system\",\n      \"description\": \"Apple HIG guidance for system experience components: widgets, live activities, notifications, complications, home screen quick actions, top shelf, watch faces, app clips, and app shortcuts. Use when asked about: \\\"widget design\\\", \\\"live activity\\\", \\\"notification design\\\", \\\"complication\\\", \\\"home screen quick action\\\", \\\"top shelf\\\", \\\"watch face\\\", \\\"app clip\\\", \\\"app shortcut\\\", \\\"system experience\\\". Also use when the user says \\\"how do I design a widget,\\\" \\\"what should my notification look like,\\\" \\\"how do Live Activities work,\\\" \\\"should I make an App Clip,\\\" or asks about surfaces outside the main app. Cross-references: hig-components-status for progress in widgets, hig-inputs for interaction patterns, hig-technologies for Siri and system integration.\",\n      \"topics\": [\n        \"app-clips\",\n        \"app-shortcuts\",\n        \"complications\",\n        \"home-screen-quick-actions\",\n        \"live-activities\",\n        \"notifications\",\n        \"top-shelf\",\n        \"watch-faces\",\n        \"widgets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"description\": \"Apple Human Interface Guidelines design foundations. Use this skill when the user asks about \\\"HIG color\\\", \\\"Apple typography\\\", \\\"SF Symbols\\\", \\\"dark mode guidelines\\\", \\\"accessible design\\\", \\\"Apple design foundations\\\", \\\"app icon\\\", \\\"layout guidelines\\\", \\\"materials\\\", \\\"motion\\\", \\\"privacy\\\", \\\"right to left\\\", \\\"RTL\\\", \\\"inclusive design\\\", branding, images, spatial layout, or writing style. Also use when the user says \\\"my colors look wrong in dark mode\\\", \\\"what font should I use\\\", \\\"is my app accessible enough\\\", \\\"how do I support Dynamic Type\\\", \\\"what contrast ratio do I need\\\", \\\"how do I pick system colors\\\", or \\\"my icons don't match the system style\\\". Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction patterns, hig-components-layout for structural components, hig-components-content for display.\",\n      \"topics\": [\n        \"accessibility\",\n        \"app-icons\",\n        \"branding\",\n        \"color\",\n        \"dark-mode\",\n        \"icons\",\n        \"images\",\n        \"immersive-experiences\",\n        \"inclusion\",\n        \"layout\",\n        \"materials\",\n        \"motion\",\n        \"privacy\",\n        \"right-to-left\",\n        \"sf-symbols\",\n        \"spatial-layout\",\n        \"typography\",\n        \"writing\"\n      ]\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"description\": \"Apple HIG guidance for input methods and interaction patterns: gestures, Apple Pencil, keyboards, game controllers, pointers, Digital Crown, eye tracking, focus system, remotes, spatial interactions, gyroscope, accelerometer, and nearby interactions. Use when asked about: \\\"gesture design\\\", \\\"Apple Pencil\\\", \\\"keyboard shortcuts\\\", \\\"game controller\\\", \\\"pointer support\\\", \\\"mouse support\\\", \\\"trackpad\\\", \\\"Digital Crown\\\", \\\"eye tracking\\\", \\\"visionOS input\\\", \\\"focus system\\\", \\\"remote control\\\", \\\"gyroscope\\\", \\\"spatial interaction\\\". Also use when the user says \\\"what gestures should I support,\\\" \\\"how do I add keyboard shortcuts,\\\" \\\"how does input work on Apple TV,\\\" \\\"should I support Apple Pencil,\\\" or asks about input device handling. Cross-references: hig-components-status, hig-components-system, hig-technologies for VoiceOver and Siri.\",\n      \"topics\": [\n        \"apple-pencil-and-scribble\",\n        \"camera-control\",\n        \"digital-crown\",\n        \"eyes\",\n        \"focus-and-selection\",\n        \"game-controls\",\n        \"gestures\",\n        \"gyro-and-accelerometer\",\n        \"keyboards\",\n        \"nearby-interactions\",\n        \"pointing-devices\",\n        \"remotes\",\n        \"spatial-interactions\"\n      ]\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"description\": \"Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about \\\"onboarding flow\\\", \\\"user onboarding\\\", \\\"app launch\\\", \\\"loading state\\\", \\\"drag and drop\\\", \\\"search pattern\\\", \\\"settings design\\\", \\\"notifications\\\", \\\"modality\\\", \\\"multitasking\\\", \\\"feedback pattern\\\", \\\"haptics\\\", \\\"undo redo\\\", \\\"file management\\\", data entry, sharing, collaboration, full screen, audio, video, haptic feedback, ratings, printing, help, or account management in Apple apps. Also use when the user says \\\"how should onboarding work\\\", \\\"my app takes too long to load\\\", \\\"should I use a modal here\\\", \\\"how do I handle errors\\\", \\\"when should I ask for permissions\\\", \\\"how to show progress\\\", or \\\"what's the right way to confirm a delete\\\". Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics, hig-components-layout for navigation, hig-components-content for data display.\",\n      \"topics\": [\n        \"charting-data\",\n        \"collaboration-and-sharing\",\n        \"drag-and-drop\",\n        \"entering-data\",\n        \"feedback\",\n        \"file-management\",\n        \"going-full-screen\",\n        \"launching\",\n        \"live-viewing-apps\",\n        \"loading\",\n        \"managing-accounts\",\n        \"managing-notifications\",\n        \"modality\",\n        \"multitasking\",\n        \"offering-help\",\n        \"onboarding\",\n        \"playing-audio\",\n        \"playing-haptics\",\n        \"playing-video\",\n        \"printing\",\n        \"ratings-and-reviews\",\n        \"searching\",\n        \"settings\",\n        \"undo-and-redo\",\n        \"workouts\"\n      ]\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"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.\",\n      \"topics\": [\n        \"designing-for-games\",\n        \"designing-for-ios\",\n        \"designing-for-ipados\",\n        \"designing-for-macos\",\n        \"designing-for-tvos\",\n        \"designing-for-visionos\",\n        \"designing-for-watchos\"\n      ]\n    },\n    {\n      \"skill\": \"hig-project-context\",\n      \"description\": \"Create or update a shared Apple design context document that other HIG skills use to tailor guidance. Use when the user says \\\"set up my project context,\\\" \\\"what platforms am I targeting,\\\" \\\"configure HIG settings,\\\" or when starting a new Apple platform project. Also activates when other HIG skills need project context but none exists yet. This skill creates .claude/apple-design-context.md so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and hig-technologies can provide targeted advice without repetitive questions.\",\n      \"topics\": []\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"description\": \"Apple HIG guidance for Apple technology integrations: Siri, Apple Pay, HealthKit, HomeKit, ARKit, machine learning, generative AI, iCloud, Sign in with Apple, SharePlay, CarPlay, Game Center, in-app purchase, NFC, Wallet, VoiceOver, Maps, Mac Catalyst, and more. Use when asked about: \\\"Siri integration\\\", \\\"Apple Pay\\\", \\\"HealthKit\\\", \\\"HomeKit\\\", \\\"ARKit\\\", \\\"augmented reality\\\", \\\"machine learning\\\", \\\"generative AI\\\", \\\"iCloud sync\\\", \\\"Sign in with Apple\\\", \\\"SharePlay\\\", \\\"CarPlay\\\", \\\"in-app purchase\\\", \\\"NFC\\\", \\\"VoiceOver\\\", \\\"Maps\\\", \\\"Mac Catalyst\\\". Also use when the user says \\\"how do I integrate Siri,\\\" \\\"what are the Apple Pay guidelines,\\\" \\\"how should my AR experience work,\\\" \\\"how do I use Sign in with Apple,\\\" or asks about any Apple framework or service integration. Cross-references: hig-inputs for input methods, hig-components-system for widgets.\",\n      \"topics\": [\n        \"airplay\",\n        \"always-on\",\n        \"apple-pay\",\n        \"augmented-reality\",\n        \"carekit\",\n        \"carplay\",\n        \"game-center\",\n        \"generative-ai\",\n        \"healthkit\",\n        \"homekit\",\n        \"icloud\",\n        \"id-verifier\",\n        \"imessage-apps-and-stickers\",\n        \"in-app-purchase\",\n        \"live-photos\",\n        \"mac-catalyst\",\n        \"machine-learning\",\n        \"maps\",\n        \"nfc\",\n        \"photo-editing\",\n        \"researchkit\",\n        \"shareplay\",\n        \"shazamkit\",\n        \"sign-in-with-apple\",\n        \"siri\",\n        \"tap-to-pay-on-iphone\",\n        \"voiceover\",\n        \"wallet\"\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_list_skills"
          },
          {
            "arguments": {
              "skill": "hig-foundations",
              "topic": "color"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Source: https://developer.apple.com/design/human-interface-guidelines/color  (snapshot 2025-02-02)\n\n---\ntitle: \"Color | Apple Developer Documentation\"\nsource: https://developer.apple.com/design/human-interface-guidelines/color\n---\n\n<!-- hig-doctor:attribution -->\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/color.\n> This file is a structured index of that content, snapshot 2025-02-02.\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\n\n# Color\n\n## Best practices\n\n**Avoid using the same color to mean different things.**\n\n**Make sure all your app’s colors work well in light, dark, and increased contrast contexts.**\n\n**Test your app’s color scheme under a variety of lighting conditions.**\n\n**Test your app on different devices.**\n\n**Consider how artwork and translucency affect nearby colors.**\n\n**If your app lets people choose colors, prefer system-provided color controls where available.**\n\n## Inclusive color\n\n**Avoid relying solely on color to differentiate between objects, indicate interactivity, or communicate essential information.**\n\n**Avoid using colors that make it hard to perceive content in your app.**\n\n**Consider how the colors you use might be perceived in other countries and cultures.**\n\n## System colors\n\n**Avoid hard-coding system color values in your app.**\n\n**Avoid redefining the semantic meanings of dynamic system colors.**\n\n## Liquid Glass color\n\n**Apply color sparingly to the Liquid Glass material, and to symbols or text on the material.**\n\n**Avoid using similar colors in control labels if your app has a colorful background.**\n\n**Be aware of the placement of color in the content layer.**\n\n## Color management\n\n**Apply color profiles to your images.**\n\n**Use wide color to enhance the visual experience on compatible displays.**\n\n**Provide color space–specific image and color variations if necessary.**\n\n## Platform considerations\n\n### iOS, iPadOS\n\n  * Primary for the overall view\n\n  * Secondary for grouping content or elements within the overall view\n\n  * Tertiary for grouping content or elements within secondary elements\n\n### tvOS\n\n**Consider choosing a limited color palette that coordinates with your app logo.**\n\n**Avoid using only color to indicate focus.**\n\n### visionOS\n\n**Use color sparingly, especially on glass.**\n\n**Prefer using color in bold text and large areas.**\n\n**In a fully immersive experience, help people maintain visual comfort by keeping brightness levels balanced.**\n\n### watchOS\n\n**Use background color to support existing content or supply additional information.**\n\n**Recognize that people might prefer graphic complications to use tinted mode instead of full color.**\n\n---\n\n<!-- hig-doctor:canonical-footer -->\nFor the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/color\n\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "query": "foundations platforms patterns inputs technologies accessibility layout typography"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"query\": \"foundations platforms patterns inputs technologies accessibility layout typography\",\n  \"results\": [\n    {\n      \"skill\": \"hig-project-context\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Project Context\",\n      \"score\": 24.31,\n      \"snippet\": \"…tion, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, required capabilities, supported orientations 4. **Existing…\",\n      \"lookup\": {\n        \"skill\": \"hig-project-context\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Design Foundations\",\n      \"score\": 23.69,\n      \"snippet\": \"# Apple HIG: Design Foundations Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not alre…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-content\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Content Components\",\n      \"score\": 19.3,\n      \"snippet\": \"…screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes. 2. **Make content accessible.** Charts need audio graph support. Images need alt text. Collections need proper Voi…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-content\"\n      }\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Platform Design\",\n      \"score\": 18.29,\n      \"snippet\": \"…*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…\",\n      \"lookup\": {\n        \"skill\": \"hig-platforms\"\n      }\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Interaction Patterns\",\n      \"score\": 16.26,\n      \"snippet\": \"# Apple HIG: Interaction Patterns Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already…\",\n      \"lookup\": {\n        \"skill\": \"hig-patterns\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-layout\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Layout and Navigation Components\",\n      \"score\": 15.43,\n      \"snippet\": \"# Apple HIG: Layout and Navigation Components Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-layout\"\n      }\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Inputs\",\n      \"score\": 13.46,\n      \"snippet\": \"# Apple HIG: Inputs Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already c…\",\n      \"lookup\": {\n        \"skill\": \"hig-inputs\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Technologies\",\n      \"score\": 12.65,\n      \"snippet\": \"# Apple HIG: Technologies Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not alr…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\"\n      }\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_search"
          },
          {
            "arguments": {
              "skill": "hig-components-system"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-components-system  (snapshot 2025-02-02)\n\n---\nname: hig-components-system\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for system experience components: widgets, live activities,\n  notifications, complications, home screen quick actions, top shelf, watch faces,\n  app clips, and app shortcuts. Use when asked about: \"widget design\", \"live activity\",\n  \"notification design\", \"complication\", \"home screen quick action\",\n  \"top shelf\", \"watch face\", \"app clip\", \"app shortcut\", \"system experience\".\n  Also use when the user says \"how do I design a widget,\" \"what should my notification\n  look like,\" \"how do Live Activities work,\" \"should I make an App Clip,\" or asks about\n  surfaces outside the main app.\n  Cross-references: hig-components-status for progress in widgets, hig-inputs for\n  interaction patterns, hig-technologies for Siri and system integration.\n---\n\n# Apple HIG: System Experiences\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Glanceable, immediate value.** System experiences bring your app's most important content to surfaces the user sees without launching your app. Design for seconds of attention.\n\n2. **Respect platform context.** A Lock Screen widget has different constraints than a Home Screen widget. A complication is far smaller than a top shelf item.\n\n3. **Widgets: show relevant information, not everything.** Display the most useful subset, updated appropriately.\n\n4. **Support multiple widget sizes with distinct layouts.** Each size should be a thoughtful design, not a scaled version of another.\n\n5. **Deep-link on tap.** Take users to the relevant content, not the app's root screen.\n\n6. **Live Activities: track events with a clear start and end.** Deliveries, scores, timers, rides. Design for both Dynamic Island and Lock Screen.\n\n7. **Stay updated and timely.** Stale data undermines trust. End promptly when the event concludes.\n\n8. **Respect user attention with notifications.** Only send notifications for information users genuinely care about. No promotional or low-value notifications.\n\n9. **Notifications: actionable and self-contained.** Include enough context to understand and act without opening the app. Support notification actions. Use threading and grouping.\n\n10. **Complications: focused data on the watch face.** Design for the smallest useful representation. Support multiple families. Budget updates wisely.\n\n11. **Home Screen quick actions: 3-4 most common tasks.** Short titles, optional subtitles, relevant SF Symbol icons.\n\n12. **Top Shelf: tvOS showcase.** Feature content that entices: new episodes, featured items, recent content.\n\n13. **App Clips: instant, focused functionality within a strict size budget.** Load quickly without App Store download. Only what's needed for the immediate task, then offer full app install.\n\n14. **App Shortcuts: surface key actions to Siri and Spotlight.** Define shortcuts for frequent tasks. Use natural, conversational trigger phrases.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [widgets.md](references/widgets.md) | Widgets | Glanceable info, sizes, deep linking, timeline |\n| [live-activities.md](references/live-activities.md) | Live Activities | Real-time tracking, Dynamic Island, Lock Screen |\n| [notifications.md](references/notifications.md) | Notifications | Attention, actions, grouping, content |\n| [complications.md](references/complications.md) | Complications | Watch face data, families, budgeted updates |\n| [home-screen-quick-actions.md](references/home-screen-quick-actions.md) | Quick actions | Haptic Touch, common tasks, SF Symbols |\n| [top-shelf.md](references/top-shelf.md) | Top shelf | Featured content, showcase |\n| [app-clips.md](references/app-clips.md) | App Clips | Instant use, lightweight, focused task, NFC/QR |\n| [watch-faces.md](references/watch-faces.md) | Watch faces | Custom complications, face sharing |\n| [app-shortcuts.md](references/app-shortcuts.md) | App Shortcuts | Siri, Spotlight, voice triggers |\n\n## Output Format\n\n1. **System experience recommendation** -- which surface best fits the use case.\n2. **Content strategy** -- what to display, priority, what to omit.\n3. **Update frequency** -- refresh rate including system budget constraints.\n4. **Size/family variants** -- which to support and how layout adapts.\n5. **Deep link behavior** -- where tapping takes the user.\n\n## Questions to Ask\n\n1. What information needs to surface outside the app?\n2. Which platform?\n3. How frequently does the data update?\n4. What is the primary glanceable need?\n\n## Related Skills\n\n- **hig-components-status** -- Progress indicators in widgets or Live Activities\n- **hig-inputs** -- Interaction patterns for system experiences (Digital Crown for complications)\n- **hig-technologies** -- Siri for App Shortcuts, HealthKit for complications, NFC for App Clips\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-foundations"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-foundations  (snapshot 2025-02-02)\n\n---\nname: hig-foundations\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines design foundations. Use this skill when the user asks about\n  \"HIG color\", \"Apple typography\", \"SF Symbols\", \"dark mode guidelines\", \"accessible design\",\n  \"Apple design foundations\", \"app icon\", \"layout guidelines\", \"materials\", \"motion\", \"privacy\",\n  \"right to left\", \"RTL\", \"inclusive design\", branding, images, spatial layout, or writing style.\n  Also use when the user says \"my colors look wrong in dark mode\", \"what font should I use\",\n  \"is my app accessible enough\", \"how do I support Dynamic Type\", \"what contrast ratio do I need\",\n  \"how do I pick system colors\", or \"my icons don't match the system style\".\n  Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction\n  patterns, hig-components-layout for structural components, hig-components-content for display.\n---\n\n# Apple HIG: Design Foundations\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Prioritize content over chrome.** Reduce visual clutter. Use system-provided materials and subtle separators rather than heavy borders and backgrounds.\n\n2. **Build in accessibility from the start.** Design for VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, and Switch Control from day one. Every interactive element needs an accessible label.\n\n3. **Use system colors and materials.** System colors adapt to light/dark mode, increased contrast, and vibrancy. Prefer semantic colors (`label`, `secondaryLabel`, `systemBackground`) over hard-coded values.\n\n4. **Use platform fonts and icons.** SF Pro, SF Compact, SF Mono by default. New York for serif. Follow the type hierarchy at recommended sizes. Use SF Symbols for iconography.\n\n5. **Match platform conventions.** Align look and behavior with system standards. Provide direct, responsive manipulation and clear feedback for every action.\n\n6. **Respect privacy.** Request permissions only when needed, explain why clearly, provide value before asking for data. Design for minimal data collection.\n\n7. **Support internationalization.** Accommodate text expansion, right-to-left scripts, and varying date/number formats. Use Auto Layout for dynamic content sizing.\n\n8. **Use motion purposefully.** Animation should communicate meaning and spatial relationships. Honor Reduce Motion by providing crossfade alternatives.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [accessibility.md](references/accessibility.md) | Accessibility | VoiceOver, Dynamic Type, color contrast, motor accessibility, Switch Control, audio descriptions |\n| [app-icons.md](references/app-icons.md) | App Icons | Icon grid, platform-specific sizes, single focal point, no transparency |\n| [branding.md](references/branding.md) | Branding | Integrating brand identity within Apple's design language, subtle branding, custom tints |\n| [color.md](references/color.md) | Color | System colors, Dynamic Colors, semantic colors, custom palettes, contrast ratios |\n| [dark-mode.md](references/dark-mode.md) | Dark Mode | Elevated surfaces, semantic colors, adapted palettes, vibrancy, testing in both modes |\n| [icons.md](references/icons.md) | Icons | Glyph icons, SF Symbols integration, custom icon design, icon weights, optical alignment |\n| [images.md](references/images.md) | Images | Image resolution, @2x/@3x assets, vector assets, image accessibility |\n| [immersive-experiences.md](references/immersive-experiences.md) | Immersive Experiences | AR/VR design, spatial immersion, comfort zones, progressive immersion levels |\n| [inclusion.md](references/inclusion.md) | Inclusion | Diverse representation, non-gendered language, cultural sensitivity, inclusive defaults |\n| [layout.md](references/layout.md) | Layout | Margins, spacing, alignment, safe areas, adaptive layouts, readable content guides |\n| [materials.md](references/materials.md) | Materials | Vibrancy, blur, translucency, system materials, material thickness |\n| [motion.md](references/motion.md) | Motion | Animation curves, transitions, continuity, Reduce Motion support, physics-based motion |\n| [privacy.md](references/privacy.md) | Privacy | Permission requests, usage descriptions, privacy nutrition labels, minimal data collection |\n| [right-to-left.md](references/right-to-left.md) | Right-to-Left | RTL layout mirroring, bidirectional text, icons that flip, exceptions |\n| [sf-symbols.md](references/sf-symbols.md) | SF Symbols | Symbol categories, rendering modes, variable color, custom symbols, weight matching |\n| [spatial-layout.md](references/spatial-layout.md) | Spatial Layout | visionOS window placement, depth, ergonomic zones, Z-axis design |\n| [typography.md](references/typography.md) | Typography | SF Pro, Dynamic Type sizes, text styles, custom fonts, font weight hierarchy, line spacing |\n| [writing.md](references/writing.md) | Writing | UI copy guidelines, tone, capitalization rules, error messages, button labels, conciseness |\n\n## Applying Foundations Together\n\nConsider how principles interact:\n\n1. **Color + Dark Mode + Accessibility** -- Custom palettes must work in both modes while maintaining WCAG contrast ratios. Start with system semantic colors.\n\n2. **Typography + Accessibility + Layout** -- Dynamic Type must scale without breaking layouts. Use text styles and Auto Layout for the full range of type sizes.\n\n3. **Icons + Branding + SF Symbols** -- Custom icons should match SF Symbols weight and optical sizing. Brand elements should integrate without overriding system conventions.\n\n4. **Motion + Accessibility + Feedback** -- Every animation must have a Reduce Motion alternative. Motion should reinforce spatial relationships, not decorate.\n\n5. **Privacy + Writing + Onboarding** -- Permission requests need clear, specific usage descriptions. Time them to when the user will understand the benefit.\n\n## Output Format\n\n1. **Cite the specific HIG foundation** with file and section.\n2. **Note platform differences** for the user's target platforms.\n3. **Provide concrete code patterns** (SwiftUI/UIKit/AppKit).\n4. **Explain accessibility impact** (contrast ratios, Dynamic Type scaling, VoiceOver behavior).\n\n## Questions to Ask\n\n1. Which platforms are you targeting?\n2. Do you have existing brand guidelines?\n3. What accessibility level are you targeting? (WCAG AA, AAA, Apple baseline?)\n4. System colors or custom?\n\n## Related Skills\n\n- **hig-platforms** -- How foundations apply per platform (e.g., type scale differences on watchOS vs macOS)\n- **hig-patterns** -- Interaction patterns where foundations like writing and accessibility are critical\n- **hig-components-layout** -- Structural components implementing layout principles\n- **hig-components-content** -- Content display using color, typography, and images\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-platforms"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-platforms  (snapshot 2025-02-02)\n\n---\nname: hig-platforms\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines for platform-specific design. Use this skill when the user asks about\n  \"designing for iOS\", \"iPad app design\", \"macOS design\", \"tvOS\", \"visionOS\", \"watchOS\", \"Apple platform\",\n  \"which platform\", platform differences, platform-specific conventions, or multi-platform app design.\n  Also use when the user says \"should I design differently for iPad vs iPhone\", \"how does my app work\n  on visionOS\", \"what's different about macOS apps\", \"porting my app to another platform\",\n  \"universal app design\", or \"what input methods does this platform use\".\n  Cross-references: hig-foundations for shared design foundations, hig-patterns for interaction patterns,\n  hig-components-layout for navigation structures, hig-components-content for content display.\n---\n\n# Apple HIG: Platform Design\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Each platform has a distinct identity.** Do not port designs between platforms. Respect each platform's conventions, interaction models, and user expectations.\n\n2. **iOS: touch-first.** Direct manipulation on a handheld screen. Optimize for one-handed use. Navigation uses tab bars and push/pop stacks.\n\n3. **iPadOS: expanded canvas.** Support Split View, Slide Over, and Stage Manager. Use sidebars and multi-column layouts. Support pointer and keyboard alongside touch.\n\n4. **macOS: pointer and keyboard.** Dense information display is acceptable. Use menu bars, toolbars, and keyboard shortcuts extensively. Windows are resizable with precise control.\n\n5. **tvOS: remote and focus.** Viewed from a distance. Design for the Siri Remote with focus-based navigation. Large text, simple layouts, linear navigation.\n\n6. **visionOS: spatial interaction.** 3D environment using windows, volumes, and spaces. Eye tracking for targeting, indirect gestures for interaction. Respect ergonomic comfort zones.\n\n7. **watchOS: glanceable and brief.** Information consumable at a glance. Brief interactions. Digital Crown, haptics, and complications for timely content.\n\n8. **Games: own paradigm.** Free to define in-game interaction models, but still respect platform conventions for system interactions (notifications, accessibility, controllers).\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [designing-for-ios.md](references/designing-for-ios.md) | iOS | Touch, tab bars, navigation stacks, gestures, screen sizes, safe areas |\n| [designing-for-ipados.md](references/designing-for-ipados.md) | iPadOS | Multitasking, sidebars, pointer, keyboard, Apple Pencil, Stage Manager |\n| [designing-for-macos.md](references/designing-for-macos.md) | macOS | Menu bars, toolbars, window management, keyboard shortcuts, dense layouts, Dock |\n| [designing-for-tvos.md](references/designing-for-tvos.md) | tvOS | Focus engine, Siri Remote, lean-back experience, content-forward, parallax |\n| [designing-for-visionos.md](references/designing-for-visionos.md) | visionOS | Spatial computing, windows/volumes/spaces, eye tracking, hand gestures, depth |\n| [designing-for-watchos.md](references/designing-for-watchos.md) | watchOS | Glanceable UI, Digital Crown, complications, notifications, haptics |\n| [designing-for-games.md](references/designing-for-games.md) | Games | Controllers, immersive experiences, platform-specific conventions, accessibility |\n\n## Decision Framework\n\n1. **Identify the primary use context.** On the go (iOS/watchOS), at a desk (macOS), on the couch (tvOS), spatial environment (visionOS)?\n\n2. **Match input to interaction.** Touch for direct manipulation, pointer for precision, gaze+gesture for spatial, Digital Crown for quick scrolling, remote for focus navigation.\n\n3. **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.\n\n4. **Leverage platform strengths.** Live Activities on iOS, Desktop Widgets on macOS, complications on watchOS, immersive spaces on visionOS.\n\n5. **Maintain brand consistency** while respecting each platform's visual language and interaction patterns.\n\n## Output Format\n\n1. **Platform-specific recommendations** citing relevant HIG sections.\n2. **Platform differences table** comparing navigation, input, layout, and conventions.\n3. **Implementation notes** per platform including recommended APIs and adaptation strategies.\n\n## Questions to Ask\n\n1. Which platforms are you targeting?\n2. New app or adapting an existing one? If existing, which platform is the base?\n3. SwiftUI or UIKit/AppKit?\n4. Need to support older OS versions?\n5. Primary use context? (On the go, desk, couch, spatial, glanceable?)\n\n## Related Skills\n\n- **hig-foundations** -- Shared principles (color, typography, accessibility, layout) across platforms\n- **hig-patterns** -- Interaction patterns that manifest differently per platform\n- **hig-components-layout** -- Navigation structures (tab bars, sidebars, split views) that vary by platform\n- **hig-components-content** -- Content display that adapts across platforms\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-patterns"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-patterns  (snapshot 2025-02-02)\n\n---\nname: hig-patterns\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about\n  \"onboarding flow\", \"user onboarding\", \"app launch\", \"loading state\", \"drag and drop\", \"search pattern\",\n  \"settings design\", \"notifications\", \"modality\", \"multitasking\", \"feedback pattern\", \"haptics\",\n  \"undo redo\", \"file management\", data entry, sharing, collaboration, full screen, audio, video,\n  haptic feedback, ratings, printing, help, or account management in Apple apps.\n  Also use when the user says \"how should onboarding work\", \"my app takes too long to load\",\n  \"should I use a modal here\", \"how do I handle errors\", \"when should I ask for permissions\",\n  \"how to show progress\", or \"what's the right way to confirm a delete\".\n  Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics,\n  hig-components-layout for navigation, hig-components-content for data display.\n---\n\n# Apple HIG: Interaction Patterns\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Minimize modality.** Use modality only when it is critical to get attention, a task must be completed or abandoned, or saving changes is essential. Prefer non-modal alternatives.\n\n2. **Provide clear feedback.** Every action should produce visible, audible, or haptic response. Activity indicators for indeterminate waits, progress bars for determinate, haptics for physical confirmation.\n\n3. **Support undo over confirmation dialogs.** Destructive actions should be reversible when possible. Undo is almost always better than \"Are you sure?\"\n\n4. **Launch quickly.** Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state.\n\n5. **Defer sign-in.** Let users explore before requiring account creation. Support Sign in with Apple and passkeys.\n\n6. **Keep onboarding brief.** Three screens max. Let users skip. Teach through progressive disclosure and contextual hints.\n\n7. **Use progressive disclosure.** Show essentials first, let users drill into details. Don't overwhelm with every option on one screen.\n\n8. **Respect user attention.** Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [charting-data.md](references/charting-data.md) | Charting Data | Data visualization patterns, accessible charts, interactive elements |\n| [collaboration-and-sharing.md](references/collaboration-and-sharing.md) | Collaboration & Sharing | Share sheets, activity views, collaborative editing, SharePlay |\n| [drag-and-drop.md](references/drag-and-drop.md) | Drag and Drop | Drag sources, drop targets, spring loading, multi-item drag, visual feedback |\n| [entering-data.md](references/entering-data.md) | Entering Data | Text fields, pickers, steppers, input validation, keyboard types, autofill |\n| [feedback.md](references/feedback.md) | Feedback | Alerts, action sheets, haptic patterns, sound feedback, visual indicators |\n| [file-management.md](references/file-management.md) | File Management | Document browser, file providers, iCloud integration, document lifecycle |\n| [going-full-screen.md](references/going-full-screen.md) | Going Full Screen | Full-screen transitions, immersive content, exiting full screen |\n| [launching.md](references/launching.md) | Launching | Launch screens, state restoration, cold vs warm launch |\n| [live-viewing-apps.md](references/live-viewing-apps.md) | Live Viewing Apps | Live content display, real-time updates, Live Activities, Dynamic Island |\n| [loading.md](references/loading.md) | Loading | Activity indicators, progress views, skeleton screens, lazy loading, placeholders |\n| [managing-accounts.md](references/managing-accounts.md) | Managing Accounts | Sign in with Apple, passkeys, account creation, credential autofill, account deletion |\n| [managing-notifications.md](references/managing-notifications.md) | Managing Notifications | Permission requests, grouping, actionable notifications, provisional delivery |\n| [modality.md](references/modality.md) | Modality | Sheets, alerts, popovers, full-screen modals, when to use each |\n| [multitasking.md](references/multitasking.md) | Multitasking | iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions |\n| [offering-help.md](references/offering-help.md) | Offering Help | Contextual tips, onboarding hints, help menus, support links |\n| [onboarding.md](references/onboarding.md) | Onboarding | Welcome screens, feature highlights, progressive onboarding, skip options |\n| [playing-audio.md](references/playing-audio.md) | Playing Audio | Audio sessions, background audio, Now Playing, audio routing, interruptions |\n| [playing-haptics.md](references/playing-haptics.md) | Playing Haptics | Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics |\n| [playing-video.md](references/playing-video.md) | Playing Video | Video player controls, picture-in-picture, AirPlay, full-screen video |\n| [printing.md](references/printing.md) | Printing | Print dialogs, page setup, AirPrint integration |\n| [ratings-and-reviews.md](references/ratings-and-reviews.md) | Ratings & Reviews | SKStoreReviewController, timing, frequency limits, in-app feedback |\n| [searching.md](references/searching.md) | Searching | Search bars, suggestions, scoped search, results display, recents |\n| [settings.md](references/settings.md) | Settings | In-app vs Settings app, preference organization, toggles, defaults |\n| [undo-and-redo.md](references/undo-and-redo.md) | Undo and Redo | Shake to undo, undo/redo stack, multi-level undo |\n| [workouts.md](references/workouts.md) | Workouts | Workout sessions, live metrics, Always On display, summaries, HealthKit |\n\n## Pattern Selection Guide\n\n| User Goal | Recommended Pattern | Avoid |\n|---|---|---|\n| First app experience | Brief onboarding (max 3 screens) + progressive disclosure | Long tutorials, mandatory sign-up |\n| Waiting for content | Skeleton screens or progress indicators | Blocking spinners with no context |\n| Confirming destructive action | Undo support | Excessive \"Are you sure?\" dialogs |\n| Collecting user input | Inline validation, smart defaults, autofill | Modal forms for simple inputs |\n| Requesting permissions | Contextual, just-in-time with explanation | Requesting all permissions at launch |\n| Providing feedback | Haptics + visual indicator | Silent actions with no confirmation |\n| Organizing preferences | In-app settings for frequent items | Burying all settings in system Settings app |\n\n## Output Format\n\n1. **Recommended pattern with rationale**, citing the relevant reference file.\n2. **Step-by-step implementation** covering each screen or state.\n3. **Platform variations** for targeted platforms.\n4. **Common pitfalls** that violate HIG for this pattern.\n\n## Questions to Ask\n\n1. Where in the app does this pattern appear? What comes before and after?\n2. Which platforms?\n3. Designing from scratch or improving an existing flow?\n4. Does this involve sensitive actions? (Destructive operations, payments, permissions)\n\n## Related Skills\n\n- **hig-foundations** -- Accessibility, color, typography, and privacy principles underlying every pattern\n- **hig-platforms** -- Platform-specific pattern implementations\n- **hig-components-layout** -- Structural components (tab bars, sidebars, split views) for navigation patterns\n- **hig-components-content** -- Content display within patterns (charts, collections, search results)\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-inputs"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-inputs  (snapshot 2025-02-02)\n\n---\nname: hig-inputs\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for input methods and interaction patterns: gestures, Apple Pencil,\n  keyboards, game controllers, pointers, Digital Crown, eye tracking, focus system,\n  remotes, spatial interactions, gyroscope, accelerometer, and nearby interactions.\n  Use when asked about: \"gesture design\", \"Apple Pencil\", \"keyboard shortcuts\",\n  \"game controller\", \"pointer support\", \"mouse support\", \"trackpad\", \"Digital Crown\",\n  \"eye tracking\", \"visionOS input\", \"focus system\", \"remote control\", \"gyroscope\",\n  \"spatial interaction\". Also use when the user says \"what gestures should I support,\"\n  \"how do I add keyboard shortcuts,\" \"how does input work on Apple TV,\" \"should I\n  support Apple Pencil,\" or asks about input device handling.\n  Cross-references: hig-components-status, hig-components-system,\n  hig-technologies for VoiceOver and Siri.\n---\n\n# Apple HIG: Inputs\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.\n\n2. **Consistent feedback for every input action.** Visible, audible, or haptic response.\n\n3. **Standard gestures must behave consistently.** Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).\n\n4. **Use standard recognizers; keep custom gestures discoverable.** Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.\n\n5. **Apple Pencil: precision drawing, markup, and selection.** Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).\n\n6. **Support Scribble in text fields.** Users expect to write with Pencil in any text input.\n\n7. **Keyboard shortcuts and full navigation.** Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.\n\n8. **Respect the software keyboard.** Adjust layout when keyboard appears. Use keyboard-avoidance APIs.\n\n9. **Game controllers: MFi controllers with on-screen fallbacks.** Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.\n\n10. **Pointer and trackpad: native feel.** Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.\n\n11. **Digital Crown: primary scrolling and value-adjustment input on watchOS.** Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.\n\n12. **Eyes and spatial (visionOS): look and pinch.** Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.\n\n13. **Focus system: critical for tvOS and visionOS.** Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.\n\n14. **Siri Remote: limited surface.** Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.\n\n15. **Gyroscope, accelerometer, UWB: use judiciously.** Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [gestures.md](references/gestures.md) | Touch gestures | Tap, swipe, pinch, long press, drag, system gestures |\n| [apple-pencil-and-scribble.md](references/apple-pencil-and-scribble.md) | Apple Pencil | Precision, pressure, tilt, hover, handwriting |\n| [keyboards.md](references/keyboards.md) | Keyboards | Shortcuts, navigation, software keyboard, Command key |\n| [game-controls.md](references/game-controls.md) | Game controllers | MFi, extended gamepad, remapping, fallbacks |\n| [pointing-devices.md](references/pointing-devices.md) | Pointer/trackpad | Hover, cursor morphing, trackpad gestures |\n| [digital-crown.md](references/digital-crown.md) | Digital Crown | Scrolling, value adjustment, haptic detents |\n| [eyes.md](references/eyes.md) | Eye tracking | Look and tap, gaze targeting, hit target sizing |\n| [spatial-interactions.md](references/spatial-interactions.md) | Spatial input | Hand gestures, direct manipulation, immersive input |\n| [focus-and-selection.md](references/focus-and-selection.md) | Focus system | tvOS/visionOS navigation, focus indicators, groups |\n| [remotes.md](references/remotes.md) | Remotes | Touch surface, clickpad, simple interactions |\n| [gyro-and-accelerometer.md](references/gyro-and-accelerometer.md) | Motion sensors | Gyroscope, accelerometer, calibration, gaming |\n| [nearby-interactions.md](references/nearby-interactions.md) | Nearby interactions | U1 chip, directional finding, proximity triggers |\n| [camera-control.md](references/camera-control.md) | Camera Control | iPhone camera hardware button, quick launch |\n\n## Output Format\n\n1. **Input method recommendations by platform** and how they interact.\n2. **Gesture specification table** -- standard and custom gestures with expected behaviors.\n3. **Keyboard shortcut recommendations** following system conventions.\n4. **Accessibility input alternatives** for VoiceOver, Switch Control, etc.\n\n## Questions to Ask\n\n1. Which platforms and input devices?\n2. Productivity or casual app?\n3. Custom gestures in the design?\n4. Game controller support needed?\n\n## Related Skills\n\n- **hig-components-status** -- Progress indicators responding to input (pull-to-refresh)\n- **hig-components-system** -- System experiences with unique input constraints\n- **hig-technologies** -- VoiceOver, Siri voice input, ARKit spatial gesture context\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-technologies"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-technologies  (snapshot 2025-02-02)\n\n---\nname: hig-technologies\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for Apple technology integrations: Siri, Apple Pay, HealthKit,\n  HomeKit, ARKit, machine learning, generative AI, iCloud, Sign in with Apple,\n  SharePlay, CarPlay, Game Center, in-app purchase, NFC, Wallet, VoiceOver, Maps,\n  Mac Catalyst, and more. Use when asked about: \"Siri integration\", \"Apple Pay\",\n  \"HealthKit\", \"HomeKit\", \"ARKit\", \"augmented reality\", \"machine learning\",\n  \"generative AI\", \"iCloud sync\", \"Sign in with Apple\", \"SharePlay\", \"CarPlay\",\n  \"in-app purchase\", \"NFC\", \"VoiceOver\", \"Maps\", \"Mac Catalyst\". Also use when\n  the user says \"how do I integrate Siri,\" \"what are the Apple Pay guidelines,\"\n  \"how should my AR experience work,\" \"how do I use Sign in with Apple,\" or asks\n  about any Apple framework or service integration.\n  Cross-references: hig-inputs for input methods, hig-components-system for widgets.\n---\n\n# Apple HIG: Technologies\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Apple technologies extend app capabilities through system integration.** Each technology has established user-facing patterns; deviating creates confusion and erodes trust.\n\n2. **Privacy and user control are paramount.** Especially for health, payment, and identity technologies. Request only needed data, explain why, respect choices.\n\n3. **Siri: natural, predictable, recoverable.** Clear conversational intent phrases that complete quickly and confirm results. Support App Shortcuts for proactive suggestions. Handle errors with clear fallbacks.\n\n4. **Payments: transparent and frictionless.** Standard Apple Pay button styles. Never ask for card details when Apple Pay is available. Clearly describe what the user is buying, the price, and whether it's one-time or subscription.\n\n5. **Health data is deeply personal.** Explain the health benefit before requesting access. CareKit tasks should be encouraging. ResearchKit consent flows must be thorough, readable, and respect autonomy.\n\n6. **HomeKit: simple and reliable.** Immediate response when controlling devices. Clear device state. Graceful handling of connectivity issues.\n\n7. **AR: genuine value, not gimmicks.** Use AR when spatial context improves understanding. Guide setup (surface, lighting, space). Provide clear exit back to standard interaction.\n\n8. **ML and generative AI: enhance without surprising.** Smart suggestions, image recognition, text prediction. Clearly attribute AI-generated content. Controls to edit, regenerate, or dismiss. Let users correct mistakes.\n\n9. **Sign in with Apple as top option.** Standard button styles. Respect email hiding preference. ID Verifier: guided flows, don't store sensitive data beyond what verification requires.\n\n10. **iCloud: invisible and reliable sync.** Data appears on all devices without manual intervention. Handle conflicts gracefully. Never lose data.\n\n11. **SharePlay: real-time participation.** Support multiple participants, show presence, handle latency. AirPlay: appropriate Now Playing metadata.\n\n12. **CarPlay: driver safety first.** Minimize interaction complexity, large touch targets, no distracting content. Only permitted app types: audio, messaging, EV charging, navigation, parking, quick food ordering.\n\n13. **Accessibility is a baseline requirement.** Every element has a meaningful VoiceOver label, trait, and action. Support Dynamic Type, Switch Control, and other assistive technologies. Test entirely with VoiceOver enabled.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [siri.md](references/siri.md) | Siri | Intents, shortcuts, voice interaction, App Shortcuts |\n| [apple-pay.md](references/apple-pay.md) | Apple Pay | Payment buttons, checkout flow, security |\n| [tap-to-pay-on-iphone.md](references/tap-to-pay-on-iphone.md) | Tap to Pay | Merchant flows, contactless payment |\n| [in-app-purchase.md](references/in-app-purchase.md) | In-app purchase | Subscriptions, one-time purchases, transparency |\n| [healthkit.md](references/healthkit.md) | HealthKit | Health data access, privacy, permissions |\n| [carekit.md](references/carekit.md) | CareKit | Care plans, tasks, health management |\n| [researchkit.md](references/researchkit.md) | ResearchKit | Studies, informed consent, data collection |\n| [homekit.md](references/homekit.md) | HomeKit | Smart home control, device state, scenes |\n| [augmented-reality.md](references/augmented-reality.md) | ARKit | Spatial context, surface detection, setup |\n| [machine-learning.md](references/machine-learning.md) | Core ML | Predictions, smart features, confidence handling |\n| [generative-ai.md](references/generative-ai.md) | Generative AI | Attribution, editing, responsible AI, uncertainty |\n| [icloud.md](references/icloud.md) | iCloud | CloudKit, cross-device sync, conflict resolution |\n| [sign-in-with-apple.md](references/sign-in-with-apple.md) | Sign in with Apple | Authentication, privacy, button styles |\n| [id-verifier.md](references/id-verifier.md) | ID Verifier | Identity verification, document scanning |\n| [shareplay.md](references/shareplay.md) | SharePlay | Shared experiences, participant presence |\n| [airplay.md](references/airplay.md) | AirPlay | Media streaming, Now Playing, wireless display |\n| [carplay.md](references/carplay.md) | CarPlay | Driver safety, permitted app types, large targets |\n| [game-center.md](references/game-center.md) | Game Center | Achievements, leaderboards, multiplayer |\n| [voiceover.md](references/voiceover.md) | VoiceOver | Screen reader, labels, traits, accessibility |\n| [wallet.md](references/wallet.md) | Wallet | Passes, tickets, loyalty cards |\n| [nfc.md](references/nfc.md) | NFC | Tag reading, quick interactions, App Clips |\n| [maps.md](references/maps.md) | Maps | Location display, annotations, directions |\n| [mac-catalyst.md](references/mac-catalyst.md) | Mac Catalyst | iPad to Mac, menu bar, keyboard, pointer |\n| [live-photos.md](references/live-photos.md) | Live Photos | Motion capture, playback, editing |\n| [imessage-apps-and-stickers.md](references/imessage-apps-and-stickers.md) | iMessage apps | Messages extension, stickers, compact UI |\n| [shazamkit.md](references/shazamkit.md) | ShazamKit | Audio recognition, music identification |\n| [always-on.md](references/always-on.md) | Always-on display | Dimmed state, power efficiency, reduced updates |\n| [photo-editing.md](references/photo-editing.md) | Photo editing | System photo editor, filters, adjustments |\n\n## Output Format\n\n1. **Implementation checklist** -- step-by-step requirements per Apple's guidelines.\n2. **Required vs optional features** for approval.\n3. **Privacy and permission requirements** -- data access, usage descriptions.\n4. **User-facing flow** from permission prompt through task completion.\n5. **Testing guidance** -- key scenarios including edge cases.\n\n## Questions to Ask\n\n1. Which Apple technology?\n2. Core use case?\n3. Which platforms?\n4. API requirements and entitlements reviewed?\n5. What data or permissions needed?\n\n## Related Skills\n\n- **hig-inputs** -- Input methods interacting with technologies (voice for Siri, Pencil for AR, gestures for Maps)\n- **hig-components-system** -- Widgets, complications, Live Activities surfacing technology data\n- **hig-components-status** -- Progress indicators for technology operations (sync, payment, AR loading)\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-project-context"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-project-context  (snapshot 2025-02-02)\n\n---\nname: hig-project-context\nversion: 1.0.0\ndescription: >-\n  Create or update a shared Apple design context document that other HIG skills\n  use to tailor guidance. Use when the user says \"set up my project context,\"\n  \"what platforms am I targeting,\" \"configure HIG settings,\" or when starting a\n  new Apple platform project. Also activates when other HIG skills need project\n  context but none exists yet. This skill creates .claude/apple-design-context.md\n  so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and\n  hig-technologies can provide targeted advice without repetitive questions.\n---\n\n# Apple HIG: Project Context\n\nCreate and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Gathering Context\n\nBefore asking questions, auto-discover context from:\n\n1. **README.md** -- Product description, platform targets\n2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies\n3. **Info.plist** -- App category, required capabilities, supported orientations\n4. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)\n5. **Assets.xcassets** -- Color assets, icon sets, dark mode variants\n6. **Accessibility audit** -- Grep for accessibility modifiers/attributes\n\nPresent findings and ask the user to confirm or correct. Then gather anything still missing:\n\n### 1. Product Overview\n- What does the app do? (one sentence)\n- Category (productivity, social, health, game, utility, etc.)\n- Stage (concept, development, shipped, redesign)\n\n### 2. Target Platforms\n- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)\n- Minimum OS versions\n- Universal or platform-specific?\n\n### 3. Technology Stack\n- UI framework: SwiftUI, UIKit, AppKit, or mixed?\n- Architecture: single-window, multi-window, document-based?\n- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)\n\n### 4. Design System\n- System defaults or custom design system?\n- Brand colors, fonts, icon style?\n- Dark mode and Dynamic Type support status\n\n### 5. Accessibility Requirements\n- Target level (baseline, enhanced, comprehensive)\n- Specific considerations (VoiceOver, Switch Control, etc.)\n- Regulatory requirements (WCAG, Section 508)\n\n### 6. User Context\n- Primary personas (1-3)\n- Key use cases and environments (desk, on-the-go, glanceable, immersive)\n- Known pain points or design challenges\n\n### 7. Existing Design Assets\n- Figma/Sketch files?\n- Apple Design Resources in use?\n- Existing component library?\n\n## Context Document Template\n\nGenerate `.claude/apple-design-context.md` using this structure:\n\n```markdown\n# Apple Design Context\n\n## Product\n- **Name**: [App name]\n- **Description**: [One sentence]\n- **Category**: [Category]\n- **Stage**: [Concept / Development / Shipped / Redesign]\n\n## Platforms\n| Platform | Supported | Min OS | Notes |\n|----------|-----------|--------|-------|\n| iOS      | Yes/No    |        |       |\n| iPadOS   | Yes/No    |        |       |\n| macOS    | Yes/No    |        |       |\n| tvOS     | Yes/No    |        |       |\n| watchOS  | Yes/No    |        |       |\n| visionOS | Yes/No    |        |       |\n\n## Technology\n- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]\n- **Architecture**: [Single-window / Multi-window / Document-based]\n- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]\n\n## Design System\n- **Base**: [System defaults / Custom design system]\n- **Brand Colors**: [List or reference]\n- **Typography**: [System fonts / Custom fonts]\n- **Dark Mode**: [Supported / Not yet / N/A]\n- **Dynamic Type**: [Supported / Not yet / N/A]\n\n## Accessibility\n- **Target Level**: [Baseline / Enhanced / Comprehensive]\n- **Key Considerations**: [List any specific needs]\n\n## Users\n- **Primary Persona**: [Description]\n- **Key Use Cases**: [List]\n- **Known Challenges**: [List]\n```\n\n## Updating Context\n\nWhen updating an existing context document:\n\n1. Read the current `.claude/apple-design-context.md`\n2. Ask what has changed\n3. Update only the changed sections\n4. Preserve all unchanged information\n\n## Related Skills\n\n- **hig-platforms** -- Platform-specific guidance\n- **hig-foundations** -- Color, typography, layout decisions\n- **hig-patterns** -- UX pattern recommendations\n- **hig-components-*** -- Component recommendations\n- **hig-inputs** -- Input method coverage\n- **hig-technologies** -- Apple technology relevance\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          }
        ],
        "task": "t1",
        "turns": 5
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available skills and reference topics\n\nThe skill-listing tool’s response was **truncated**, so the list below includes all complete entries it returned, but may not include every available skill.\n\n- **`hig-components-content`** — Content display: `activity-views`, `charts`, `collections`, `color-wells`, `image-views`, `image-wells`, `lockups`, `web-views`.\n- **`hig-components-controls`** — Selection and input controls: `combo-boxes`, `controls`, `gauges`, `labels`, `pickers`, `rating-indicators`, `segmented-controls`, `sliders`, `steppers`, `text-fields`, `text-views`, `toggles`, `token-fields`, `virtual-keyboards`.\n- **`hig-components-dialogs`** — Presentation components: `action-sheets`, `alerts`, `digit-entry-views`, `popovers`, `sheets`.\n- **`hig-components-layout`** — Layout and navigation: `boxes`, `column-views`, `lists-and-tables`, `ornaments`, `outline-views`, `panels`, `scroll-views`, `sidebars`, `split-views`, `tab-bars`, `tab-views`, `windows`.\n- **`hig-components-menus`** — Menus and buttons: `action-button`, `buttons`, `context-menus`, `disclosure-controls`, `dock-menus`, `edit-menus`, `menus`, `pop-up-buttons`, `pull-down-buttons`, `the-menu-bar`, `toolbars`.\n- **`hig-components-search`** — Search and navigation controls: `page-controls`, `path-controls`, `search-fields`.\n- **`hig-components-status`** — Status and progress: `activity-rings`, `progress-indicators`, `status-bars`.\n- **`hig-components-system`** — System experiences, including widgets, Live Activities, notifications, complications, and app shortcuts. Its topic list was cut off in the response.\n\n## Detailed color guidance\n\nI looked up `hig-foundations` → `color`. The reference returned these recommendations:\n\n- **Consistency and testing:** Don’t use the same color for different meanings. Check colors in light, dark, and increased-contrast contexts, under varied lighting, and on different devices. Consider the effects of artwork and translucency.\n- **Inclusive color:** Don’t rely on color alone to distinguish objects, indicate interactivity, or communicate essential information. Avoid combinations that make content difficult to perceive, and consider cultural interpretations of color.\n- **System colors:** Don’t hard-code system color values or redefine the semantic meanings of dynamic system colors. Prefer system-provided controls when people choose colors.\n- **Liquid Glass:** Apply color sparingly to the material and to its text or symbols. Avoid similarly colored control labels against colorful backgrounds, and consider color placement in the content layer.\n- **Color management:** Apply color profiles to images, use wide color to enhance experiences on compatible displays, and provide color-space-specific variations when needed.\n- **Platform considerations:** On iOS and iPadOS, use primary, secondary, and tertiary backgrounds to establish grouping hierarchy. On tvOS, consider a limited palette and don’t use color alone to indicate focus. On visionOS, use color sparingly—especially on glass—and keep brightness balanced in fully immersive experiences. On watchOS, use background color to support content and account for people who prefer tinted graphic complications.\n\nThe tool identifies this as a structured index, not the complete illustrated guidance. See Apple’s [Color HIG](https://developer.apple.com/design/human-interface-guidelines/color) for the full reference.",
        "round": 2,
        "steps": [
          {
            "arguments": {},
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"source\": \"https://developer.apple.com/design/human-interface-guidelines/\",\n  \"skills\": [\n    {\n      \"skill\": \"hig-components-content\",\n      \"description\": \"Apple Human Interface Guidelines for content display components. Use this skill when the user asks about \\\"charts component\\\", \\\"collection view\\\", \\\"image view\\\", \\\"web view\\\", \\\"color well\\\", \\\"image well\\\", \\\"activity view\\\", \\\"lockup\\\", \\\"data visualization\\\", \\\"content display\\\", displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says \\\"how should I display charts\\\", \\\"what's the best way to show images\\\", \\\"should I use a web view\\\", \\\"how do I build a grid of items\\\", \\\"what component shows media\\\", or \\\"how do I present a share sheet\\\". Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.\",\n      \"topics\": [\n        \"activity-views\",\n        \"charts\",\n        \"collections\",\n        \"color-wells\",\n        \"image-views\",\n        \"image-wells\",\n        \"lockups\",\n        \"web-views\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-controls\",\n      \"description\": \"Apple HIG guidance for selection and input controls including pickers, toggles, sliders, steppers, segmented controls, combo boxes, text fields, text views, labels, token fields, virtual keyboards, rating indicators, and gauges. Use this skill when the user says \\\"picker or segmented control,\\\" \\\"how should my form look,\\\" \\\"what keyboard type should I use,\\\" \\\"toggle vs checkbox,\\\" or asks about picker design, toggle, switch, slider, stepper, text field, text input, segmented control, combo box, label, token field, virtual keyboard, rating indicator, gauge, form design, input validation, or control state management. Cross-references: hig-components-menus, hig-components-dialogs, hig-components-search.\",\n      \"topics\": [\n        \"combo-boxes\",\n        \"controls\",\n        \"gauges\",\n        \"labels\",\n        \"pickers\",\n        \"rating-indicators\",\n        \"segmented-controls\",\n        \"sliders\",\n        \"steppers\",\n        \"text-fields\",\n        \"text-views\",\n        \"toggles\",\n        \"token-fields\",\n        \"virtual-keyboards\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-dialogs\",\n      \"description\": \"Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views. Use this skill when the user says \\\"should I use an alert or a sheet,\\\" \\\"how do I show a confirmation dialog,\\\" \\\"when should I use a popover,\\\" \\\"my modals are annoying users,\\\" or asks about alert design, action sheet, popover, sheet, modal, dialog, digit entry, confirmation dialog, warning dialog, modal presentation, non-modal content, destructive action confirmation, or overlay UI patterns. Cross-references: hig-components-menus, hig-components-controls, hig-components-search, hig-patterns.\",\n      \"topics\": [\n        \"action-sheets\",\n        \"alerts\",\n        \"digit-entry-views\",\n        \"popovers\",\n        \"sheets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-layout\",\n      \"description\": \"Apple Human Interface Guidelines for layout and navigation components. Use this skill when the user asks about \\\"sidebar\\\", \\\"split view\\\", \\\"tab bar\\\", \\\"tab view\\\", \\\"scroll view\\\", \\\"window design\\\", \\\"panel\\\", \\\"list view\\\", \\\"table view\\\", \\\"column view\\\", \\\"outline view\\\", \\\"navigation structure\\\", \\\"app layout\\\", \\\"boxes\\\", \\\"ornaments\\\", or organizing content hierarchically in Apple apps. Also use when the user says \\\"how should I organize my app\\\", \\\"what navigation pattern should I use\\\", \\\"my layout breaks on iPad\\\", \\\"how do I build a sidebar\\\", \\\"should I use tabs or a sidebar\\\", or \\\"my app doesn't adapt to different screen sizes\\\". Cross-references: hig-foundations for layout/spacing principles, hig-platforms for platform-specific navigation, hig-patterns for multitasking and full-screen, hig-components-content for content display.\",\n      \"topics\": [\n        \"boxes\",\n        \"column-views\",\n        \"lists-and-tables\",\n        \"ornaments\",\n        \"outline-views\",\n        \"panels\",\n        \"scroll-views\",\n        \"sidebars\",\n        \"split-views\",\n        \"tab-bars\",\n        \"tab-views\",\n        \"windows\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-menus\",\n      \"description\": \"Apple HIG guidance for menu and button components including menus, context menus, dock menus, edit menus, the menu bar, toolbars, action buttons, pop-up buttons, pull-down buttons, disclosure controls, and standard buttons. Use this skill when the user says \\\"how should my buttons look,\\\" \\\"what goes in the menu bar,\\\" \\\"should I use a context menu or action sheet,\\\" \\\"how do I design a toolbar,\\\" or asks about button design, menu design, context menu, toolbar, menu bar, action button, pop-up button, pull-down button, disclosure control, dock menu, edit menu, or any menu/button component layout and behavior. Cross-references: hig-components-search, hig-components-controls, hig-components-dialogs.\",\n      \"topics\": [\n        \"action-button\",\n        \"buttons\",\n        \"context-menus\",\n        \"disclosure-controls\",\n        \"dock-menus\",\n        \"edit-menus\",\n        \"menus\",\n        \"pop-up-buttons\",\n        \"pull-down-buttons\",\n        \"the-menu-bar\",\n        \"toolbars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-search\",\n      \"description\": \"Apple HIG guidance for navigation-related components including search fields, page controls, and path controls. Use this skill when the user says \\\"how should search work in my app,\\\" \\\"I need a breadcrumb,\\\" \\\"how do I paginate content,\\\" or asks about search field, search bar, page control, path control, breadcrumb, navigation component, search UX, search suggestions, search scopes, paginated content navigation, or file path hierarchy display. Cross-references: hig-components-menus, hig-components-controls, hig-components-dialogs, hig-patterns.\",\n      \"topics\": [\n        \"page-controls\",\n        \"path-controls\",\n        \"search-fields\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-status\",\n      \"description\": \"Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings. Use this skill when asked about: \\\"progress indicator\\\", \\\"progress bar\\\", \\\"loading spinner\\\", \\\"status bar\\\", \\\"activity ring\\\", \\\"progress display\\\", determinate vs indeterminate progress, loading states, or fitness tracking rings. Also use when the user says \\\"how do I show loading state,\\\" \\\"should I use a spinner or progress bar,\\\" \\\"what goes in the status bar,\\\" or asks about activity indicators. Cross-references: hig-components-system for widgets and complications, hig-inputs for gesture-driven progress controls, hig-technologies for HealthKit and activity ring data integration.\",\n      \"topics\": [\n        \"activity-rings\",\n        \"progress-indicators\",\n        \"status-bars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-system\",\n      \"description\": \"Apple HIG guidance for system experience components: widgets, live activities, notifications, complications, home screen quick actions, top shelf, watch faces, app clips, and app shortcuts. Use when asked about: \\\"widget design\\\", \\\"live activity\\\", \\\"notification design\\\", \\\"complication\\\", \\\"home screen quick action\\\", \\\"top shelf\\\", \\\"watch face\\\", \\\"app clip\\\", \\\"app shortcut\\\", \\\"system experience\\\". Also use when the user says \\\"how do I design a widget,\\\" \\\"what should my notification look like,\\\" \\\"how do Live Activities work,\\\" \\\"should I make an App Clip,\\\" or asks about surfaces outside the main app. Cross-references: hig-components-status for progress in widgets, hig-inputs for interaction patterns, hig-technologies for Siri and system integration.\",\n      \"topics\": [\n        \"app-clips\",\n        \"app-shortcuts\",\n        \"complications\",\n        \"home-screen-quick-actions\",\n        \"live-activities\",\n        \"notifications\",\n        \"top-shelf\",\n        \"watch-faces\",\n        \"widgets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"description\": \"Apple Human Interface Guidelines design foundations. Use this skill when the user asks about \\\"HIG color\\\", \\\"Apple typography\\\", \\\"SF Symbols\\\", \\\"dark mode guidelines\\\", \\\"accessible design\\\", \\\"Apple design foundations\\\", \\\"app icon\\\", \\\"layout guidelines\\\", \\\"materials\\\", \\\"motion\\\", \\\"privacy\\\", \\\"right to left\\\", \\\"RTL\\\", \\\"inclusive design\\\", branding, images, spatial layout, or writing style. Also use when the user says \\\"my colors look wrong in dark mode\\\", \\\"what font should I use\\\", \\\"is my app accessible enough\\\", \\\"how do I support Dynamic Type\\\", \\\"what contrast ratio do I need\\\", \\\"how do I pick system colors\\\", or \\\"my icons don't match the system style\\\". Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction patterns, hig-components-layout for structural components, hig-components-content for display.\",\n      \"topics\": [\n        \"accessibility\",\n        \"app-icons\",\n        \"branding\",\n        \"color\",\n        \"dark-mode\",\n        \"icons\",\n        \"images\",\n        \"immersive-experiences\",\n        \"inclusion\",\n        \"layout\",\n        \"materials\",\n        \"motion\",\n        \"privacy\",\n        \"right-to-left\",\n        \"sf-symbols\",\n        \"spatial-layout\",\n        \"typography\",\n        \"writing\"\n      ]\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"description\": \"Apple HIG guidance for input methods and interaction patterns: gestures, Apple Pencil, keyboards, game controllers, pointers, Digital Crown, eye tracking, focus system, remotes, spatial interactions, gyroscope, accelerometer, and nearby interactions. Use when asked about: \\\"gesture design\\\", \\\"Apple Pencil\\\", \\\"keyboard shortcuts\\\", \\\"game controller\\\", \\\"pointer support\\\", \\\"mouse support\\\", \\\"trackpad\\\", \\\"Digital Crown\\\", \\\"eye tracking\\\", \\\"visionOS input\\\", \\\"focus system\\\", \\\"remote control\\\", \\\"gyroscope\\\", \\\"spatial interaction\\\". Also use when the user says \\\"what gestures should I support,\\\" \\\"how do I add keyboard shortcuts,\\\" \\\"how does input work on Apple TV,\\\" \\\"should I support Apple Pencil,\\\" or asks about input device handling. Cross-references: hig-components-status, hig-components-system, hig-technologies for VoiceOver and Siri.\",\n      \"topics\": [\n        \"apple-pencil-and-scribble\",\n        \"camera-control\",\n        \"digital-crown\",\n        \"eyes\",\n        \"focus-and-selection\",\n        \"game-controls\",\n        \"gestures\",\n        \"gyro-and-accelerometer\",\n        \"keyboards\",\n        \"nearby-interactions\",\n        \"pointing-devices\",\n        \"remotes\",\n        \"spatial-interactions\"\n      ]\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"description\": \"Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about \\\"onboarding flow\\\", \\\"user onboarding\\\", \\\"app launch\\\", \\\"loading state\\\", \\\"drag and drop\\\", \\\"search pattern\\\", \\\"settings design\\\", \\\"notifications\\\", \\\"modality\\\", \\\"multitasking\\\", \\\"feedback pattern\\\", \\\"haptics\\\", \\\"undo redo\\\", \\\"file management\\\", data entry, sharing, collaboration, full screen, audio, video, haptic feedback, ratings, printing, help, or account management in Apple apps. Also use when the user says \\\"how should onboarding work\\\", \\\"my app takes too long to load\\\", \\\"should I use a modal here\\\", \\\"how do I handle errors\\\", \\\"when should I ask for permissions\\\", \\\"how to show progress\\\", or \\\"what's the right way to confirm a delete\\\". Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics, hig-components-layout for navigation, hig-components-content for data display.\",\n      \"topics\": [\n        \"charting-data\",\n        \"collaboration-and-sharing\",\n        \"drag-and-drop\",\n        \"entering-data\",\n        \"feedback\",\n        \"file-management\",\n        \"going-full-screen\",\n        \"launching\",\n        \"live-viewing-apps\",\n        \"loading\",\n        \"managing-accounts\",\n        \"managing-notifications\",\n        \"modality\",\n        \"multitasking\",\n        \"offering-help\",\n        \"onboarding\",\n        \"playing-audio\",\n        \"playing-haptics\",\n        \"playing-video\",\n        \"printing\",\n        \"ratings-and-reviews\",\n        \"searching\",\n        \"settings\",\n        \"undo-and-redo\",\n        \"workouts\"\n      ]\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"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.\",\n      \"topics\": [\n        \"designing-for-games\",\n        \"designing-for-ios\",\n        \"designing-for-ipados\",\n        \"designing-for-macos\",\n        \"designing-for-tvos\",\n        \"designing-for-visionos\",\n        \"designing-for-watchos\"\n      ]\n    },\n    {\n      \"skill\": \"hig-project-context\",\n      \"description\": \"Create or update a shared Apple design context document that other HIG skills use to tailor guidance. Use when the user says \\\"set up my project context,\\\" \\\"what platforms am I targeting,\\\" \\\"configure HIG settings,\\\" or when starting a new Apple platform project. Also activates when other HIG skills need project context but none exists yet. This skill creates .claude/apple-design-context.md so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and hig-technologies can provide targeted advice without repetitive questions.\",\n      \"topics\": []\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"description\": \"Apple HIG guidance for Apple technology integrations: Siri, Apple Pay, HealthKit, HomeKit, ARKit, machine learning, generative AI, iCloud, Sign in with Apple, SharePlay, CarPlay, Game Center, in-app purchase, NFC, Wallet, VoiceOver, Maps, Mac Catalyst, and more. Use when asked about: \\\"Siri integration\\\", \\\"Apple Pay\\\", \\\"HealthKit\\\", \\\"HomeKit\\\", \\\"ARKit\\\", \\\"augmented reality\\\", \\\"machine learning\\\", \\\"generative AI\\\", \\\"iCloud sync\\\", \\\"Sign in with Apple\\\", \\\"SharePlay\\\", \\\"CarPlay\\\", \\\"in-app purchase\\\", \\\"NFC\\\", \\\"VoiceOver\\\", \\\"Maps\\\", \\\"Mac Catalyst\\\". Also use when the user says \\\"how do I integrate Siri,\\\" \\\"what are the Apple Pay guidelines,\\\" \\\"how should my AR experience work,\\\" \\\"how do I use Sign in with Apple,\\\" or asks about any Apple framework or service integration. Cross-references: hig-inputs for input methods, hig-components-system for widgets.\",\n      \"topics\": [\n        \"airplay\",\n        \"always-on\",\n        \"apple-pay\",\n        \"augmented-reality\",\n        \"carekit\",\n        \"carplay\",\n        \"game-center\",\n        \"generative-ai\",\n        \"healthkit\",\n        \"homekit\",\n        \"icloud\",\n        \"id-verifier\",\n        \"imessage-apps-and-stickers\",\n        \"in-app-purchase\",\n        \"live-photos\",\n        \"mac-catalyst\",\n        \"machine-learning\",\n        \"maps\",\n        \"nfc\",\n        \"photo-editing\",\n        \"researchkit\",\n        \"shareplay\",\n        \"shazamkit\",\n        \"sign-in-with-apple\",\n        \"siri\",\n        \"tap-to-pay-on-iphone\",\n        \"voiceover\",\n        \"wallet\"\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_list_skills"
          },
          {
            "arguments": {
              "skill": "hig-foundations",
              "topic": "color"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Source: https://developer.apple.com/design/human-interface-guidelines/color  (snapshot 2025-02-02)\n\n---\ntitle: \"Color | Apple Developer Documentation\"\nsource: https://developer.apple.com/design/human-interface-guidelines/color\n---\n\n<!-- hig-doctor:attribution -->\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/color.\n> This file is a structured index of that content, snapshot 2025-02-02.\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\n\n# Color\n\n## Best practices\n\n**Avoid using the same color to mean different things.**\n\n**Make sure all your app’s colors work well in light, dark, and increased contrast contexts.**\n\n**Test your app’s color scheme under a variety of lighting conditions.**\n\n**Test your app on different devices.**\n\n**Consider how artwork and translucency affect nearby colors.**\n\n**If your app lets people choose colors, prefer system-provided color controls where available.**\n\n## Inclusive color\n\n**Avoid relying solely on color to differentiate between objects, indicate interactivity, or communicate essential information.**\n\n**Avoid using colors that make it hard to perceive content in your app.**\n\n**Consider how the colors you use might be perceived in other countries and cultures.**\n\n## System colors\n\n**Avoid hard-coding system color values in your app.**\n\n**Avoid redefining the semantic meanings of dynamic system colors.**\n\n## Liquid Glass color\n\n**Apply color sparingly to the Liquid Glass material, and to symbols or text on the material.**\n\n**Avoid using similar colors in control labels if your app has a colorful background.**\n\n**Be aware of the placement of color in the content layer.**\n\n## Color management\n\n**Apply color profiles to your images.**\n\n**Use wide color to enhance the visual experience on compatible displays.**\n\n**Provide color space–specific image and color variations if necessary.**\n\n## Platform considerations\n\n### iOS, iPadOS\n\n  * Primary for the overall view\n\n  * Secondary for grouping content or elements within the overall view\n\n  * Tertiary for grouping content or elements within secondary elements\n\n### tvOS\n\n**Consider choosing a limited color palette that coordinates with your app logo.**\n\n**Avoid using only color to indicate focus.**\n\n### visionOS\n\n**Use color sparingly, especially on glass.**\n\n**Prefer using color in bold text and large areas.**\n\n**In a fully immersive experience, help people maintain visual comfort by keeping brightness levels balanced.**\n\n### watchOS\n\n**Use background color to support existing content or supply additional information.**\n\n**Recognize that people might prefer graphic complications to use tinted mode instead of full color.**\n\n---\n\n<!-- hig-doctor:canonical-footer -->\nFor the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/color\n\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          }
        ],
        "task": "t1",
        "turns": 3
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "## Available Apple HIG skills and reference topics\n\nThe server identifies its reference snapshot as **2025-02-02**.\n\n- **`hig-components-content`** — `activity-views`, `charts`, `collections`, `color-wells`, `image-views`, `image-wells`, `lockups`, `web-views`\n- **`hig-components-controls`** — `combo-boxes`, `controls`, `gauges`, `labels`, `pickers`, `rating-indicators`, `segmented-controls`, `sliders`, `steppers`, `text-fields`, `text-views`, `toggles`, `token-fields`, `virtual-keyboards`\n- **`hig-components-dialogs`** — `action-sheets`, `alerts`, `digit-entry-views`, `popovers`, `sheets`\n- **`hig-components-layout`** — `boxes`, `column-views`, `lists-and-tables`, `ornaments`, `outline-views`, `panels`, `scroll-views`, `sidebars`, `split-views`, `tab-bars`, `tab-views`, `windows`\n- **`hig-components-menus`** — `action-button`, `buttons`, `context-menus`, `disclosure-controls`, `dock-menus`, `edit-menus`, `menus`, `pop-up-buttons`, `pull-down-buttons`, `the-menu-bar`, `toolbars`\n- **`hig-components-search`** — `page-controls`, `path-controls`, `search-fields`\n- **`hig-components-status`** — `activity-rings`, `progress-indicators`, `status-bars`\n- **`hig-components-system`** — `widgets`, `live-activities`, `notifications`, `complications`, `home-screen-quick-actions`, `top-shelf`, `app-clips`, `watch-faces`, `app-shortcuts`\n- **`hig-foundations`** — `accessibility`, `app-icons`, `branding`, `color`, `dark-mode`, `icons`, `images`, `immersive-experiences`, `inclusion`, `layout`, `materials`, `motion`, `privacy`, `right-to-left`, `sf-symbols`, `spatial-layout`, `typography`, `writing`\n- **`hig-inputs`** — `gestures`, `apple-pencil-and-scribble`, `keyboards`, `game-controls`, `pointing-devices`, `digital-crown`, `eyes`, `spatial-interactions`, `focus-and-selection`, `remotes`, `gyro-and-accelerometer`, `nearby-interactions`, `camera-control`\n- **`hig-patterns`** — `charting-data`, `collaboration-and-sharing`, `drag-and-drop`, `entering-data`, `feedback`, `file-management`, `going-full-screen`, `launching`, `live-viewing-apps`, `loading`, `managing-accounts`, `managing-notifications`, `modality`, `multitasking`, `offering-help`, `onboarding`, `playing-audio`, `playing-haptics`, `playing-video`, `printing`, `ratings-and-reviews`, `searching`, `settings`, `undo-and-redo`, `workouts`\n- **`hig-platforms`** — `designing-for-ios`, `designing-for-ipados`, `designing-for-macos`, `designing-for-tvos`, `designing-for-visionos`, `designing-for-watchos`, `designing-for-games`\n- **`hig-technologies`** — `siri`, `apple-pay`, `tap-to-pay-on-iphone`, `in-app-purchase`, `healthkit`, `carekit`, `researchkit`, `homekit`, `augmented-reality`, `machine-learning`, `generative-ai`, `icloud`, `sign-in-with-apple`, `id-verifier`, `shareplay`, `airplay`, `carplay`, `game-center`, `voiceover`, `wallet`, `nfc`, `maps`, `mac-catalyst`, `live-photos`, `imessage-apps-and-stickers`, `shazamkit`, `always-on`, `photo-editing`\n- **`hig-project-context`** — Project-context setup and maintenance; its overview does not list separate reference topics.\n\nThe initial skill-list response was truncated, so the latter entries above were supplemented with skill-overview lookups. That means the server output did not confirm whether any additional skills exist beyond those listed here.\n\n## Detailed color guidance\n\nI looked up **`hig-foundations` → `color`**. The reference returned these recommendations:\n\n- **Consistency and testing:** Don’t use the same color to mean different things. Ensure colors work in light, dark, and increased-contrast contexts; test across devices and lighting conditions. Consider effects from nearby artwork and translucency. Prefer system color controls when users choose colors.\n- **Inclusive color:** Don’t rely on color alone to distinguish objects, indicate interactivity, or convey essential information. Avoid combinations that make content difficult to perceive, and consider cultural differences in color interpretation.\n- **System colors:** Don’t hard-code system color values or redefine the semantic meanings of dynamic system colors.\n- **Liquid Glass:** Apply color sparingly to the material and to text or symbols on it. Avoid similar control-label colors over colorful backgrounds, and consider where color appears in the content layer.\n- **Color management:** Apply color profiles to images; use wide color to enhance the experience on compatible displays; provide color-space-specific image or color variants when needed.\n- **Platform considerations:**\n  - **iOS and iPadOS:** Use primary, secondary, and tertiary backgrounds to express successive levels of content grouping.\n  - **tvOS:** Consider a limited palette coordinated with the app logo, and don’t indicate focus through color alone.\n  - **visionOS:** Use color sparingly, especially on glass; prefer it in bold text and large areas. In fully immersive experiences, balance brightness for visual comfort.\n  - **watchOS:** Use background color to support content or add information, and account for people preferring graphic complications in tinted mode.\n\nThe lookup is a structured index rather than the complete illustrated guidance. See Apple’s canonical [Color HIG](https://developer.apple.com/design/human-interface-guidelines/color) for the full page.",
        "round": 3,
        "steps": [
          {
            "arguments": {},
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"source\": \"https://developer.apple.com/design/human-interface-guidelines/\",\n  \"skills\": [\n    {\n      \"skill\": \"hig-components-content\",\n      \"description\": \"Apple Human Interface Guidelines for content display components. Use this skill when the user asks about \\\"charts component\\\", \\\"collection view\\\", \\\"image view\\\", \\\"web view\\\", \\\"color well\\\", \\\"image well\\\", \\\"activity view\\\", \\\"lockup\\\", \\\"data visualization\\\", \\\"content display\\\", displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says \\\"how should I display charts\\\", \\\"what's the best way to show images\\\", \\\"should I use a web view\\\", \\\"how do I build a grid of items\\\", \\\"what component shows media\\\", or \\\"how do I present a share sheet\\\". Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.\",\n      \"topics\": [\n        \"activity-views\",\n        \"charts\",\n        \"collections\",\n        \"color-wells\",\n        \"image-views\",\n        \"image-wells\",\n        \"lockups\",\n        \"web-views\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-controls\",\n      \"description\": \"Apple HIG guidance for selection and input controls including pickers, toggles, sliders, steppers, segmented controls, combo boxes, text fields, text views, labels, token fields, virtual keyboards, rating indicators, and gauges. Use this skill when the user says \\\"picker or segmented control,\\\" \\\"how should my form look,\\\" \\\"what keyboard type should I use,\\\" \\\"toggle vs checkbox,\\\" or asks about picker design, toggle, switch, slider, stepper, text field, text input, segmented control, combo box, label, token field, virtual keyboard, rating indicator, gauge, form design, input validation, or control state management. Cross-references: hig-components-menus, hig-components-dialogs, hig-components-search.\",\n      \"topics\": [\n        \"combo-boxes\",\n        \"controls\",\n        \"gauges\",\n        \"labels\",\n        \"pickers\",\n        \"rating-indicators\",\n        \"segmented-controls\",\n        \"sliders\",\n        \"steppers\",\n        \"text-fields\",\n        \"text-views\",\n        \"toggles\",\n        \"token-fields\",\n        \"virtual-keyboards\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-dialogs\",\n      \"description\": \"Apple HIG guidance for presentation components including alerts, action sheets, popovers, sheets, and digit entry views. Use this skill when the user says \\\"should I use an alert or a sheet,\\\" \\\"how do I show a confirmation dialog,\\\" \\\"when should I use a popover,\\\" \\\"my modals are annoying users,\\\" or asks about alert design, action sheet, popover, sheet, modal, dialog, digit entry, confirmation dialog, warning dialog, modal presentation, non-modal content, destructive action confirmation, or overlay UI patterns. Cross-references: hig-components-menus, hig-components-controls, hig-components-search, hig-patterns.\",\n      \"topics\": [\n        \"action-sheets\",\n        \"alerts\",\n        \"digit-entry-views\",\n        \"popovers\",\n        \"sheets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-layout\",\n      \"description\": \"Apple Human Interface Guidelines for layout and navigation components. Use this skill when the user asks about \\\"sidebar\\\", \\\"split view\\\", \\\"tab bar\\\", \\\"tab view\\\", \\\"scroll view\\\", \\\"window design\\\", \\\"panel\\\", \\\"list view\\\", \\\"table view\\\", \\\"column view\\\", \\\"outline view\\\", \\\"navigation structure\\\", \\\"app layout\\\", \\\"boxes\\\", \\\"ornaments\\\", or organizing content hierarchically in Apple apps. Also use when the user says \\\"how should I organize my app\\\", \\\"what navigation pattern should I use\\\", \\\"my layout breaks on iPad\\\", \\\"how do I build a sidebar\\\", \\\"should I use tabs or a sidebar\\\", or \\\"my app doesn't adapt to different screen sizes\\\". Cross-references: hig-foundations for layout/spacing principles, hig-platforms for platform-specific navigation, hig-patterns for multitasking and full-screen, hig-components-content for content display.\",\n      \"topics\": [\n        \"boxes\",\n        \"column-views\",\n        \"lists-and-tables\",\n        \"ornaments\",\n        \"outline-views\",\n        \"panels\",\n        \"scroll-views\",\n        \"sidebars\",\n        \"split-views\",\n        \"tab-bars\",\n        \"tab-views\",\n        \"windows\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-menus\",\n      \"description\": \"Apple HIG guidance for menu and button components including menus, context menus, dock menus, edit menus, the menu bar, toolbars, action buttons, pop-up buttons, pull-down buttons, disclosure controls, and standard buttons. Use this skill when the user says \\\"how should my buttons look,\\\" \\\"what goes in the menu bar,\\\" \\\"should I use a context menu or action sheet,\\\" \\\"how do I design a toolbar,\\\" or asks about button design, menu design, context menu, toolbar, menu bar, action button, pop-up button, pull-down button, disclosure control, dock menu, edit menu, or any menu/button component layout and behavior. Cross-references: hig-components-search, hig-components-controls, hig-components-dialogs.\",\n      \"topics\": [\n        \"action-button\",\n        \"buttons\",\n        \"context-menus\",\n        \"disclosure-controls\",\n        \"dock-menus\",\n        \"edit-menus\",\n        \"menus\",\n        \"pop-up-buttons\",\n        \"pull-down-buttons\",\n        \"the-menu-bar\",\n        \"toolbars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-search\",\n      \"description\": \"Apple HIG guidance for navigation-related components including search fields, page controls, and path controls. Use this skill when the user says \\\"how should search work in my app,\\\" \\\"I need a breadcrumb,\\\" \\\"how do I paginate content,\\\" or asks about search field, search bar, page control, path control, breadcrumb, navigation component, search UX, search suggestions, search scopes, paginated content navigation, or file path hierarchy display. Cross-references: hig-components-menus, hig-components-controls, hig-components-dialogs, hig-patterns.\",\n      \"topics\": [\n        \"page-controls\",\n        \"path-controls\",\n        \"search-fields\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-status\",\n      \"description\": \"Apple HIG guidance for status and progress UI components including progress indicators, status bars, and activity rings. Use this skill when asked about: \\\"progress indicator\\\", \\\"progress bar\\\", \\\"loading spinner\\\", \\\"status bar\\\", \\\"activity ring\\\", \\\"progress display\\\", determinate vs indeterminate progress, loading states, or fitness tracking rings. Also use when the user says \\\"how do I show loading state,\\\" \\\"should I use a spinner or progress bar,\\\" \\\"what goes in the status bar,\\\" or asks about activity indicators. Cross-references: hig-components-system for widgets and complications, hig-inputs for gesture-driven progress controls, hig-technologies for HealthKit and activity ring data integration.\",\n      \"topics\": [\n        \"activity-rings\",\n        \"progress-indicators\",\n        \"status-bars\"\n      ]\n    },\n    {\n      \"skill\": \"hig-components-system\",\n      \"description\": \"Apple HIG guidance for system experience components: widgets, live activities, notifications, complications, home screen quick actions, top shelf, watch faces, app clips, and app shortcuts. Use when asked about: \\\"widget design\\\", \\\"live activity\\\", \\\"notification design\\\", \\\"complication\\\", \\\"home screen quick action\\\", \\\"top shelf\\\", \\\"watch face\\\", \\\"app clip\\\", \\\"app shortcut\\\", \\\"system experience\\\". Also use when the user says \\\"how do I design a widget,\\\" \\\"what should my notification look like,\\\" \\\"how do Live Activities work,\\\" \\\"should I make an App Clip,\\\" or asks about surfaces outside the main app. Cross-references: hig-components-status for progress in widgets, hig-inputs for interaction patterns, hig-technologies for Siri and system integration.\",\n      \"topics\": [\n        \"app-clips\",\n        \"app-shortcuts\",\n        \"complications\",\n        \"home-screen-quick-actions\",\n        \"live-activities\",\n        \"notifications\",\n        \"top-shelf\",\n        \"watch-faces\",\n        \"widgets\"\n      ]\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"description\": \"Apple Human Interface Guidelines design foundations. Use this skill when the user asks about \\\"HIG color\\\", \\\"Apple typography\\\", \\\"SF Symbols\\\", \\\"dark mode guidelines\\\", \\\"accessible design\\\", \\\"Apple design foundations\\\", \\\"app icon\\\", \\\"layout guidelines\\\", \\\"materials\\\", \\\"motion\\\", \\\"privacy\\\", \\\"right to left\\\", \\\"RTL\\\", \\\"inclusive design\\\", branding, images, spatial layout, or writing style. Also use when the user says \\\"my colors look wrong in dark mode\\\", \\\"what font should I use\\\", \\\"is my app accessible enough\\\", \\\"how do I support Dynamic Type\\\", \\\"what contrast ratio do I need\\\", \\\"how do I pick system colors\\\", or \\\"my icons don't match the system style\\\". Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction patterns, hig-components-layout for structural components, hig-components-content for display.\",\n      \"topics\": [\n        \"accessibility\",\n        \"app-icons\",\n        \"branding\",\n        \"color\",\n        \"dark-mode\",\n        \"icons\",\n        \"images\",\n        \"immersive-experiences\",\n        \"inclusion\",\n        \"layout\",\n        \"materials\",\n        \"motion\",\n        \"privacy\",\n        \"right-to-left\",\n        \"sf-symbols\",\n        \"spatial-layout\",\n        \"typography\",\n        \"writing\"\n      ]\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"description\": \"Apple HIG guidance for input methods and interaction patterns: gestures, Apple Pencil, keyboards, game controllers, pointers, Digital Crown, eye tracking, focus system, remotes, spatial interactions, gyroscope, accelerometer, and nearby interactions. Use when asked about: \\\"gesture design\\\", \\\"Apple Pencil\\\", \\\"keyboard shortcuts\\\", \\\"game controller\\\", \\\"pointer support\\\", \\\"mouse support\\\", \\\"trackpad\\\", \\\"Digital Crown\\\", \\\"eye tracking\\\", \\\"visionOS input\\\", \\\"focus system\\\", \\\"remote control\\\", \\\"gyroscope\\\", \\\"spatial interaction\\\". Also use when the user says \\\"what gestures should I support,\\\" \\\"how do I add keyboard shortcuts,\\\" \\\"how does input work on Apple TV,\\\" \\\"should I support Apple Pencil,\\\" or asks about input device handling. Cross-references: hig-components-status, hig-components-system, hig-technologies for VoiceOver and Siri.\",\n      \"topics\": [\n        \"apple-pencil-and-scribble\",\n        \"camera-control\",\n        \"digital-crown\",\n        \"eyes\",\n        \"focus-and-selection\",\n        \"game-controls\",\n        \"gestures\",\n        \"gyro-and-accelerometer\",\n        \"keyboards\",\n        \"nearby-interactions\",\n        \"pointing-devices\",\n        \"remotes\",\n        \"spatial-interactions\"\n      ]\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"description\": \"Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about \\\"onboarding flow\\\", \\\"user onboarding\\\", \\\"app launch\\\", \\\"loading state\\\", \\\"drag and drop\\\", \\\"search pattern\\\", \\\"settings design\\\", \\\"notifications\\\", \\\"modality\\\", \\\"multitasking\\\", \\\"feedback pattern\\\", \\\"haptics\\\", \\\"undo redo\\\", \\\"file management\\\", data entry, sharing, collaboration, full screen, audio, video, haptic feedback, ratings, printing, help, or account management in Apple apps. Also use when the user says \\\"how should onboarding work\\\", \\\"my app takes too long to load\\\", \\\"should I use a modal here\\\", \\\"how do I handle errors\\\", \\\"when should I ask for permissions\\\", \\\"how to show progress\\\", or \\\"what's the right way to confirm a delete\\\". Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics, hig-components-layout for navigation, hig-components-content for data display.\",\n      \"topics\": [\n        \"charting-data\",\n        \"collaboration-and-sharing\",\n        \"drag-and-drop\",\n        \"entering-data\",\n        \"feedback\",\n        \"file-management\",\n        \"going-full-screen\",\n        \"launching\",\n        \"live-viewing-apps\",\n        \"loading\",\n        \"managing-accounts\",\n        \"managing-notifications\",\n        \"modality\",\n        \"multitasking\",\n        \"offering-help\",\n        \"onboarding\",\n        \"playing-audio\",\n        \"playing-haptics\",\n        \"playing-video\",\n        \"printing\",\n        \"ratings-and-reviews\",\n        \"searching\",\n        \"settings\",\n        \"undo-and-redo\",\n        \"workouts\"\n      ]\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"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.\",\n      \"topics\": [\n        \"designing-for-games\",\n        \"designing-for-ios\",\n        \"designing-for-ipados\",\n        \"designing-for-macos\",\n        \"designing-for-tvos\",\n        \"designing-for-visionos\",\n        \"designing-for-watchos\"\n      ]\n    },\n    {\n      \"skill\": \"hig-project-context\",\n      \"description\": \"Create or update a shared Apple design context document that other HIG skills use to tailor guidance. Use when the user says \\\"set up my project context,\\\" \\\"what platforms am I targeting,\\\" \\\"configure HIG settings,\\\" or when starting a new Apple platform project. Also activates when other HIG skills need project context but none exists yet. This skill creates .claude/apple-design-context.md so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and hig-technologies can provide targeted advice without repetitive questions.\",\n      \"topics\": []\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"description\": \"Apple HIG guidance for Apple technology integrations: Siri, Apple Pay, HealthKit, HomeKit, ARKit, machine learning, generative AI, iCloud, Sign in with Apple, SharePlay, CarPlay, Game Center, in-app purchase, NFC, Wallet, VoiceOver, Maps, Mac Catalyst, and more. Use when asked about: \\\"Siri integration\\\", \\\"Apple Pay\\\", \\\"HealthKit\\\", \\\"HomeKit\\\", \\\"ARKit\\\", \\\"augmented reality\\\", \\\"machine learning\\\", \\\"generative AI\\\", \\\"iCloud sync\\\", \\\"Sign in with Apple\\\", \\\"SharePlay\\\", \\\"CarPlay\\\", \\\"in-app purchase\\\", \\\"NFC\\\", \\\"VoiceOver\\\", \\\"Maps\\\", \\\"Mac Catalyst\\\". Also use when the user says \\\"how do I integrate Siri,\\\" \\\"what are the Apple Pay guidelines,\\\" \\\"how should my AR experience work,\\\" \\\"how do I use Sign in with Apple,\\\" or asks about any Apple framework or service integration. Cross-references: hig-inputs for input methods, hig-components-system for widgets.\",\n      \"topics\": [\n        \"airplay\",\n        \"always-on\",\n        \"apple-pay\",\n        \"augmented-reality\",\n        \"carekit\",\n        \"carplay\",\n        \"game-center\",\n        \"generative-ai\",\n        \"healthkit\",\n        \"homekit\",\n        \"icloud\",\n        \"id-verifier\",\n        \"imessage-apps-and-stickers\",\n        \"in-app-purchase\",\n        \"live-photos\",\n        \"mac-catalyst\",\n        \"machine-learning\",\n        \"maps\",\n        \"nfc\",\n        \"photo-editing\",\n        \"researchkit\",\n        \"shareplay\",\n        \"shazamkit\",\n        \"sign-in-with-apple\",\n        \"siri\",\n        \"tap-to-pay-on-iphone\",\n        \"voiceover\",\n        \"wallet\"\n      ]\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_list_skills"
          },
          {
            "arguments": {
              "skill": "hig-foundations",
              "topic": "color"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Source: https://developer.apple.com/design/human-interface-guidelines/color  (snapshot 2025-02-02)\n\n---\ntitle: \"Color | Apple Developer Documentation\"\nsource: https://developer.apple.com/design/human-interface-guidelines/color\n---\n\n<!-- hig-doctor:attribution -->\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/color.\n> This file is a structured index of that content, snapshot 2025-02-02.\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\n\n# Color\n\n## Best practices\n\n**Avoid using the same color to mean different things.**\n\n**Make sure all your app’s colors work well in light, dark, and increased contrast contexts.**\n\n**Test your app’s color scheme under a variety of lighting conditions.**\n\n**Test your app on different devices.**\n\n**Consider how artwork and translucency affect nearby colors.**\n\n**If your app lets people choose colors, prefer system-provided color controls where available.**\n\n## Inclusive color\n\n**Avoid relying solely on color to differentiate between objects, indicate interactivity, or communicate essential information.**\n\n**Avoid using colors that make it hard to perceive content in your app.**\n\n**Consider how the colors you use might be perceived in other countries and cultures.**\n\n## System colors\n\n**Avoid hard-coding system color values in your app.**\n\n**Avoid redefining the semantic meanings of dynamic system colors.**\n\n## Liquid Glass color\n\n**Apply color sparingly to the Liquid Glass material, and to symbols or text on the material.**\n\n**Avoid using similar colors in control labels if your app has a colorful background.**\n\n**Be aware of the placement of color in the content layer.**\n\n## Color management\n\n**Apply color profiles to your images.**\n\n**Use wide color to enhance the visual experience on compatible displays.**\n\n**Provide color space–specific image and color variations if necessary.**\n\n## Platform considerations\n\n### iOS, iPadOS\n\n  * Primary for the overall view\n\n  * Secondary for grouping content or elements within the overall view\n\n  * Tertiary for grouping content or elements within secondary elements\n\n### tvOS\n\n**Consider choosing a limited color palette that coordinates with your app logo.**\n\n**Avoid using only color to indicate focus.**\n\n### visionOS\n\n**Use color sparingly, especially on glass.**\n\n**Prefer using color in bold text and large areas.**\n\n**In a fully immersive experience, help people maintain visual comfort by keeping brightness levels balanced.**\n\n### watchOS\n\n**Use background color to support existing content or supply additional information.**\n\n**Recognize that people might prefer graphic complications to use tinted mode instead of full color.**\n\n---\n\n<!-- hig-doctor:canonical-footer -->\nFor the complete guidance, including worked examples and illustrations, see the canonical page: https://developer.apple.com/design/human-interface-guidelines/color\n\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "limit": 25,
              "query": "foundations platforms patterns technologies inputs accessibility typography layout"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"query\": \"foundations platforms patterns technologies inputs accessibility typography layout\",\n  \"results\": [\n    {\n      \"skill\": \"hig-project-context\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Project Context\",\n      \"score\": 24.31,\n      \"snippet\": \"…tion, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, required capabilities, supported orientations 4. **Existing…\",\n      \"lookup\": {\n        \"skill\": \"hig-project-context\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Design Foundations\",\n      \"score\": 23.69,\n      \"snippet\": \"# Apple HIG: Design Foundations Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not alre…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-content\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Content Components\",\n      \"score\": 19.3,\n      \"snippet\": \"…screen sizes, orientations, and multitasking configurations. Use Auto Layout and size classes. 2. **Make content accessible.** Charts need audio graph support. Images need alt text. Collections need proper Voi…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-content\"\n      }\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Platform Design\",\n      \"score\": 18.29,\n      \"snippet\": \"…*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…\",\n      \"lookup\": {\n        \"skill\": \"hig-platforms\"\n      }\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Interaction Patterns\",\n      \"score\": 16.26,\n      \"snippet\": \"# Apple HIG: Interaction Patterns Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already…\",\n      \"lookup\": {\n        \"skill\": \"hig-patterns\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-layout\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Layout and Navigation Components\",\n      \"score\": 15.43,\n      \"snippet\": \"# Apple HIG: Layout and Navigation Components Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-layout\"\n      }\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Inputs\",\n      \"score\": 13.46,\n      \"snippet\": \"# Apple HIG: Inputs Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already c…\",\n      \"lookup\": {\n        \"skill\": \"hig-inputs\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Technologies\",\n      \"score\": 12.65,\n      \"snippet\": \"# Apple HIG: Technologies Check for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not alr…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-controls\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Selection and Input Controls\",\n      \"score\": 12.63,\n      \"snippet\": \"…standard system controls.** Built-in controls provide consistency and accessibility. Custom controls introduce a learning curve and may break assistive features. 3. **Toggles for binary states.** On or off. In…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-controls\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": \"typography\",\n      \"title\": \"Typography\",\n      \"score\": 12.23,\n      \"snippet\": \"# Typography ## Ensuring legibility **Use font sizes that most people can read easily.** **Test legibility in different contexts.** **In g…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\",\n        \"topic\": \"typography\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-search\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Navigation Components\",\n      \"score\": 12.22,\n      \"snippet\": \"…Ask 1. What type of content is being searched or navigated? 2. Which platforms? 3. How large is the dataset? 4. Is search the primary interaction? ## Related Skills - **hig-components-menus** -- Toolbars and…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-search\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-status\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Status Components\",\n      \"score\": 11.36,\n      \"snippet\": \"…guidance** -- duration thresholds, animation style, transitions. 3. **Accessibility** -- VoiceOver progress announcements, live region updates. 4. **Platform-specific behavior** across targeted platforms. ## Q…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-status\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-dialogs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Presentation Components\",\n      \"score\": 11.08,\n      \"snippet\": \"…ion does the presentation need? 2. Blocking or non-blocking? 3. Which platforms? 4. How often does this appear? ## Related Skills - **hig-components-menus** -- Buttons and toolbar items triggering presentatio…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-dialogs\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-system\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: System Experiences\",\n      \"score\": 9.62,\n      \"snippet\": \"…ated appropriately. 4. **Support multiple widget sizes with distinct layouts.** Each size should be a thoughtful design, not a scaled version of another. 5. **Deep-link on tap.** Take users to the relevant co…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-system\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": \"accessibility\",\n      \"title\": \"Accessibility\",\n      \"score\": 8.28,\n      \"snippet\": \"# Accessibility * **Intuitive.** Your interface uses familiar and consistent interactions that make tasks straightforward to perform. *…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\",\n        \"topic\": \"accessibility\"\n      }\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"topic\": \"designing-for-games\",\n      \"title\": \"Designing for games\",\n      \"score\": 6.13,\n      \"snippet\": \"…ndent textures and graphics.** **Integrate device features into your layout.** **Make sure in-game menus adapt to different aspect ratios.** **Design for the full-screen experience.** ## Enable intuitive in…\",\n      \"lookup\": {\n        \"skill\": \"hig-platforms\",\n        \"topic\": \"designing-for-games\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-content\",\n      \"topic\": \"charts\",\n      \"title\": \"Charts\",\n      \"score\": 5.53,\n      \"snippet\": \"…ual separation between contiguous areas of color.** ## Enhancing the accessibility of a chart **Consider using Audio Graphs to give VoiceOver users more information about your chart.** **Write accessibility…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-content\",\n        \"topic\": \"charts\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-menus\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Menus and Buttons\",\n      \"score\": 4.84,\n      \"snippet\": \"…ts for menu items and toolbar actions. ## Questions to Ask 1. Which platforms? 2. Primary or secondary action? 3. How many actions need to be available? 4. macOS menu bar app? ## Related Skills - **hig-comp…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-menus\"\n      }\n    },\n    {\n      \"skill\": \"hig-platforms\",\n      \"topic\": \"designing-for-visionos\",\n      \"title\": \"Designing for visionOS\",\n      \"score\": 4.23,\n      \"snippet\": \"…rough.** **Spatial Audio.** **Eyes and hands.** **Ergonomics.** **Accessibility.** ## Best practices **Embrace the unique features of Apple Vision Pro.** **Consider different types of immersion as you d…\",\n      \"lookup\": {\n        \"skill\": \"hig-platforms\",\n        \"topic\": \"designing-for-visionos\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": \"spatial-layout\",\n      \"title\": \"Spatial layout\",\n      \"score\": 3.94,\n      \"snippet\": \"# Spatial layout ## Field of view **Center important content within the field of view.** * Upright viewing * Angled viewing **Avoid anchorin…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\",\n        \"topic\": \"spatial-layout\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": \"layout\",\n      \"title\": \"Layout\",\n      \"score\": 3.87,\n      \"snippet\": \"# Layout ## Best practices **Group related items to help people find the information they want.** **Make essential information easy to find…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\",\n        \"topic\": \"layout\"\n      }\n    },\n    {\n      \"skill\": \"hig-components-menus\",\n      \"topic\": \"menus\",\n      \"title\": \"Menus\",\n      \"score\": 3.58,\n      \"snippet\": \"…method.** **Make sure your menus remain easy to open and read on all platforms you support.** ## Platform considerations ### iOS, iPadOS * **Small.** A row of four items appears at the top of the menu, ab…\",\n      \"lookup\": {\n        \"skill\": \"hig-components-menus\",\n        \"topic\": \"menus\"\n      }\n    },\n    {\n      \"skill\": \"hig-foundations\",\n      \"topic\": \"branding\",\n      \"title\": \"Branding\",\n      \"score\": 3.01,\n      \"snippet\": \"…efers to content.** **Help people feel comfortable by using standard patterns consistently.** **Resist the temptation to display your logo throughout your app or game unless it’s essential for providing conte…\",\n      \"lookup\": {\n        \"skill\": \"hig-foundations\",\n        \"topic\": \"branding\"\n      }\n    },\n    {\n      \"skill\": \"hig-patterns\",\n      \"topic\": \"playing-haptics\",\n      \"title\": \"Playing haptics\",\n      \"score\": 2.97,\n      \"snippet\": \"…com/apple-pencil/).) ## Best practices **Use system-provided haptic patterns according to their documented meanings.** **Use haptics consistently throughout your app or game.** **Prefer using haptics to com…\",\n      \"lookup\": {\n        \"skill\": \"hig-patterns\",\n        \"topic\": \"playing-haptics\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": \"wallet\",\n      \"title\": \"Wallet\",\n      \"score\": 2.96,\n      \"snippet\": \"…y text only in pass fields.** #### Boarding passes * Example * Layout #### Coupons * Example * Layout #### Store cards * Example * Layout #### Event tickets * Example * Layout 1…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\",\n        \"topic\": \"wallet\"\n      }\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_search"
          },
          {
            "arguments": {
              "skill": "hig-foundations"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-foundations  (snapshot 2025-02-02)\n\n---\nname: hig-foundations\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines design foundations. Use this skill when the user asks about\n  \"HIG color\", \"Apple typography\", \"SF Symbols\", \"dark mode guidelines\", \"accessible design\",\n  \"Apple design foundations\", \"app icon\", \"layout guidelines\", \"materials\", \"motion\", \"privacy\",\n  \"right to left\", \"RTL\", \"inclusive design\", branding, images, spatial layout, or writing style.\n  Also use when the user says \"my colors look wrong in dark mode\", \"what font should I use\",\n  \"is my app accessible enough\", \"how do I support Dynamic Type\", \"what contrast ratio do I need\",\n  \"how do I pick system colors\", or \"my icons don't match the system style\".\n  Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction\n  patterns, hig-components-layout for structural components, hig-components-content for display.\n---\n\n# Apple HIG: Design Foundations\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Prioritize content over chrome.** Reduce visual clutter. Use system-provided materials and subtle separators rather than heavy borders and backgrounds.\n\n2. **Build in accessibility from the start.** Design for VoiceOver, Dynamic Type, Reduce Motion, Increase Contrast, and Switch Control from day one. Every interactive element needs an accessible label.\n\n3. **Use system colors and materials.** System colors adapt to light/dark mode, increased contrast, and vibrancy. Prefer semantic colors (`label`, `secondaryLabel`, `systemBackground`) over hard-coded values.\n\n4. **Use platform fonts and icons.** SF Pro, SF Compact, SF Mono by default. New York for serif. Follow the type hierarchy at recommended sizes. Use SF Symbols for iconography.\n\n5. **Match platform conventions.** Align look and behavior with system standards. Provide direct, responsive manipulation and clear feedback for every action.\n\n6. **Respect privacy.** Request permissions only when needed, explain why clearly, provide value before asking for data. Design for minimal data collection.\n\n7. **Support internationalization.** Accommodate text expansion, right-to-left scripts, and varying date/number formats. Use Auto Layout for dynamic content sizing.\n\n8. **Use motion purposefully.** Animation should communicate meaning and spatial relationships. Honor Reduce Motion by providing crossfade alternatives.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [accessibility.md](references/accessibility.md) | Accessibility | VoiceOver, Dynamic Type, color contrast, motor accessibility, Switch Control, audio descriptions |\n| [app-icons.md](references/app-icons.md) | App Icons | Icon grid, platform-specific sizes, single focal point, no transparency |\n| [branding.md](references/branding.md) | Branding | Integrating brand identity within Apple's design language, subtle branding, custom tints |\n| [color.md](references/color.md) | Color | System colors, Dynamic Colors, semantic colors, custom palettes, contrast ratios |\n| [dark-mode.md](references/dark-mode.md) | Dark Mode | Elevated surfaces, semantic colors, adapted palettes, vibrancy, testing in both modes |\n| [icons.md](references/icons.md) | Icons | Glyph icons, SF Symbols integration, custom icon design, icon weights, optical alignment |\n| [images.md](references/images.md) | Images | Image resolution, @2x/@3x assets, vector assets, image accessibility |\n| [immersive-experiences.md](references/immersive-experiences.md) | Immersive Experiences | AR/VR design, spatial immersion, comfort zones, progressive immersion levels |\n| [inclusion.md](references/inclusion.md) | Inclusion | Diverse representation, non-gendered language, cultural sensitivity, inclusive defaults |\n| [layout.md](references/layout.md) | Layout | Margins, spacing, alignment, safe areas, adaptive layouts, readable content guides |\n| [materials.md](references/materials.md) | Materials | Vibrancy, blur, translucency, system materials, material thickness |\n| [motion.md](references/motion.md) | Motion | Animation curves, transitions, continuity, Reduce Motion support, physics-based motion |\n| [privacy.md](references/privacy.md) | Privacy | Permission requests, usage descriptions, privacy nutrition labels, minimal data collection |\n| [right-to-left.md](references/right-to-left.md) | Right-to-Left | RTL layout mirroring, bidirectional text, icons that flip, exceptions |\n| [sf-symbols.md](references/sf-symbols.md) | SF Symbols | Symbol categories, rendering modes, variable color, custom symbols, weight matching |\n| [spatial-layout.md](references/spatial-layout.md) | Spatial Layout | visionOS window placement, depth, ergonomic zones, Z-axis design |\n| [typography.md](references/typography.md) | Typography | SF Pro, Dynamic Type sizes, text styles, custom fonts, font weight hierarchy, line spacing |\n| [writing.md](references/writing.md) | Writing | UI copy guidelines, tone, capitalization rules, error messages, button labels, conciseness |\n\n## Applying Foundations Together\n\nConsider how principles interact:\n\n1. **Color + Dark Mode + Accessibility** -- Custom palettes must work in both modes while maintaining WCAG contrast ratios. Start with system semantic colors.\n\n2. **Typography + Accessibility + Layout** -- Dynamic Type must scale without breaking layouts. Use text styles and Auto Layout for the full range of type sizes.\n\n3. **Icons + Branding + SF Symbols** -- Custom icons should match SF Symbols weight and optical sizing. Brand elements should integrate without overriding system conventions.\n\n4. **Motion + Accessibility + Feedback** -- Every animation must have a Reduce Motion alternative. Motion should reinforce spatial relationships, not decorate.\n\n5. **Privacy + Writing + Onboarding** -- Permission requests need clear, specific usage descriptions. Time them to when the user will understand the benefit.\n\n## Output Format\n\n1. **Cite the specific HIG foundation** with file and section.\n2. **Note platform differences** for the user's target platforms.\n3. **Provide concrete code patterns** (SwiftUI/UIKit/AppKit).\n4. **Explain accessibility impact** (contrast ratios, Dynamic Type scaling, VoiceOver behavior).\n\n## Questions to Ask\n\n1. Which platforms are you targeting?\n2. Do you have existing brand guidelines?\n3. What accessibility level are you targeting? (WCAG AA, AAA, Apple baseline?)\n4. System colors or custom?\n\n## Related Skills\n\n- **hig-platforms** -- How foundations apply per platform (e.g., type scale differences on watchOS vs macOS)\n- **hig-patterns** -- Interaction patterns where foundations like writing and accessibility are critical\n- **hig-components-layout** -- Structural components implementing layout principles\n- **hig-components-content** -- Content display using color, typography, and images\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-platforms"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-platforms  (snapshot 2025-02-02)\n\n---\nname: hig-platforms\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines for platform-specific design. Use this skill when the user asks about\n  \"designing for iOS\", \"iPad app design\", \"macOS design\", \"tvOS\", \"visionOS\", \"watchOS\", \"Apple platform\",\n  \"which platform\", platform differences, platform-specific conventions, or multi-platform app design.\n  Also use when the user says \"should I design differently for iPad vs iPhone\", \"how does my app work\n  on visionOS\", \"what's different about macOS apps\", \"porting my app to another platform\",\n  \"universal app design\", or \"what input methods does this platform use\".\n  Cross-references: hig-foundations for shared design foundations, hig-patterns for interaction patterns,\n  hig-components-layout for navigation structures, hig-components-content for content display.\n---\n\n# Apple HIG: Platform Design\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Each platform has a distinct identity.** Do not port designs between platforms. Respect each platform's conventions, interaction models, and user expectations.\n\n2. **iOS: touch-first.** Direct manipulation on a handheld screen. Optimize for one-handed use. Navigation uses tab bars and push/pop stacks.\n\n3. **iPadOS: expanded canvas.** Support Split View, Slide Over, and Stage Manager. Use sidebars and multi-column layouts. Support pointer and keyboard alongside touch.\n\n4. **macOS: pointer and keyboard.** Dense information display is acceptable. Use menu bars, toolbars, and keyboard shortcuts extensively. Windows are resizable with precise control.\n\n5. **tvOS: remote and focus.** Viewed from a distance. Design for the Siri Remote with focus-based navigation. Large text, simple layouts, linear navigation.\n\n6. **visionOS: spatial interaction.** 3D environment using windows, volumes, and spaces. Eye tracking for targeting, indirect gestures for interaction. Respect ergonomic comfort zones.\n\n7. **watchOS: glanceable and brief.** Information consumable at a glance. Brief interactions. Digital Crown, haptics, and complications for timely content.\n\n8. **Games: own paradigm.** Free to define in-game interaction models, but still respect platform conventions for system interactions (notifications, accessibility, controllers).\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [designing-for-ios.md](references/designing-for-ios.md) | iOS | Touch, tab bars, navigation stacks, gestures, screen sizes, safe areas |\n| [designing-for-ipados.md](references/designing-for-ipados.md) | iPadOS | Multitasking, sidebars, pointer, keyboard, Apple Pencil, Stage Manager |\n| [designing-for-macos.md](references/designing-for-macos.md) | macOS | Menu bars, toolbars, window management, keyboard shortcuts, dense layouts, Dock |\n| [designing-for-tvos.md](references/designing-for-tvos.md) | tvOS | Focus engine, Siri Remote, lean-back experience, content-forward, parallax |\n| [designing-for-visionos.md](references/designing-for-visionos.md) | visionOS | Spatial computing, windows/volumes/spaces, eye tracking, hand gestures, depth |\n| [designing-for-watchos.md](references/designing-for-watchos.md) | watchOS | Glanceable UI, Digital Crown, complications, notifications, haptics |\n| [designing-for-games.md](references/designing-for-games.md) | Games | Controllers, immersive experiences, platform-specific conventions, accessibility |\n\n## Decision Framework\n\n1. **Identify the primary use context.** On the go (iOS/watchOS), at a desk (macOS), on the couch (tvOS), spatial environment (visionOS)?\n\n2. **Match input to interaction.** Touch for direct manipulation, pointer for precision, gaze+gesture for spatial, Digital Crown for quick scrolling, remote for focus navigation.\n\n3. **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.\n\n4. **Leverage platform strengths.** Live Activities on iOS, Desktop Widgets on macOS, complications on watchOS, immersive spaces on visionOS.\n\n5. **Maintain brand consistency** while respecting each platform's visual language and interaction patterns.\n\n## Output Format\n\n1. **Platform-specific recommendations** citing relevant HIG sections.\n2. **Platform differences table** comparing navigation, input, layout, and conventions.\n3. **Implementation notes** per platform including recommended APIs and adaptation strategies.\n\n## Questions to Ask\n\n1. Which platforms are you targeting?\n2. New app or adapting an existing one? If existing, which platform is the base?\n3. SwiftUI or UIKit/AppKit?\n4. Need to support older OS versions?\n5. Primary use context? (On the go, desk, couch, spatial, glanceable?)\n\n## Related Skills\n\n- **hig-foundations** -- Shared principles (color, typography, accessibility, layout) across platforms\n- **hig-patterns** -- Interaction patterns that manifest differently per platform\n- **hig-components-layout** -- Navigation structures (tab bars, sidebars, split views) that vary by platform\n- **hig-components-content** -- Content display that adapts across platforms\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-patterns"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-patterns  (snapshot 2025-02-02)\n\n---\nname: hig-patterns\nversion: 1.0.0\ndescription: >-\n  Apple Human Interface Guidelines interaction and UX patterns. Use this skill when the user asks about\n  \"onboarding flow\", \"user onboarding\", \"app launch\", \"loading state\", \"drag and drop\", \"search pattern\",\n  \"settings design\", \"notifications\", \"modality\", \"multitasking\", \"feedback pattern\", \"haptics\",\n  \"undo redo\", \"file management\", data entry, sharing, collaboration, full screen, audio, video,\n  haptic feedback, ratings, printing, help, or account management in Apple apps.\n  Also use when the user says \"how should onboarding work\", \"my app takes too long to load\",\n  \"should I use a modal here\", \"how do I handle errors\", \"when should I ask for permissions\",\n  \"how to show progress\", or \"what's the right way to confirm a delete\".\n  Cross-references: hig-foundations for underlying principles, hig-platforms for platform specifics,\n  hig-components-layout for navigation, hig-components-content for data display.\n---\n\n# Apple HIG: Interaction Patterns\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Minimize modality.** Use modality only when it is critical to get attention, a task must be completed or abandoned, or saving changes is essential. Prefer non-modal alternatives.\n\n2. **Provide clear feedback.** Every action should produce visible, audible, or haptic response. Activity indicators for indeterminate waits, progress bars for determinate, haptics for physical confirmation.\n\n3. **Support undo over confirmation dialogs.** Destructive actions should be reversible when possible. Undo is almost always better than \"Are you sure?\"\n\n4. **Launch quickly.** Display a launch screen that transitions seamlessly into the first screen. No splash screens with logos. Restore previous state.\n\n5. **Defer sign-in.** Let users explore before requiring account creation. Support Sign in with Apple and passkeys.\n\n6. **Keep onboarding brief.** Three screens max. Let users skip. Teach through progressive disclosure and contextual hints.\n\n7. **Use progressive disclosure.** Show essentials first, let users drill into details. Don't overwhelm with every option on one screen.\n\n8. **Respect user attention.** Consolidate notifications, minimize interruptions, give users control over alerts. Never use notifications for marketing.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [charting-data.md](references/charting-data.md) | Charting Data | Data visualization patterns, accessible charts, interactive elements |\n| [collaboration-and-sharing.md](references/collaboration-and-sharing.md) | Collaboration & Sharing | Share sheets, activity views, collaborative editing, SharePlay |\n| [drag-and-drop.md](references/drag-and-drop.md) | Drag and Drop | Drag sources, drop targets, spring loading, multi-item drag, visual feedback |\n| [entering-data.md](references/entering-data.md) | Entering Data | Text fields, pickers, steppers, input validation, keyboard types, autofill |\n| [feedback.md](references/feedback.md) | Feedback | Alerts, action sheets, haptic patterns, sound feedback, visual indicators |\n| [file-management.md](references/file-management.md) | File Management | Document browser, file providers, iCloud integration, document lifecycle |\n| [going-full-screen.md](references/going-full-screen.md) | Going Full Screen | Full-screen transitions, immersive content, exiting full screen |\n| [launching.md](references/launching.md) | Launching | Launch screens, state restoration, cold vs warm launch |\n| [live-viewing-apps.md](references/live-viewing-apps.md) | Live Viewing Apps | Live content display, real-time updates, Live Activities, Dynamic Island |\n| [loading.md](references/loading.md) | Loading | Activity indicators, progress views, skeleton screens, lazy loading, placeholders |\n| [managing-accounts.md](references/managing-accounts.md) | Managing Accounts | Sign in with Apple, passkeys, account creation, credential autofill, account deletion |\n| [managing-notifications.md](references/managing-notifications.md) | Managing Notifications | Permission requests, grouping, actionable notifications, provisional delivery |\n| [modality.md](references/modality.md) | Modality | Sheets, alerts, popovers, full-screen modals, when to use each |\n| [multitasking.md](references/multitasking.md) | Multitasking | iPad Split View, Slide Over, Stage Manager, responsive layout, size class transitions |\n| [offering-help.md](references/offering-help.md) | Offering Help | Contextual tips, onboarding hints, help menus, support links |\n| [onboarding.md](references/onboarding.md) | Onboarding | Welcome screens, feature highlights, progressive onboarding, skip options |\n| [playing-audio.md](references/playing-audio.md) | Playing Audio | Audio sessions, background audio, Now Playing, audio routing, interruptions |\n| [playing-haptics.md](references/playing-haptics.md) | Playing Haptics | Core Haptics, UIFeedbackGenerator, haptic patterns, custom haptics |\n| [playing-video.md](references/playing-video.md) | Playing Video | Video player controls, picture-in-picture, AirPlay, full-screen video |\n| [printing.md](references/printing.md) | Printing | Print dialogs, page setup, AirPrint integration |\n| [ratings-and-reviews.md](references/ratings-and-reviews.md) | Ratings & Reviews | SKStoreReviewController, timing, frequency limits, in-app feedback |\n| [searching.md](references/searching.md) | Searching | Search bars, suggestions, scoped search, results display, recents |\n| [settings.md](references/settings.md) | Settings | In-app vs Settings app, preference organization, toggles, defaults |\n| [undo-and-redo.md](references/undo-and-redo.md) | Undo and Redo | Shake to undo, undo/redo stack, multi-level undo |\n| [workouts.md](references/workouts.md) | Workouts | Workout sessions, live metrics, Always On display, summaries, HealthKit |\n\n## Pattern Selection Guide\n\n| User Goal | Recommended Pattern | Avoid |\n|---|---|---|\n| First app experience | Brief onboarding (max 3 screens) + progressive disclosure | Long tutorials, mandatory sign-up |\n| Waiting for content | Skeleton screens or progress indicators | Blocking spinners with no context |\n| Confirming destructive action | Undo support | Excessive \"Are you sure?\" dialogs |\n| Collecting user input | Inline validation, smart defaults, autofill | Modal forms for simple inputs |\n| Requesting permissions | Contextual, just-in-time with explanation | Requesting all permissions at launch |\n| Providing feedback | Haptics + visual indicator | Silent actions with no confirmation |\n| Organizing preferences | In-app settings for frequent items | Burying all settings in system Settings app |\n\n## Output Format\n\n1. **Recommended pattern with rationale**, citing the relevant reference file.\n2. **Step-by-step implementation** covering each screen or state.\n3. **Platform variations** for targeted platforms.\n4. **Common pitfalls** that violate HIG for this pattern.\n\n## Questions to Ask\n\n1. Where in the app does this pattern appear? What comes before and after?\n2. Which platforms?\n3. Designing from scratch or improving an existing flow?\n4. Does this involve sensitive actions? (Destructive operations, payments, permissions)\n\n## Related Skills\n\n- **hig-foundations** -- Accessibility, color, typography, and privacy principles underlying every pattern\n- **hig-platforms** -- Platform-specific pattern implementations\n- **hig-components-layout** -- Structural components (tab bars, sidebars, split views) for navigation patterns\n- **hig-components-content** -- Content display within patterns (charts, collections, search results)\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-inputs"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-inputs  (snapshot 2025-02-02)\n\n---\nname: hig-inputs\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for input methods and interaction patterns: gestures, Apple Pencil,\n  keyboards, game controllers, pointers, Digital Crown, eye tracking, focus system,\n  remotes, spatial interactions, gyroscope, accelerometer, and nearby interactions.\n  Use when asked about: \"gesture design\", \"Apple Pencil\", \"keyboard shortcuts\",\n  \"game controller\", \"pointer support\", \"mouse support\", \"trackpad\", \"Digital Crown\",\n  \"eye tracking\", \"visionOS input\", \"focus system\", \"remote control\", \"gyroscope\",\n  \"spatial interaction\". Also use when the user says \"what gestures should I support,\"\n  \"how do I add keyboard shortcuts,\" \"how does input work on Apple TV,\" \"should I\n  support Apple Pencil,\" or asks about input device handling.\n  Cross-references: hig-components-status, hig-components-system,\n  hig-technologies for VoiceOver and Siri.\n---\n\n# Apple HIG: Inputs\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both touch and pointer; on macOS, both pointer and keyboard.\n\n2. **Consistent feedback for every input action.** Visible, audible, or haptic response.\n\n3. **Standard gestures must behave consistently.** Tap to activate, swipe to scroll/navigate, pinch to zoom, long press for context menus, drag to move. Don't override system gestures (edge swipes for back, Home, notifications).\n\n4. **Use standard recognizers; keep custom gestures discoverable.** Apple's built-in recognizers handle edge cases and accessibility. If you add non-standard gestures, provide hints or coaching to teach them.\n\n5. **Apple Pencil: precision drawing, markup, and selection.** Support pressure, tilt, and hover. Distinguish finger from Pencil when appropriate (finger pans, Pencil draws).\n\n6. **Support Scribble in text fields.** Users expect to write with Pencil in any text input.\n\n7. **Keyboard shortcuts and full navigation.** Standard shortcuts (Cmd+C/V/Z) plus custom ones visible in the iPadOS Command key overlay. Logical tab order.\n\n8. **Respect the software keyboard.** Adjust layout when keyboard appears. Use keyboard-avoidance APIs.\n\n9. **Game controllers: MFi controllers with on-screen fallbacks.** Map to extended gamepad profile, sensible defaults, remappable. Always offer touch or keyboard alternatives.\n\n10. **Pointer and trackpad: native feel.** Hover effects, pointer shape adaptation, standard cursor behaviors. Two-finger scroll, pinch to zoom, swipe to navigate.\n\n11. **Digital Crown: primary scrolling and value-adjustment input on watchOS.** Scrolling lists, adjusting values, navigating views. Haptic feedback at detents.\n\n12. **Eyes and spatial (visionOS): look and pinch.** Generous hit targets (eye tracking is less precise than touch). Avoid sustained gaze for activation. Direct hand manipulation in immersive experiences.\n\n13. **Focus system: critical for tvOS and visionOS.** Predictable focus movement. Every interactive element focusable. Clear visual indicators (scale, highlight, elevation). Logical focus groups.\n\n14. **Siri Remote: limited surface.** Touch area for swiping, clickpad for selection, few physical buttons. Keep interactions simple.\n\n15. **Gyroscope, accelerometer, UWB: use judiciously.** Suits gaming, fitness, AR. Not for essential tasks. Provide calibration and reset. For UWB, communicate distance and direction with visual or haptic cues.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [gestures.md](references/gestures.md) | Touch gestures | Tap, swipe, pinch, long press, drag, system gestures |\n| [apple-pencil-and-scribble.md](references/apple-pencil-and-scribble.md) | Apple Pencil | Precision, pressure, tilt, hover, handwriting |\n| [keyboards.md](references/keyboards.md) | Keyboards | Shortcuts, navigation, software keyboard, Command key |\n| [game-controls.md](references/game-controls.md) | Game controllers | MFi, extended gamepad, remapping, fallbacks |\n| [pointing-devices.md](references/pointing-devices.md) | Pointer/trackpad | Hover, cursor morphing, trackpad gestures |\n| [digital-crown.md](references/digital-crown.md) | Digital Crown | Scrolling, value adjustment, haptic detents |\n| [eyes.md](references/eyes.md) | Eye tracking | Look and tap, gaze targeting, hit target sizing |\n| [spatial-interactions.md](references/spatial-interactions.md) | Spatial input | Hand gestures, direct manipulation, immersive input |\n| [focus-and-selection.md](references/focus-and-selection.md) | Focus system | tvOS/visionOS navigation, focus indicators, groups |\n| [remotes.md](references/remotes.md) | Remotes | Touch surface, clickpad, simple interactions |\n| [gyro-and-accelerometer.md](references/gyro-and-accelerometer.md) | Motion sensors | Gyroscope, accelerometer, calibration, gaming |\n| [nearby-interactions.md](references/nearby-interactions.md) | Nearby interactions | U1 chip, directional finding, proximity triggers |\n| [camera-control.md](references/camera-control.md) | Camera Control | iPhone camera hardware button, quick launch |\n\n## Output Format\n\n1. **Input method recommendations by platform** and how they interact.\n2. **Gesture specification table** -- standard and custom gestures with expected behaviors.\n3. **Keyboard shortcut recommendations** following system conventions.\n4. **Accessibility input alternatives** for VoiceOver, Switch Control, etc.\n\n## Questions to Ask\n\n1. Which platforms and input devices?\n2. Productivity or casual app?\n3. Custom gestures in the design?\n4. Game controller support needed?\n\n## Related Skills\n\n- **hig-components-status** -- Progress indicators responding to input (pull-to-refresh)\n- **hig-components-system** -- System experiences with unique input constraints\n- **hig-technologies** -- VoiceOver, Siri voice input, ARKit spatial gesture context\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-technologies"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-technologies  (snapshot 2025-02-02)\n\n---\nname: hig-technologies\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for Apple technology integrations: Siri, Apple Pay, HealthKit,\n  HomeKit, ARKit, machine learning, generative AI, iCloud, Sign in with Apple,\n  SharePlay, CarPlay, Game Center, in-app purchase, NFC, Wallet, VoiceOver, Maps,\n  Mac Catalyst, and more. Use when asked about: \"Siri integration\", \"Apple Pay\",\n  \"HealthKit\", \"HomeKit\", \"ARKit\", \"augmented reality\", \"machine learning\",\n  \"generative AI\", \"iCloud sync\", \"Sign in with Apple\", \"SharePlay\", \"CarPlay\",\n  \"in-app purchase\", \"NFC\", \"VoiceOver\", \"Maps\", \"Mac Catalyst\". Also use when\n  the user says \"how do I integrate Siri,\" \"what are the Apple Pay guidelines,\"\n  \"how should my AR experience work,\" \"how do I use Sign in with Apple,\" or asks\n  about any Apple framework or service integration.\n  Cross-references: hig-inputs for input methods, hig-components-system for widgets.\n---\n\n# Apple HIG: Technologies\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Apple technologies extend app capabilities through system integration.** Each technology has established user-facing patterns; deviating creates confusion and erodes trust.\n\n2. **Privacy and user control are paramount.** Especially for health, payment, and identity technologies. Request only needed data, explain why, respect choices.\n\n3. **Siri: natural, predictable, recoverable.** Clear conversational intent phrases that complete quickly and confirm results. Support App Shortcuts for proactive suggestions. Handle errors with clear fallbacks.\n\n4. **Payments: transparent and frictionless.** Standard Apple Pay button styles. Never ask for card details when Apple Pay is available. Clearly describe what the user is buying, the price, and whether it's one-time or subscription.\n\n5. **Health data is deeply personal.** Explain the health benefit before requesting access. CareKit tasks should be encouraging. ResearchKit consent flows must be thorough, readable, and respect autonomy.\n\n6. **HomeKit: simple and reliable.** Immediate response when controlling devices. Clear device state. Graceful handling of connectivity issues.\n\n7. **AR: genuine value, not gimmicks.** Use AR when spatial context improves understanding. Guide setup (surface, lighting, space). Provide clear exit back to standard interaction.\n\n8. **ML and generative AI: enhance without surprising.** Smart suggestions, image recognition, text prediction. Clearly attribute AI-generated content. Controls to edit, regenerate, or dismiss. Let users correct mistakes.\n\n9. **Sign in with Apple as top option.** Standard button styles. Respect email hiding preference. ID Verifier: guided flows, don't store sensitive data beyond what verification requires.\n\n10. **iCloud: invisible and reliable sync.** Data appears on all devices without manual intervention. Handle conflicts gracefully. Never lose data.\n\n11. **SharePlay: real-time participation.** Support multiple participants, show presence, handle latency. AirPlay: appropriate Now Playing metadata.\n\n12. **CarPlay: driver safety first.** Minimize interaction complexity, large touch targets, no distracting content. Only permitted app types: audio, messaging, EV charging, navigation, parking, quick food ordering.\n\n13. **Accessibility is a baseline requirement.** Every element has a meaningful VoiceOver label, trait, and action. Support Dynamic Type, Switch Control, and other assistive technologies. Test entirely with VoiceOver enabled.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [siri.md](references/siri.md) | Siri | Intents, shortcuts, voice interaction, App Shortcuts |\n| [apple-pay.md](references/apple-pay.md) | Apple Pay | Payment buttons, checkout flow, security |\n| [tap-to-pay-on-iphone.md](references/tap-to-pay-on-iphone.md) | Tap to Pay | Merchant flows, contactless payment |\n| [in-app-purchase.md](references/in-app-purchase.md) | In-app purchase | Subscriptions, one-time purchases, transparency |\n| [healthkit.md](references/healthkit.md) | HealthKit | Health data access, privacy, permissions |\n| [carekit.md](references/carekit.md) | CareKit | Care plans, tasks, health management |\n| [researchkit.md](references/researchkit.md) | ResearchKit | Studies, informed consent, data collection |\n| [homekit.md](references/homekit.md) | HomeKit | Smart home control, device state, scenes |\n| [augmented-reality.md](references/augmented-reality.md) | ARKit | Spatial context, surface detection, setup |\n| [machine-learning.md](references/machine-learning.md) | Core ML | Predictions, smart features, confidence handling |\n| [generative-ai.md](references/generative-ai.md) | Generative AI | Attribution, editing, responsible AI, uncertainty |\n| [icloud.md](references/icloud.md) | iCloud | CloudKit, cross-device sync, conflict resolution |\n| [sign-in-with-apple.md](references/sign-in-with-apple.md) | Sign in with Apple | Authentication, privacy, button styles |\n| [id-verifier.md](references/id-verifier.md) | ID Verifier | Identity verification, document scanning |\n| [shareplay.md](references/shareplay.md) | SharePlay | Shared experiences, participant presence |\n| [airplay.md](references/airplay.md) | AirPlay | Media streaming, Now Playing, wireless display |\n| [carplay.md](references/carplay.md) | CarPlay | Driver safety, permitted app types, large targets |\n| [game-center.md](references/game-center.md) | Game Center | Achievements, leaderboards, multiplayer |\n| [voiceover.md](references/voiceover.md) | VoiceOver | Screen reader, labels, traits, accessibility |\n| [wallet.md](references/wallet.md) | Wallet | Passes, tickets, loyalty cards |\n| [nfc.md](references/nfc.md) | NFC | Tag reading, quick interactions, App Clips |\n| [maps.md](references/maps.md) | Maps | Location display, annotations, directions |\n| [mac-catalyst.md](references/mac-catalyst.md) | Mac Catalyst | iPad to Mac, menu bar, keyboard, pointer |\n| [live-photos.md](references/live-photos.md) | Live Photos | Motion capture, playback, editing |\n| [imessage-apps-and-stickers.md](references/imessage-apps-and-stickers.md) | iMessage apps | Messages extension, stickers, compact UI |\n| [shazamkit.md](references/shazamkit.md) | ShazamKit | Audio recognition, music identification |\n| [always-on.md](references/always-on.md) | Always-on display | Dimmed state, power efficiency, reduced updates |\n| [photo-editing.md](references/photo-editing.md) | Photo editing | System photo editor, filters, adjustments |\n\n## Output Format\n\n1. **Implementation checklist** -- step-by-step requirements per Apple's guidelines.\n2. **Required vs optional features** for approval.\n3. **Privacy and permission requirements** -- data access, usage descriptions.\n4. **User-facing flow** from permission prompt through task completion.\n5. **Testing guidance** -- key scenarios including edge cases.\n\n## Questions to Ask\n\n1. Which Apple technology?\n2. Core use case?\n3. Which platforms?\n4. API requirements and entitlements reviewed?\n5. What data or permissions needed?\n\n## Related Skills\n\n- **hig-inputs** -- Input methods interacting with technologies (voice for Siri, Pencil for AR, gestures for Maps)\n- **hig-components-system** -- Widgets, complications, Live Activities surfacing technology data\n- **hig-components-status** -- Progress indicators for technology operations (sync, payment, AR loading)\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-components-system"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-components-system  (snapshot 2025-02-02)\n\n---\nname: hig-components-system\nversion: 1.0.0\ndescription: >-\n  Apple HIG guidance for system experience components: widgets, live activities,\n  notifications, complications, home screen quick actions, top shelf, watch faces,\n  app clips, and app shortcuts. Use when asked about: \"widget design\", \"live activity\",\n  \"notification design\", \"complication\", \"home screen quick action\",\n  \"top shelf\", \"watch face\", \"app clip\", \"app shortcut\", \"system experience\".\n  Also use when the user says \"how do I design a widget,\" \"what should my notification\n  look like,\" \"how do Live Activities work,\" \"should I make an App Clip,\" or asks about\n  surfaces outside the main app.\n  Cross-references: hig-components-status for progress in widgets, hig-inputs for\n  interaction patterns, hig-technologies for Siri and system integration.\n---\n\n# Apple HIG: System Experiences\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Key Principles\n\n1. **Glanceable, immediate value.** System experiences bring your app's most important content to surfaces the user sees without launching your app. Design for seconds of attention.\n\n2. **Respect platform context.** A Lock Screen widget has different constraints than a Home Screen widget. A complication is far smaller than a top shelf item.\n\n3. **Widgets: show relevant information, not everything.** Display the most useful subset, updated appropriately.\n\n4. **Support multiple widget sizes with distinct layouts.** Each size should be a thoughtful design, not a scaled version of another.\n\n5. **Deep-link on tap.** Take users to the relevant content, not the app's root screen.\n\n6. **Live Activities: track events with a clear start and end.** Deliveries, scores, timers, rides. Design for both Dynamic Island and Lock Screen.\n\n7. **Stay updated and timely.** Stale data undermines trust. End promptly when the event concludes.\n\n8. **Respect user attention with notifications.** Only send notifications for information users genuinely care about. No promotional or low-value notifications.\n\n9. **Notifications: actionable and self-contained.** Include enough context to understand and act without opening the app. Support notification actions. Use threading and grouping.\n\n10. **Complications: focused data on the watch face.** Design for the smallest useful representation. Support multiple families. Budget updates wisely.\n\n11. **Home Screen quick actions: 3-4 most common tasks.** Short titles, optional subtitles, relevant SF Symbol icons.\n\n12. **Top Shelf: tvOS showcase.** Feature content that entices: new episodes, featured items, recent content.\n\n13. **App Clips: instant, focused functionality within a strict size budget.** Load quickly without App Store download. Only what's needed for the immediate task, then offer full app install.\n\n14. **App Shortcuts: surface key actions to Siri and Spotlight.** Define shortcuts for frequent tasks. Use natural, conversational trigger phrases.\n\n## Reference Index\n\n| Reference | Topic | Key content |\n|---|---|---|\n| [widgets.md](references/widgets.md) | Widgets | Glanceable info, sizes, deep linking, timeline |\n| [live-activities.md](references/live-activities.md) | Live Activities | Real-time tracking, Dynamic Island, Lock Screen |\n| [notifications.md](references/notifications.md) | Notifications | Attention, actions, grouping, content |\n| [complications.md](references/complications.md) | Complications | Watch face data, families, budgeted updates |\n| [home-screen-quick-actions.md](references/home-screen-quick-actions.md) | Quick actions | Haptic Touch, common tasks, SF Symbols |\n| [top-shelf.md](references/top-shelf.md) | Top shelf | Featured content, showcase |\n| [app-clips.md](references/app-clips.md) | App Clips | Instant use, lightweight, focused task, NFC/QR |\n| [watch-faces.md](references/watch-faces.md) | Watch faces | Custom complications, face sharing |\n| [app-shortcuts.md](references/app-shortcuts.md) | App Shortcuts | Siri, Spotlight, voice triggers |\n\n## Output Format\n\n1. **System experience recommendation** -- which surface best fits the use case.\n2. **Content strategy** -- what to display, priority, what to omit.\n3. **Update frequency** -- refresh rate including system budget constraints.\n4. **Size/family variants** -- which to support and how layout adapts.\n5. **Deep link behavior** -- where tapping takes the user.\n\n## Questions to Ask\n\n1. What information needs to surface outside the app?\n2. Which platform?\n3. How frequently does the data update?\n4. What is the primary glanceable need?\n\n## Related Skills\n\n- **hig-components-status** -- Progress indicators in widgets or Live Activities\n- **hig-inputs** -- Interaction patterns for system experiences (Digital Crown for complications)\n- **hig-technologies** -- Siri for App Shortcuts, HealthKit for complications, NFC for App Clips\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          },
          {
            "arguments": {
              "skill": "hig-project-context"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "Skill: hig-project-context  (snapshot 2025-02-02)\n\n---\nname: hig-project-context\nversion: 1.0.0\ndescription: >-\n  Create or update a shared Apple design context document that other HIG skills\n  use to tailor guidance. Use when the user says \"set up my project context,\"\n  \"what platforms am I targeting,\" \"configure HIG settings,\" or when starting a\n  new Apple platform project. Also activates when other HIG skills need project\n  context but none exists yet. This skill creates .claude/apple-design-context.md\n  so that hig-foundations, hig-platforms, hig-components-*, hig-inputs, and\n  hig-technologies can provide targeted advice without repetitive questions.\n---\n\n# Apple HIG: Project Context\n\nCreate and maintain `.claude/apple-design-context.md` so other HIG skills can skip redundant questions.\n\nCheck for `.claude/apple-design-context.md` before asking questions. Use existing context and only ask for information not already covered.\n\n## Gathering Context\n\nBefore asking questions, auto-discover context from:\n\n1. **README.md** -- Product description, platform targets\n2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies\n3. **Info.plist** -- App category, required capabilities, supported orientations\n4. **Existing code** -- Import statements reveal frameworks (SwiftUI vs UIKit, HealthKit, etc.)\n5. **Assets.xcassets** -- Color assets, icon sets, dark mode variants\n6. **Accessibility audit** -- Grep for accessibility modifiers/attributes\n\nPresent findings and ask the user to confirm or correct. Then gather anything still missing:\n\n### 1. Product Overview\n- What does the app do? (one sentence)\n- Category (productivity, social, health, game, utility, etc.)\n- Stage (concept, development, shipped, redesign)\n\n### 2. Target Platforms\n- Which Apple platforms? (iOS, iPadOS, macOS, tvOS, watchOS, visionOS)\n- Minimum OS versions\n- Universal or platform-specific?\n\n### 3. Technology Stack\n- UI framework: SwiftUI, UIKit, AppKit, or mixed?\n- Architecture: single-window, multi-window, document-based?\n- Apple technologies in use? (HealthKit, CloudKit, ARKit, etc.)\n\n### 4. Design System\n- System defaults or custom design system?\n- Brand colors, fonts, icon style?\n- Dark mode and Dynamic Type support status\n\n### 5. Accessibility Requirements\n- Target level (baseline, enhanced, comprehensive)\n- Specific considerations (VoiceOver, Switch Control, etc.)\n- Regulatory requirements (WCAG, Section 508)\n\n### 6. User Context\n- Primary personas (1-3)\n- Key use cases and environments (desk, on-the-go, glanceable, immersive)\n- Known pain points or design challenges\n\n### 7. Existing Design Assets\n- Figma/Sketch files?\n- Apple Design Resources in use?\n- Existing component library?\n\n## Context Document Template\n\nGenerate `.claude/apple-design-context.md` using this structure:\n\n```markdown\n# Apple Design Context\n\n## Product\n- **Name**: [App name]\n- **Description**: [One sentence]\n- **Category**: [Category]\n- **Stage**: [Concept / Development / Shipped / Redesign]\n\n## Platforms\n| Platform | Supported | Min OS | Notes |\n|----------|-----------|--------|-------|\n| iOS      | Yes/No    |        |       |\n| iPadOS   | Yes/No    |        |       |\n| macOS    | Yes/No    |        |       |\n| tvOS     | Yes/No    |        |       |\n| watchOS  | Yes/No    |        |       |\n| visionOS | Yes/No    |        |       |\n\n## Technology\n- **UI Framework**: [SwiftUI / UIKit / AppKit / Mixed]\n- **Architecture**: [Single-window / Multi-window / Document-based]\n- **Apple Technologies**: [List any: HealthKit, CloudKit, ARKit, etc.]\n\n## Design System\n- **Base**: [System defaults / Custom design system]\n- **Brand Colors**: [List or reference]\n- **Typography**: [System fonts / Custom fonts]\n- **Dark Mode**: [Supported / Not yet / N/A]\n- **Dynamic Type**: [Supported / Not yet / N/A]\n\n## Accessibility\n- **Target Level**: [Baseline / Enhanced / Comprehensive]\n- **Key Considerations**: [List any specific needs]\n\n## Users\n- **Primary Persona**: [Description]\n- **Key Use Cases**: [List]\n- **Known Challenges**: [List]\n```\n\n## Updating Context\n\nWhen updating an existing context document:\n\n1. Read the current `.claude/apple-design-context.md`\n2. Ask what has changed\n3. Update only the changed sections\n4. Preserve all unchanged information\n\n## Related Skills\n\n- **hig-platforms** -- Platform-specific guidance\n- **hig-foundations** -- Color, typography, layout decisions\n- **hig-patterns** -- UX pattern recommendations\n- **hig-components-*** -- Component recommendations\n- **hig-inputs** -- Input method coverage\n- **hig-technologies** -- Apple technology relevance\n\n---\n\n*Built by [Raintree Technology](https://raintree.technology) · [More developer tools](https://raintree.technology)*\n",
              "type": "result"
            },
            "tool": "hig_lookup"
          }
        ],
        "task": "t1",
        "turns": 5
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "I searched the Apple HIG reference snapshot dated **February 2, 2025** for “minimum touch target size.” The top three ranked results were:\n\n1. **Apple HIG: Project Context** — score 7.85  \n   > “…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…”\n\n2. **Apple HIG: Inputs** — score 6.74  \n   > “…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…”\n\n3. **Sign in with Apple** — score 6.59  \n   > “…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…”\n\nThe returned snippets do not state a minimum touch-target dimension.",
        "round": 1,
        "steps": [
          {
            "arguments": {
              "limit": 3,
              "query": "minimum touch target size"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"query\": \"minimum touch target size\",\n  \"results\": [\n    {\n      \"skill\": \"hig-project-context\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Project Context\",\n      \"score\": 7.85,\n      \"snippet\": \"…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…\",\n      \"lookup\": {\n        \"skill\": \"hig-project-context\"\n      }\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Inputs\",\n      \"score\": 6.74,\n      \"snippet\": \"…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…\",\n      \"lookup\": {\n        \"skill\": \"hig-inputs\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": \"sign-in-with-apple\",\n      \"title\": \"Sign in with Apple\",\n      \"score\": 6.59,\n      \"snippet\": \"…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\",\n        \"topic\": \"sign-in-with-apple\"\n      }\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_search"
          }
        ],
        "task": "t2",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "I searched the Apple HIG reference snapshot dated 2025-02-02 for **“minimum touch target size.”** The top three ranked results were:\n\n1. **Apple HIG: Project Context** — score: 7.85  \n   > “…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…”\n\n2. **Apple HIG: Inputs** — score: 6.74  \n   > “…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…”\n\n3. **Sign in with Apple** — score: 6.59  \n   > “…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…”\n\nNone of the returned snippets states a numeric minimum touch target size.",
        "round": 2,
        "steps": [
          {
            "arguments": {
              "limit": 3,
              "query": "minimum touch target size"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"query\": \"minimum touch target size\",\n  \"results\": [\n    {\n      \"skill\": \"hig-project-context\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Project Context\",\n      \"score\": 7.85,\n      \"snippet\": \"…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…\",\n      \"lookup\": {\n        \"skill\": \"hig-project-context\"\n      }\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Inputs\",\n      \"score\": 6.74,\n      \"snippet\": \"…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…\",\n      \"lookup\": {\n        \"skill\": \"hig-inputs\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": \"sign-in-with-apple\",\n      \"title\": \"Sign in with Apple\",\n      \"score\": 6.59,\n      \"snippet\": \"…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\",\n        \"topic\": \"sign-in-with-apple\"\n      }\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_search"
          }
        ],
        "task": "t2",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "The Apple HIG reference search returned these top three ranked results for **“minimum touch target size”** (snapshot: February 2, 2025):\n\n1. **Apple HIG: Project Context** — score **7.85**  \n   > “…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…”\n\n2. **Apple HIG: Inputs** — score **6.74**  \n   > “…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…”\n\n3. **Sign in with Apple** — score **6.59**  \n   > “…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…”\n\nNone of the returned snippets states a numerical minimum touch target size.",
        "round": 3,
        "steps": [
          {
            "arguments": {
              "limit": 3,
              "query": "minimum touch target size"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"query\": \"minimum touch target size\",\n  \"results\": [\n    {\n      \"skill\": \"hig-project-context\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Project Context\",\n      \"score\": 7.85,\n      \"snippet\": \"…over context from: 1. **README.md** -- Product description, platform targets 2. **Package.swift / .xcodeproj** -- Supported platforms, minimum OS versions, dependencies 3. **Info.plist** -- App category, requi…\",\n      \"lookup\": {\n        \"skill\": \"hig-project-context\"\n      }\n    },\n    {\n      \"skill\": \"hig-inputs\",\n      \"topic\": null,\n      \"title\": \"Apple HIG: Inputs\",\n      \"score\": 6.74,\n      \"snippet\": \"…y covered. ## Key Principles 1. **Support multiple input methods.** Touch, pointer, keyboard, pencil, voice, eyes, hands, controllers. Design for the inputs available on each platform. On iPadOS, support both…\",\n      \"lookup\": {\n        \"skill\": \"hig-inputs\"\n      }\n    },\n    {\n      \"skill\": \"hig-technologies\",\n      \"topic\": \"sign-in-with-apple\",\n      \"title\": \"Sign in with Apple\",\n      \"score\": 6.59,\n      \"snippet\": \"…ative text label that lets VoiceOver describe the button #### Button size and corner radius **Adjust the corner radius to match the appearance of other buttons in your app.** **Maintain the minimum button si…\",\n      \"lookup\": {\n        \"skill\": \"hig-technologies\",\n        \"topic\": \"sign-in-with-apple\"\n      }\n    }\n  ]\n}",
              "type": "result"
            },
            "tool": "hig_search"
          }
        ],
        "task": "t2",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "### `web/missing-alt`\n\n- **Severity:** Critical\n- **Category:** Foundations → Accessibility\n- **Fix:** Add descriptive `alt` text to an image. If the image is purely decorative, use `alt=\"\"` so assistive technologies can skip it.\n\nFor example:\n\n```html\n<img src=\"chart.png\" alt=\"Sales rose 20% from January to March\">\n<img src=\"divider.png\" alt=\"\">\n```\n\nThe rule cites Apple’s [Accessibility Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/accessibility), particularly the guidance to **“Describe your app’s interface and content for VoiceOver.”** The cited reference also emphasizes making interfaces *perceivable* without relying on a single way to convey information.",
        "round": 1,
        "steps": [
          {
            "arguments": {
              "rule_id": "web/missing-alt"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"rule\": {\n    \"id\": \"web/missing-alt\",\n    \"framework\": \"web\",\n    \"category\": \"foundations\",\n    \"subcategory\": \"accessibility\",\n    \"type\": \"concern\",\n    \"label\": \"missing alt\",\n    \"severity\": \"critical\",\n    \"engine\": \"ast-tsx\",\n    \"hig\": \"https://developer.apple.com/design/human-interface-guidelines/accessibility\",\n    \"fix\": \"Add descriptive alt text, or alt=\\\"\\\" when the image is purely decorative.\"\n  },\n  \"reference\": {\n    \"skill\": \"hig-foundations\",\n    \"topic\": \"accessibility\",\n    \"excerpt\": \"---\\ntitle: \\\"Accessibility | Apple Developer Documentation\\\"\\nsource: https://developer.apple.com/design/human-interface-guidelines/accessibility\\n---\\n\\n<!-- hig-doctor:attribution -->\\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/accessibility.\\n> This file is a structured index of that content, snapshot 2025-02-02.\\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\\n\\n# Accessibility\\n\\n  * **Intuitive.** Your interface uses familiar and consistent interactions that make tasks straightforward to perform.\\n\\n  * **Perceivable.** Your interface doesn’t rely on any single method to convey information. People can access and interact with your content, whether they use sight, hearing, speech, or touch.\\n\\n  * **Adaptable.** Your interface adapts to how people want to use their device, whether by supporting system accessibility features or letting people personalize settings.\\n\\n## Vision\\n\\n**Support larger text sizes.**\\n\\n**Use recommended defaults for custom type sizes.**\\n\\n**Bear in mind that font weight can also impact how easy text is to read.**\\n\\n**Strive to meet color contrast minimum standards.**\\n\\n**Prefer system-defined colors.**\\n\\n**Convey information with more than color alone.**\\n\\n**Describe your app’s interface and content for VoiceOver.**\\n\\n## Hearing\\n\\n**Support text-based ways to enjoy audio and video.**\\n\\n  * **Captions** give people the textual equivalent of audible information in video or audio-only content. Captions are great for scenarios like game cutscenes and video clips where text synchronizes live with the media.\\n\\n  * **Subtitles** allow people to read live onscreen dialogue in their preferred language. Subtitles are great for TV shows and movies.\\n\\n  * **Audio descriptions** are interspersed between natural pauses in the main audio of a video and supply spoken narration of important information that’s presented only visually.\\n\\n  * **Transcripts** provide a complete textual description of a video, covering both audible and visual information. Transcripts are great for longer-form media like podcasts and audiobooks where people may want to review content as a whole or highlight the transcript as media is playing.\\n\\n**Use haptics in addition to audio cues.**\\n\\n**Augment audio cues with visual cues.**\\n\\n## Mobility\\n\\n**Offer sufficiently sized controls.**\\n\\n**Consider spacing between controls as important as size.**\\n\\n**Support simple gestures for common interactions.**\\n\\n**Offer alternatives to gestures.**\\n\\n**Let people use Voice Control to give guidance and enter information verbally.**\\n\\n**Integrate with Siri and Shortcuts to let people perform tasks using voice alone.**\\n\\n**Support mobility-related assistive technologies.**\\n\\n## Speech\\n\\n**Let people use the keyboard alone to navigate and interact with your app.**\\n\\n**Support Switch Control.**\\n\\n## Cognitive\\n\\n**Keep actions simple and intuitive.**\\n\\n**Minimize use of time-boxed interface elements.**\\n\\n**Consider offering difficulty accommodations in games.**\\n\\n…\"\n  }\n}",
              "type": "result"
            },
            "tool": "hig_explain_finding"
          }
        ],
        "task": "t3",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "### `web/missing-alt`\n\n- **Severity:** Critical\n- **Category:** Accessibility\n- **What it flags:** Web images that lack alternative text.\n- **Fix:** Add descriptive `alt` text that conveys the image’s purpose or content. If the image is purely decorative, use `alt=\"\"`.\n\nThe rule cites Apple’s [Human Interface Guidelines: Accessibility](https://developer.apple.com/design/human-interface-guidelines/accessibility). The cited guidance says interfaces should be **perceivable** without relying on a single way of conveying information and advises designers to **describe interface and content for VoiceOver**.\n\nThe audit tool’s HIG reference snapshot is dated February 2, 2025.",
        "round": 2,
        "steps": [
          {
            "arguments": {
              "rule_id": "web/missing-alt"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"rule\": {\n    \"id\": \"web/missing-alt\",\n    \"framework\": \"web\",\n    \"category\": \"foundations\",\n    \"subcategory\": \"accessibility\",\n    \"type\": \"concern\",\n    \"label\": \"missing alt\",\n    \"severity\": \"critical\",\n    \"engine\": \"ast-tsx\",\n    \"hig\": \"https://developer.apple.com/design/human-interface-guidelines/accessibility\",\n    \"fix\": \"Add descriptive alt text, or alt=\\\"\\\" when the image is purely decorative.\"\n  },\n  \"reference\": {\n    \"skill\": \"hig-foundations\",\n    \"topic\": \"accessibility\",\n    \"excerpt\": \"---\\ntitle: \\\"Accessibility | Apple Developer Documentation\\\"\\nsource: https://developer.apple.com/design/human-interface-guidelines/accessibility\\n---\\n\\n<!-- hig-doctor:attribution -->\\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/accessibility.\\n> This file is a structured index of that content, snapshot 2025-02-02.\\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\\n\\n# Accessibility\\n\\n  * **Intuitive.** Your interface uses familiar and consistent interactions that make tasks straightforward to perform.\\n\\n  * **Perceivable.** Your interface doesn’t rely on any single method to convey information. People can access and interact with your content, whether they use sight, hearing, speech, or touch.\\n\\n  * **Adaptable.** Your interface adapts to how people want to use their device, whether by supporting system accessibility features or letting people personalize settings.\\n\\n## Vision\\n\\n**Support larger text sizes.**\\n\\n**Use recommended defaults for custom type sizes.**\\n\\n**Bear in mind that font weight can also impact how easy text is to read.**\\n\\n**Strive to meet color contrast minimum standards.**\\n\\n**Prefer system-defined colors.**\\n\\n**Convey information with more than color alone.**\\n\\n**Describe your app’s interface and content for VoiceOver.**\\n\\n## Hearing\\n\\n**Support text-based ways to enjoy audio and video.**\\n\\n  * **Captions** give people the textual equivalent of audible information in video or audio-only content. Captions are great for scenarios like game cutscenes and video clips where text synchronizes live with the media.\\n\\n  * **Subtitles** allow people to read live onscreen dialogue in their preferred language. Subtitles are great for TV shows and movies.\\n\\n  * **Audio descriptions** are interspersed between natural pauses in the main audio of a video and supply spoken narration of important information that’s presented only visually.\\n\\n  * **Transcripts** provide a complete textual description of a video, covering both audible and visual information. Transcripts are great for longer-form media like podcasts and audiobooks where people may want to review content as a whole or highlight the transcript as media is playing.\\n\\n**Use haptics in addition to audio cues.**\\n\\n**Augment audio cues with visual cues.**\\n\\n## Mobility\\n\\n**Offer sufficiently sized controls.**\\n\\n**Consider spacing between controls as important as size.**\\n\\n**Support simple gestures for common interactions.**\\n\\n**Offer alternatives to gestures.**\\n\\n**Let people use Voice Control to give guidance and enter information verbally.**\\n\\n**Integrate with Siri and Shortcuts to let people perform tasks using voice alone.**\\n\\n**Support mobility-related assistive technologies.**\\n\\n## Speech\\n\\n**Let people use the keyboard alone to navigate and interact with your app.**\\n\\n**Support Switch Control.**\\n\\n## Cognitive\\n\\n**Keep actions simple and intuitive.**\\n\\n**Minimize use of time-boxed interface elements.**\\n\\n**Consider offering difficulty accommodations in games.**\\n\\n…\"\n  }\n}",
              "type": "result"
            },
            "tool": "hig_explain_finding"
          }
        ],
        "task": "t3",
        "turns": 2
      },
      {
        "end": "answered",
        "final_cut": false,
        "final_text": "### `web/missing-alt`\n\n- **Severity:** Critical\n- **Category:** Accessibility\n- **What it flags:** Web images missing alternative text.\n- **Fix:** Add descriptive `alt` text that conveys the image’s purpose or content. For a purely decorative image, use `alt=\"\"`.\n\n**Cited HIG reference:** Apple’s [Accessibility guidance](https://developer.apple.com/design/human-interface-guidelines/accessibility) says to describe interface and content for VoiceOver. It also emphasizes that interfaces should be *perceivable* without relying on a single way of conveying information.\n\nThe audit rule’s reference uses a snapshot dated February 2, 2025.",
        "round": 3,
        "steps": [
          {
            "arguments": {
              "rule_id": "web/missing-alt"
            },
            "reply": {
              "cut": false,
              "is_error": false,
              "text": "{\n  \"snapshot\": \"2025-02-02\",\n  \"rule\": {\n    \"id\": \"web/missing-alt\",\n    \"framework\": \"web\",\n    \"category\": \"foundations\",\n    \"subcategory\": \"accessibility\",\n    \"type\": \"concern\",\n    \"label\": \"missing alt\",\n    \"severity\": \"critical\",\n    \"engine\": \"ast-tsx\",\n    \"hig\": \"https://developer.apple.com/design/human-interface-guidelines/accessibility\",\n    \"fix\": \"Add descriptive alt text, or alt=\\\"\\\" when the image is purely decorative.\"\n  },\n  \"reference\": {\n    \"skill\": \"hig-foundations\",\n    \"topic\": \"accessibility\",\n    \"excerpt\": \"---\\ntitle: \\\"Accessibility | Apple Developer Documentation\\\"\\nsource: https://developer.apple.com/design/human-interface-guidelines/accessibility\\n---\\n\\n<!-- hig-doctor:attribution -->\\n> **Source**: Apple Inc. Canonical content at https://developer.apple.com/design/human-interface-guidelines/accessibility.\\n> This file is a structured index of that content, snapshot 2025-02-02.\\n> Apple HIG text and imagery are © Apple Inc.; this repository provides organization and cross-referencing for AI agent consumption only.\\n\\n# Accessibility\\n\\n  * **Intuitive.** Your interface uses familiar and consistent interactions that make tasks straightforward to perform.\\n\\n  * **Perceivable.** Your interface doesn’t rely on any single method to convey information. People can access and interact with your content, whether they use sight, hearing, speech, or touch.\\n\\n  * **Adaptable.** Your interface adapts to how people want to use their device, whether by supporting system accessibility features or letting people personalize settings.\\n\\n## Vision\\n\\n**Support larger text sizes.**\\n\\n**Use recommended defaults for custom type sizes.**\\n\\n**Bear in mind that font weight can also impact how easy text is to read.**\\n\\n**Strive to meet color contrast minimum standards.**\\n\\n**Prefer system-defined colors.**\\n\\n**Convey information with more than color alone.**\\n\\n**Describe your app’s interface and content for VoiceOver.**\\n\\n## Hearing\\n\\n**Support text-based ways to enjoy audio and video.**\\n\\n  * **Captions** give people the textual equivalent of audible information in video or audio-only content. Captions are great for scenarios like game cutscenes and video clips where text synchronizes live with the media.\\n\\n  * **Subtitles** allow people to read live onscreen dialogue in their preferred language. Subtitles are great for TV shows and movies.\\n\\n  * **Audio descriptions** are interspersed between natural pauses in the main audio of a video and supply spoken narration of important information that’s presented only visually.\\n\\n  * **Transcripts** provide a complete textual description of a video, covering both audible and visual information. Transcripts are great for longer-form media like podcasts and audiobooks where people may want to review content as a whole or highlight the transcript as media is playing.\\n\\n**Use haptics in addition to audio cues.**\\n\\n**Augment audio cues with visual cues.**\\n\\n## Mobility\\n\\n**Offer sufficiently sized controls.**\\n\\n**Consider spacing between controls as important as size.**\\n\\n**Support simple gestures for common interactions.**\\n\\n**Offer alternatives to gestures.**\\n\\n**Let people use Voice Control to give guidance and enter information verbally.**\\n\\n**Integrate with Siri and Shortcuts to let people perform tasks using voice alone.**\\n\\n**Support mobility-related assistive technologies.**\\n\\n## Speech\\n\\n**Let people use the keyboard alone to navigate and interact with your app.**\\n\\n**Support Switch Control.**\\n\\n## Cognitive\\n\\n**Keep actions simple and intuitive.**\\n\\n**Minimize use of time-boxed interface elements.**\\n\\n**Consider offering difficulty accommodations in games.**\\n\\n…\"\n  }\n}",
              "type": "result"
            },
            "tool": "hig_explain_finding"
          }
        ],
        "task": "t3",
        "turns": 2
      }
    ],
    "none_because": null,
    "tasks": [
      {
        "done_when": "The transcript shows the skills list and the detailed hig-foundations color reference.",
        "id": "t1",
        "task": "List the available Apple HIG skills and their reference topics, then look up the detailed color guidance in hig-foundations."
      },
      {
        "done_when": "The transcript shows a search for minimum touch target size with a limit of three and the ranked results and snippets returned by the server.",
        "id": "t2",
        "task": "Search the Apple HIG references for guidance on minimum touch target size and return the top three ranked results with their snippets."
      },
      {
        "done_when": "The transcript shows the explanation returned for web/missing-alt, including its rule metadata and reference excerpt.",
        "id": "t3",
        "task": "Explain the HIG audit rule web/missing-alt, including its severity, fix guidance, and cited HIG reference."
      }
    ],
    "tasks_file_sha256": "1605866b1ac9852dfc390e535207bb25de5e829a5c2eb25b25c983b5b04220ba",
    "writer": "codex/gpt-6.1-terra"
  }
}
