{
  "answers": {
    "c00": {
      "noul": 0.92,
      "type": "noul"
    },
    "c01": {
      "noul": 0.97,
      "type": "noul"
    },
    "c02": {
      "noul": 0.99,
      "type": "noul"
    },
    "c03": {
      "noul": 0.98,
      "type": "noul"
    },
    "c04": {
      "noul": 0.98,
      "type": "noul"
    },
    "c05": {
      "noul": 0.92,
      "type": "noul"
    },
    "c06": {
      "noul": 0.85,
      "type": "noul"
    },
    "c07": {
      "noul": 0.95,
      "type": "noul"
    },
    "c08": {
      "noul": 0.99,
      "type": "noul"
    },
    "c09": {
      "noul": 0.99,
      "type": "noul"
    },
    "c10": {
      "noul": 0.89,
      "type": "noul"
    },
    "w00": {
      "noul": 0.75,
      "type": "noul"
    },
    "w01": {
      "noul": 0.83,
      "type": "noul"
    },
    "w02": {
      "noul": 0.73,
      "type": "noul"
    },
    "w03": {
      "noul": 0.98,
      "type": "noul"
    },
    "w04": {
      "noul": 0.97,
      "type": "noul"
    },
    "w05": {
      "noul": 0.98,
      "type": "noul"
    },
    "w06": {
      "noul": 0.94,
      "type": "noul"
    },
    "w07": {
      "noul": 0.96,
      "type": "noul"
    },
    "w08": {
      "noul": 0.97,
      "type": "noul"
    }
  },
  "asked_at": "2026-11-23T05:43:57Z",
  "endpoint": "https://api.typesafe.ai/v1/systemone",
  "errors_helpful": [
    {
      "call": 0,
      "noul": 0.92,
      "question": "c00"
    },
    {
      "call": 1,
      "noul": 0.97,
      "question": "c01"
    },
    {
      "call": 2,
      "noul": 0.99,
      "question": "c02"
    },
    {
      "call": 3,
      "noul": 0.98,
      "question": "c03"
    },
    {
      "call": 4,
      "noul": 0.98,
      "question": "c04"
    },
    {
      "call": 5,
      "noul": 0.92,
      "question": "c05"
    },
    {
      "call": 6,
      "noul": 0.85,
      "question": "c06"
    },
    {
      "call": 7,
      "noul": 0.95,
      "question": "c07"
    },
    {
      "call": 8,
      "noul": 0.99,
      "question": "c08"
    },
    {
      "call": 9,
      "noul": 0.99,
      "question": "c09"
    },
    {
      "call": 10,
      "noul": 0.89,
      "question": "c10"
    }
  ],
  "format": "didrun.judgments.v1",
  "input_tokens": 38349,
  "method": "0.15.0",
  "model": "jev-1.14.0",
  "model_asked": "jev-1.14.0",
  "request": {
    "model": "jev-1.14.0",
    "questions": {
      "c00": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error: Invalid skill: expected kebab-case identifier",
          "tool": "hig_lookup"
        },
        "type": "noul"
      },
      "c01": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "skill": {}
          },
          "parameter": "skill",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error: Invalid skill: expected kebab-case identifier",
          "tool": "hig_lookup"
        },
        "type": "noul"
      },
      "c02": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error: query must be a non-empty string",
          "tool": "hig_search"
        },
        "type": "noul"
      },
      "c03": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "query": {}
          },
          "parameter": "query",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error: query must be a non-empty string",
          "tool": "hig_search"
        },
        "type": "noul"
      },
      "c04": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error: directory must be an absolute path",
          "tool": "hig_audit"
        },
        "type": "noul"
      },
      "c05": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "directory": {}
          },
          "parameter": "directory",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error: directory must be an absolute path",
          "tool": "hig_audit"
        },
        "type": "noul"
      },
      "c06": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error: file must be an absolute path",
          "tool": "hig_audit_file"
        },
        "type": "noul"
      },
      "c07": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "file": {}
          },
          "parameter": "file",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error: file must be an absolute path",
          "tool": "hig_audit_file"
        },
        "type": "noul"
      },
      "c08": {
        "criteria": {
          "false": "The reply names no argument of the tool: for example a generic failure, a stack trace with no argument named, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply names at least one argument of the tool that the call left out or got wrong, and so tells the caller what to change."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` name an argument that the call must add or fix?",
          "reply": "Error: rule_id must be a string",
          "tool": "hig_explain_finding"
        },
        "type": "noul"
      },
      "c09": {
        "criteria": {
          "false": "The reply does not point to `parameter`: for example a generic failure, an error about another argument, an error from a service the tool tried to reach, or a normal answer.",
          "true": "The reply points to `parameter` or to its value and says the value has the wrong type or is not accepted."
        },
        "instructions": {
          "arguments_sent": {
            "rule_id": {}
          },
          "parameter": "rule_id",
          "question": "Does `reply` tell the caller that `parameter` has a value the tool does not accept?",
          "reply": "Error: rule_id must be a string",
          "tool": "hig_explain_finding"
        },
        "type": "noul"
      },
      "c10": {
        "criteria": {
          "false": "The reply does not say the tool is missing: for example a generic failure, a crash, or a normal answer.",
          "true": "The reply says the tool is unknown, not found, or does not exist."
        },
        "instructions": {
          "arguments_sent": {},
          "question": "Does `reply` tell the caller that there is no tool named `tool`?",
          "reply": "Error: Unknown tool: didrun_unknown_tool",
          "tool": "didrun_unknown_tool"
        },
        "type": "noul"
      },
      "w00": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## 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-",
          "done_when": "The transcript shows the skills list and the detailed hig-foundations color reference.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\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        \"",
              "tool": "hig_list_skills"
            },
            {
              "arguments": {
                "skill": "hig-foundations",
                "topic": "color"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "query": "foundations platforms patterns inputs technologies accessibility layout typography"
              },
              "reply": "{\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}",
              "tool": "hig_search"
            },
            {
              "arguments": {
                "skill": "hig-components-system"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-foundations"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-platforms"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-patterns"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-inputs"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "note": "later steps left out for length"
            }
          ],
          "task": "List the available Apple HIG skills and their reference topics, then look up the detailed color guidance in hig-foundations."
        },
        "type": "noul"
      },
      "w01": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## 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 colo",
          "done_when": "The transcript shows the skills list and the detailed hig-foundations color reference.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\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        \"",
              "tool": "hig_list_skills"
            },
            {
              "arguments": {
                "skill": "hig-foundations",
                "topic": "color"
              },
              "reply": "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",
              "tool": "hig_lookup"
            }
          ],
          "task": "List the available Apple HIG skills and their reference topics, then look up the detailed color guidance in hig-foundations."
        },
        "type": "noul"
      },
      "w02": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "## 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-managemen",
          "done_when": "The transcript shows the skills list and the detailed hig-foundations color reference.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {},
              "reply": "{\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        \"",
              "tool": "hig_list_skills"
            },
            {
              "arguments": {
                "skill": "hig-foundations",
                "topic": "color"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "limit": 25,
                "query": "foundations platforms patterns technologies inputs accessibility typography layout"
              },
              "reply": "{\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",
              "tool": "hig_search"
            },
            {
              "arguments": {
                "skill": "hig-foundations"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-platforms"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-patterns"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "arguments": {
                "skill": "hig-inputs"
              },
              "reply": "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",
              "tool": "hig_lookup"
            },
            {
              "note": "later steps left out for length"
            }
          ],
          "task": "List the available Apple HIG skills and their reference topics, then look up the detailed color guidance in hig-foundations."
        },
        "type": "noul"
      },
      "w03": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "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.",
          "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.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "limit": 3,
                "query": "minimum touch target size"
              },
              "reply": "{\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}",
              "tool": "hig_search"
            }
          ],
          "task": "Search the Apple HIG references for guidance on minimum touch target size and return the top three ranked results with their snippets."
        },
        "type": "noul"
      },
      "w04": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "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.",
          "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.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "limit": 3,
                "query": "minimum touch target size"
              },
              "reply": "{\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}",
              "tool": "hig_search"
            }
          ],
          "task": "Search the Apple HIG references for guidance on minimum touch target size and return the top three ranked results with their snippets."
        },
        "type": "noul"
      },
      "w05": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "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.",
          "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.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "limit": 3,
                "query": "minimum touch target size"
              },
              "reply": "{\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}",
              "tool": "hig_search"
            }
          ],
          "task": "Search the Apple HIG references for guidance on minimum touch target size and return the top three ranked results with their snippets."
        },
        "type": "noul"
      },
      "w06": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "### `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.",
          "done_when": "The transcript shows the explanation returned for web/missing-alt, including its rule metadata and reference excerpt.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "rule_id": "web/missing-alt"
              },
              "reply": "{\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}",
              "tool": "hig_explain_finding"
            }
          ],
          "task": "Explain the HIG audit rule web/missing-alt, including its severity, fix guidance, and cited HIG reference."
        },
        "type": "noul"
      },
      "w07": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "### `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.",
          "done_when": "The transcript shows the explanation returned for web/missing-alt, including its rule metadata and reference excerpt.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "rule_id": "web/missing-alt"
              },
              "reply": "{\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}",
              "tool": "hig_explain_finding"
            }
          ],
          "task": "Explain the HIG audit rule web/missing-alt, including its severity, fix guidance, and cited HIG reference."
        },
        "type": "noul"
      },
      "w08": {
        "criteria": {
          "false": "The tool replies show an error, a missing or different result, or nothing about the task; or only the agent's final answer claims the task was done.",
          "true": "The tool replies in `steps` show the result that `done_when` describes. The result came from the server's tools, not only from the agent's own words."
        },
        "instructions": {
          "agent_final_answer": "### `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.",
          "done_when": "The transcript shows the explanation returned for web/missing-alt, including its rule metadata and reference excerpt.",
          "how_it_ended": "answered",
          "question": "Did the agent finish `task`, as `done_when` describes, according to the tool replies in `steps`?",
          "steps": [
            {
              "arguments": {
                "rule_id": "web/missing-alt"
              },
              "reply": "{\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}",
              "tool": "hig_explain_finding"
            }
          ],
          "task": "Explain the HIG audit rule web/missing-alt, including its severity, fix guidance, and cited HIG reference."
        },
        "type": "noul"
      }
    },
    "state": {
      "about": "Replies of an MCP server to tool calls that were sent with bad input on purpose, to see whether its error messages help a caller fix the call."
    }
  },
  "run_id": "01M83BR7TF567KW5GBK1KM22PW",
  "works_done": [
    {
      "attempt": 0,
      "noul": 0.75,
      "question": "w00"
    },
    {
      "attempt": 1,
      "noul": 0.83,
      "question": "w01"
    },
    {
      "attempt": 2,
      "noul": 0.73,
      "question": "w02"
    },
    {
      "attempt": 3,
      "noul": 0.98,
      "question": "w03"
    },
    {
      "attempt": 4,
      "noul": 0.97,
      "question": "w04"
    },
    {
      "attempt": 5,
      "noul": 0.98,
      "question": "w05"
    },
    {
      "attempt": 6,
      "noul": 0.94,
      "question": "w06"
    },
    {
      "attempt": 7,
      "noul": 0.96,
      "question": "w07"
    },
    {
      "attempt": 8,
      "noul": 0.97,
      "question": "w08"
    }
  ]
}
