Communitygithub.com

COTA-App/LandingPage

Apple 人機介面指南的互動與使用者體驗模式。當使用者詢問 Apple App 中的「入門流程」、「使用者引導」、「App 啟動」、「載入狀態」、「拖放」、「搜尋模式」、「設定設計」、「通知」、「模態」、「多工」、「反饋模式」、「觸覺回饋」、「復原/重做」、「檔案管理」、「資料輸入」、「分享」、「協作」、「全螢幕」、「音訊」、「視訊」、「觸覺回饋」、「評分」、「列印」、「說明」或「帳號管理」等主題時,請使用此技能。

LandingPage 是什麼?

此技能提供 Apple 人機介面指南 (HIG) 中定義的互動與使用者體驗模式的完整參考。它旨在幫助開發人員和 AI 代理在使用者詢問特定 UX 問題(例如「入門流程應該如何進行」、「應該在這裡使用模態嗎」或「如何顯示進度」)時,推薦並實作最佳模式。支援的平台包括所有 Apple 平台(iOS、iPadOS、macOS、watchOS、tvOS)。其運作方式是先檢查 `.claude/apple-design-context.md` 的現有上下文,然後提供模式選擇指南、參考文件索引,以及包含建議模式、逐步實作和常見陷阱的結構化輸出。此技能不需要額外設定,且能與其他 HIG 技能(如 `hig-foundations`)順暢協作,以確保設計的一致性。

相容平台✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/COTA-App/LandingPage/tree/HEAD/.claude/skills/hig-patterns

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Apple 人機介面指南:互動模式

在提問前,請先檢查 .claude/apple-design-context.md。使用現有上下文,僅詢問尚未涵蓋的資訊。

核心原則

  1. 盡量減少模態。 僅在需要引起注意、必須完成或放棄任務,或儲存變更至關重要時,才使用模態。優先考慮非模態的替代方案。

  2. 提供明確的反饋。 每個動作都應產生可見、可聽見或觸覺上的回應。不確定的等待使用活動指示器,確定的進度使用進度條,物理確認使用觸覺回饋。

  3. 支援復原而非確認對話框。 破壞性動作應盡可能可逆。復原幾乎總是比「你確定嗎?」更好。

  4. 快速啟動。 顯示一個能無縫過渡到第一個畫面的啟動畫面。不要使用帶有標誌的啟動畫面。還原先前的狀態。

  5. 延後登入。 讓使用者在要求建立帳號前先探索。支援「透過 Apple 登入」和通行密鑰。

  6. 保持入門簡短。 最多三個畫面。讓使用者可以跳過。透過漸進式揭露和上下文提示來教學。

  7. 使用漸進式揭露。 先顯示必要內容,讓使用者深入查看細節。不要在一個畫面上塞滿所有選項。

  8. 尊重使用者注意力。 合併通知,減少中斷,讓使用者控制警示。切勿將通知用於行銷。

參考索引

參考文件主題主要內容
charting-data.md圖表化資料資料視覺化模式、無障礙圖表、互動元素
collaboration-and-sharing.md協作與分享分享工作表、活動檢視、協作編輯、SharePlay
drag-and-drop.md拖放拖曳來源、放置目標、彈簧載入、多項目拖曳、視覺回饋
entering-data.md輸入資料文字欄位、選擇器、步進器、輸入驗證、鍵盤類型、自動填寫
feedback.md反饋警示、動作表、觸覺模式、聲音回饋、視覺指示器
file-management.md檔案管理文件瀏覽器、檔案提供者、iCloud 整合、文件生命週期
going-full-screen.md進入全螢幕全螢幕轉換、沉浸式內容、退出全螢幕
launching.md啟動啟動畫面、狀態還原、冷啟動與熱啟動
live-viewing-apps.md即時觀看應用程式即時內容顯示、即時更新、即時活動、動態島
loading.md載入活動指示器、進度檢視、骨架畫面、延遲載入、佔位符
managing-accounts.md管理帳號透過 Apple 登入、通行密鑰、帳號建立、憑證自動填寫、帳號刪除
managing-notifications.md管理通知權限請求、分組、可操作通知、暫許發送
modality.md模態性工作表、警示、彈出視窗、全螢幕模態、何時使用哪一種
multitasking.md多工iPad 分割顯示、滑動置前、排程管理器、響應式佈局、尺寸類別轉換
offering-help.md提供協助上下文提示、入門提示、說明選單、支援連結
onboarding.md入門引導歡迎畫面、功能亮點、漸進式入門、跳過選項
playing-audio.md播放音訊音訊會話、背景音訊、正在播放、音訊路由、中斷處理
playing-haptics.md播放觸覺Core Haptics、UIFeedbackGenerator、觸覺模式、自訂觸覺
playing-video.md播放影片影片播放器控制項、子母畫面、AirPlay、全螢幕影片
printing.md列印列印對話框、頁面設定、AirPrint 整合
ratings-and-reviews.md評分與評論SKStoreReviewController、時機、頻率限制、應用程式內反饋
searching.md搜尋搜尋列、建議、範圍搜尋、結果顯示、近期項目
settings.md設定應用程式內設定與系統設定應用程式、偏好設定組織、切換開關、預設值
undo-and-redo.md復原與重做搖晃以復原、復原/重做堆疊、多層級復原
workouts.md體能訓練體能訓練會話、即時指標、恆亮顯示、摘要、HealthKit

模式選擇指南

使用者目標推薦模式應避免
首次進入應用程式簡短入門(最多 3 個畫面)+ 漸進式揭露冗長的教學、強制註冊
等待內容骨架畫面或進度指示器無上下文的阻擋式旋轉器
確認破壞性動作支援復原過多的「你確定嗎?」對話框
收集使用者輸入行內驗證、智慧預設、自動填寫針對簡單輸入使用模態表單
請求權限在適當時機,附帶說明的上下文請求在啟動時請求所有權限
提供反饋觸覺回饋 + 視覺指示器無確認的靜默動作
組織偏好設定頻繁項目使用應用程式內設定將所有設定都藏在系統設定應用程式中

輸出格式

  1. 推薦模式及其理由,引用相關的參考文件。
  2. 逐步實作,涵蓋每個畫面或狀態。
  3. 平台差異,針對目標平台。
  4. 常見陷阱,說明此模式中違反 HIG 的情況。

待提問的問題

  1. 此模式在應用程式中的哪個位置出現?之前和之後是什麼?
  2. 支援哪些平台?
  3. 是從頭設計還是改進現有流程?
  4. 是否涉及敏感動作?(破壞性操作、付款、權限)

相關技能

  • hig-foundations -- 每個模式基礎的無障礙、色彩、字體印刷與隱私原則
  • hig-platforms -- 特定平台的模式實作
  • hig-components-layout -- 用於導航模式的結構性元件(分頁列、側邊欄、分割檢視)
  • hig-components-content -- 模式內的內容顯示(圖表、集合、搜尋結果)

由 Raintree Technology 建置 · 更多開發者工具

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

COTA-App/LandingPage

>- 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.

COTA-App/LandingPage

>- 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.

COTA-App/LandingPage

>- 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.

COTA-App/LandingPage

>- Apple Human Interface Guidelines design foundations. Use this skill when the user asks about "HIG color", "Apple typography", "SF Symbols", "dark mode guidelines", "accessible design", "Apple design foundations", "app icon", "layout guidelines", "materials", "motion", "privacy", "right to left", "RTL", "inclusive design", branding, images, spatial layout, or writing style. Also use when the user says "my colors look wrong in dark mode", "what font should I use", "is my app accessible enough", "how do I support Dynamic Type", "what contrast ratio do I need", "how do I pick system colors", or "my icons don't match the system style". Cross-references: hig-platforms for platform-specific guidance, hig-patterns for interaction patterns, hig-components-layout for structural components, hig-components-content for display.

相關技能